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

AkshitaS
/
bhasha-embed-v0

Sentence Similarity
sentence-transformers
Safetensors
English
Hindi
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use AkshitaS/bhasha-embed-v0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use AkshitaS/bhasha-embed-v0 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AkshitaS/bhasha-embed-v0")
    
    sentences = [
        "प्रणव ने कानून की पढ़ाई की और ३० की उम्र में राजनीति से जुड़ गए",
        "प्रणव ने कानून की पढ़ाई की और ३० की उम्र में राजनीति से जुड़ गए",
        "Pranav studied law and became a politician at the age of 30.",
        "Pranav ne kanoon ki padhai kari aur 30 ki umar mein rajneeti se jud gaye.",
        "Pranav ne law ki padhai kari aur 30 ki umar mein politics se jud gaye.",
        "प्रणव का जन्म राजनीतिज्ञों के परिवार में हुआ था",
        "Pranav was born in a family of politicians",
        "Pranav ka janm rajneetigyon ke parivar mein hua tha",
        "Pranav ka janm politicians ki family mein hua tha"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [9, 9]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bhasha-embed-v0
962 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 32 commits
AkshitaS's picture
AkshitaS
Update README.md
64b330f verified about 2 years ago
  • 1_Pooling
    Upload folder using huggingface_hub about 2 years ago
  • assets
    Upload results_model_legend.png about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    8.56 kB
    Update README.md about 2 years ago
  • config.json
    673 Bytes
    Upload folder using huggingface_hub about 2 years ago
  • config_sentence_transformers.json
    206 Bytes
    Upload folder using huggingface_hub about 2 years ago
  • model.safetensors
    950 MB
    xet
    Upload folder using huggingface_hub about 2 years ago
  • modules.json
    229 Bytes
    Upload folder using huggingface_hub about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload folder using huggingface_hub about 2 years ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub about 2 years ago
  • tokenizer.json
    6.41 MB
    Upload folder using huggingface_hub about 2 years ago
  • tokenizer_config.json
    1.49 kB
    Upload folder using huggingface_hub about 2 years ago
  • vocab.txt
    3.16 MB
    Upload folder using huggingface_hub about 2 years ago