Downloads · 30 days
19
1% of all-time downloads
kornesh/xlm-roberta-large
xlm-roberta-large is a feature extraction model from kornesh. Use it when you need embeddings to search or compare text. It is set up for transformers.
Downloads · 30 days
19
1% of all-time downloads
All-time downloads
3.1K
Public
Repo size
2.2 GB
Likes
0
Public
Click a slice to open those files.
.h52.2 GB · 99%
From the Hugging Face model README
Converted for Tensorflow
name = "xlm-roberta-large"
!rm -rf local
!git clone https://huggingface.co/kornesh/"$name" local
model = TFAutoModel.from_pretrained(name, from_pt=True)
tokenizer = AutoTokenizer.from_pretrained(name)
model.save_pretrained("local")
tokenizer.save_pretrained("local")
!cd local/ && git lfs install && git add . && git commit -m "Initial commit" && git push