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:
- 1e1bd6cfc694372cae4f3db2a7fc012739db95055c754644cc25670d4fcbe8ab
- Size of remote file:
- 17.1 MB
- SHA256:
- 3ca5f734b9407eb910ec87ecf2a0325a7c5c3436836ba12c600b0ce787b8c3a6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.