Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

altslate
/
indic-embed-small

Sentence Similarity
sentence-transformers
ONNX
Safetensors
Transformers.js
modernbert
feature-extraction
embeddings
romanized
transliteration
hinglish
code-mixing
indic
india
cross-lingual
distillation
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use altslate/indic-embed-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use altslate/indic-embed-small with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("altslate/indic-embed-small")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers.js

    How to use altslate/indic-embed-small with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('feature-extraction', 'altslate/indic-embed-small');
  • Notebooks
  • Google Colab
  • Kaggle
indic-embed-small / onnx
846 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
rajpdus's picture
rajpdus
indic-embed-small v2 (embed-v5b: + SNLI English sentences)
f8207bb verified about 14 hours ago
  • model.onnx
    564 MB
    xet
    indic-embed-small v2 (embed-v5b: + SNLI English sentences) about 14 hours ago
  • model_fp16.onnx
    282 MB
    xet
    indic-embed-small v2 (embed-v5b: + SNLI English sentences) about 14 hours ago