#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
User:Test123/test: Difference between revisions
(Replaced content with "<tabber> |-|First Tab Title= First tab content goes here. |-|Second Tab Title= Second tab content goes here. |-|Third Tab Title= Third tab content goes here. </tabber>") Tag: Replaced |
No edit summary |
||
Line 1: | Line 1: | ||
<tabber> | <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== | |||
<pre> | |||
from transformers import AutoModel | |||
model = AutoModel.from_pretrained("SZTAKI-HLT/hubert-base-cc") | |||
</pre> | |||
==Deployment== | |||
===Inference API=== | |||
<tabber> | |||
</tabber> | </tabber> |
Revision as of 10:46, 18 May 2023
#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
Hugging Face Transformers Library
from transformers import AutoModel model = AutoModel.from_pretrained("SZTAKI-HLT/hubert-base-cc")