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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Stern5497
/
nir-2024-xlm-roberta-base

Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dataset_size:100K<n<1M
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Stern5497/nir-2024-xlm-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Stern5497/nir-2024-xlm-roberta-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Stern5497/nir-2024-xlm-roberta-base")
    
    sentences = [
        "who did ezra play for in the nfl",
        "how many all nba first teams does kobe have",
        "who does the voice of the little mermaid",
        "dont come around here no more video director"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
nir-2024-xlm-roberta-base
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Stern5497's picture
Stern5497
Add new SentenceTransformer model.
fa09db7 verified about 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. about 2 years ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model. about 2 years ago
  • README.md
    19 kB
    Add new SentenceTransformer model. about 2 years ago
  • config.json
    701 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • model.safetensors
    1.11 GB
    xet
    Add new SentenceTransformer model. about 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • special_tokens_map.json
    280 Bytes
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model. about 2 years ago
  • tokenizer_config.json
    1.15 kB
    Add new SentenceTransformer model. about 2 years ago