Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

HasinMDG
/
XLM_Roberta_Large_IPTC_baseline

Text Classification
sentence-transformers
PyTorch
setfit
xlm-roberta
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use HasinMDG/XLM_Roberta_Large_IPTC_baseline 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_baseline with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("HasinMDG/XLM_Roberta_Large_IPTC_baseline")
    
    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_baseline with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("HasinMDG/XLM_Roberta_Large_IPTC_baseline")
  • Notebooks
  • Google Colab
  • Kaggle
XLM_Roberta_Large_IPTC_baseline
2.26 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
HasinMDG's picture
HasinMDG
Add model
1149448 about 3 years ago
  • 1_Pooling
    Add model about 3 years ago
  • .gitattributes
    1.53 kB
    Add model about 3 years ago
  • README.md
    1.57 kB
    Add model about 3 years ago
  • config.json
    802 Bytes
    Add model about 3 years ago
  • config_sentence_transformers.json
    118 Bytes
    Add model about 3 years ago
  • model_head.pkl
    305 kB
    xet
    Add model about 3 years ago
  • modules.json
    229 Bytes
    Add model about 3 years ago
  • pytorch_model.bin
    2.24 GB
    xet
    Add model about 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Add model about 3 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Add model about 3 years ago
  • special_tokens_map.json
    167 Bytes
    Add model about 3 years ago
  • tokenizer.json
    17.1 MB
    xet
    Add model about 3 years ago
  • tokenizer_config.json
    617 Bytes
    Add model about 3 years ago