User:Test123/test: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 1: Line 1:
<tabber>
==Hugging Face Transformers Library==
|-|HTTPS=
<pre>
<pre>
#Be sure to have git-lfs installed (https://git-lfs.com)
from transformers import AutoModel
git lfs install
 
git clone https://huggingface.co/SZTAKI-HLT/hubert-base-cc
model = AutoModel.from_pretrained("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>
</pre>
==Deployment==
===Inference API===
<tabber>
</tabber>
</tabber>