User:Test123/test: Difference between revisions

From AI Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<tabber>
|-|HTTPS=
<pre>
#Be sure to have git-lfs installed (https://git-lfs.com)
git lfs install
git clone https://huggingface.co/SZTAKI-HLT/hubert-base-cc
 
#To clone the repo without large files – just their pointers
#prepend git clone with the following env var:
GIT_LFS_SKIP_SMUDGE=1
</pre>
 
|-|SSH=
<pre>
#Be sure to have git-lfs installed (https://git-lfs.com)
git lfs install
git clone [email protected]:SZTAKI-HLT/hubert-base-cc
 
#To clone the repo without large files – just their pointers
#prepend git clone with the following env var:
GIT_LFS_SKIP_SMUDGE=1
</pre>
</tabber>
==Hugging Face Transformers Library==
==Hugging Face Transformers Library==
<pre>
<pre>

Latest revision as of 10:47, 18 May 2023

Hugging Face Transformers Library

from transformers import AutoModel

model = AutoModel.from_pretrained("SZTAKI-HLT/hubert-base-cc")

Deployment

Inference API