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

Girinath11
/
bharatmorph_indic_crosslingual

Feature Extraction
Transformers
Safetensors
sentence-transformers
bharatmorph_embedding
embeddings
multilingual
indic-languages
cross-lingual-retrieval
phoneme-aware
morpheme-aware
semantic-similarity
custom_code
Model card Files Files and versions
xet
Community

Instructions to use Girinath11/bharatmorph_indic_crosslingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Girinath11/bharatmorph_indic_crosslingual with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="Girinath11/bharatmorph_indic_crosslingual", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Girinath11/bharatmorph_indic_crosslingual", trust_remote_code=True, device_map="auto")
  • sentence-transformers

    How to use Girinath11/bharatmorph_indic_crosslingual with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Girinath11/bharatmorph_indic_crosslingual", trust_remote_code=True)
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
bharatmorph_indic_crosslingual
577 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
Girinath11's picture
Girinath11
Update bharatmorph_embedding.py
7f89308 verified 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    12.2 kB
    Update README.md 4 months ago
  • bharatmorph_embedding.py
    16 kB
    Update bharatmorph_embedding.py 4 months ago
  • config.json
    791 Bytes
    Update config.json 4 months ago
  • model.safetensors
    570 MB
    xet
    Rename model (2).safetensors to model.safetensors 4 months ago
  • model_usage.py
    4.1 kB
    Create model_usage.py 4 months ago
  • tokenizer.json
    7.57 MB
    Rename tokenizer (2).json to tokenizer.json 4 months ago
  • tokenizer_config .json
    537 Bytes
    Rename tokenizer_config (4).json to tokenizer_config .json 4 months ago