Instructions to use HasinMDG/XLM_Roberta_Large_IPTC_Classifier_V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use HasinMDG/XLM_Roberta_Large_IPTC_Classifier_V2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("HasinMDG/XLM_Roberta_Large_IPTC_Classifier_V2") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - setfit
How to use HasinMDG/XLM_Roberta_Large_IPTC_Classifier_V2 with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("HasinMDG/XLM_Roberta_Large_IPTC_Classifier_V2") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- c33d5ba1af8e4b591f48ef9062f0a1b547bc0465a7f37aec127f21dfe9376308
- Size of remote file:
- 527 kB
- SHA256:
- c3cfb14f9ac934d9f7d4d213a6725ce2cc265a5baa1d8e3675695bdf6dfb6d3e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.