Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

BeToast
/
xml_xnli__inclusiveORexclusive__binary_classification__frenchANDenglish

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

Instructions to use BeToast/xml_xnli__inclusiveORexclusive__binary_classification__frenchANDenglish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use BeToast/xml_xnli__inclusiveORexclusive__binary_classification__frenchANDenglish with sentence-transformers:

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

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("BeToast/xml_xnli__inclusiveORexclusive__binary_classification__frenchANDenglish")
  • Notebooks
  • Google Colab
  • Kaggle
xml_xnli__inclusiveORexclusive__binary_classification__frenchANDenglish
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
BeToast's picture
BeToast
Update README.md
e440ebe about 3 years ago
  • 1_Pooling
    Upload with huggingface_hub about 3 years ago
  • .gitattributes
    1.53 kB
    Upload with huggingface_hub about 3 years ago
  • README.md
    1.36 kB
    Update README.md about 3 years ago
  • config.json
    1.02 kB
    Upload with huggingface_hub about 3 years ago
  • config_sentence_transformers.json
    124 Bytes
    Upload with huggingface_hub about 3 years ago
  • model_head.pkl
    6.93 kB
    xet
    Upload with huggingface_hub about 3 years ago
  • modules.json
    229 Bytes
    Upload with huggingface_hub about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.LongStorage",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict"

    What is a pickle import?

    1.11 GB
    xet
    Upload with huggingface_hub about 3 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload with huggingface_hub about 3 years ago
  • special_tokens_map.json
    280 Bytes
    Upload with huggingface_hub about 3 years ago
  • tokenizer.json
    17.1 MB
    xet
    Upload with huggingface_hub about 3 years ago
  • tokenizer_config.json
    467 Bytes
    Upload with huggingface_hub about 3 years ago