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

amorfati
/
custom-hindi-emb-model

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

Instructions to use amorfati/custom-hindi-emb-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use amorfati/custom-hindi-emb-model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("amorfati/custom-hindi-emb-model")
    
    sentences = [
        " Kuldeep Yadav : तो क्या बॉलीवुड एक्ट्रेस से शादी करने जा रहे वर्ल्ड चैंपियन कुलदीप यादव? बोले - जल्द ही खुशखबरी मिलेगी...  ",
        "Shagun Apsagun: पूजा में नारियल का खराब निकलना शुभ या अशुभ? जानें मिलने वाले संकेत",
        "दोस्त की बहन पर आया दिल, प्यार में तोड़ीं धर्म की बेड़ियां, टीम इंडिया के दिग्गज की ऐसी थी लव स्टोरी",
        "WhatsApp पर और भी ज्यादा स्मार्ट होगा Meta AI, एक इशारे पर कर देगा ये काम, चौंका देंगे फायदे"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
custom-hindi-emb-model
503 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
amorfati's picture
amorfati
Add new SentenceTransformer model.
81e2d61 verified about 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. about 2 years ago
  • .gitattributes
    1.62 kB
    Add new SentenceTransformer model. about 2 years ago
  • README.md
    21.4 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
    471 MB
    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
    964 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.42 kB
    Add new SentenceTransformer model. about 2 years ago
  • unigram.json
    14.8 MB
    xet
    Add new SentenceTransformer model. about 2 years ago