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

agentlans
/
distilbert-base-multilingual-cased-aligned

Sentence Similarity
sentence-transformers
Safetensors
distilbert
feature-extraction
Generated from Trainer
dataset_size:867042
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use agentlans/distilbert-base-multilingual-cased-aligned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use agentlans/distilbert-base-multilingual-cased-aligned with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("agentlans/distilbert-base-multilingual-cased-aligned")
    
    sentences = [
        "Even children can understand it.",
        "मी सगळीकडे छापले. मी लिहिले आणि सर्व काही मोजले. आणि नऊ महिन्यामध्ये मुले कोणत्याही भाषेतला संगणकासोबत मोकळे सोडल्यावर पश्चिम देशातील कार्यालातील सेक्रेटरीएवढ्या पातळीवर येऊ शकतो",
        "Anslået bliver 5000 kvinder om året dræbt som følge af domestisk vold, mens tusindvis overlever med varige mén.",
        "इस बात को बच्चे भी समझते हैं।"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-base-multilingual-cased-aligned
543 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
agentlans's picture
agentlans
Upload 11 files
9280936 verified over 1 year ago
  • 1_Pooling
    Upload 11 files over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    21 kB
    Upload 11 files over 1 year ago
  • config.json
    592 Bytes
    Upload 11 files over 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Upload 11 files over 1 year ago
  • model.safetensors
    539 MB
    xet
    Upload 11 files over 1 year ago
  • modules.json
    229 Bytes
    Upload 11 files over 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Upload 11 files over 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload 11 files over 1 year ago
  • tokenizer.json
    2.92 MB
    Upload 11 files over 1 year ago
  • tokenizer_config.json
    1.2 kB
    Upload 11 files over 1 year ago
  • vocab.txt
    996 kB
    Upload 11 files over 1 year ago