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

sarthak1
/
Qodo-Embed-M-1-1.5B-M2V-Distilled

Feature Extraction
Model2Vec
Safetensors
sentence-transformers
Transformers
sentence-similarity
Qwen2
Model card Files Files and versions
xet
Community

Instructions to use sarthak1/Qodo-Embed-M-1-1.5B-M2V-Distilled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Model2Vec

    How to use sarthak1/Qodo-Embed-M-1-1.5B-M2V-Distilled with Model2Vec:

    from model2vec import StaticModel
    
    model = StaticModel.from_pretrained("sarthak1/Qodo-Embed-M-1-1.5B-M2V-Distilled")
  • sentence-transformers

    How to use sarthak1/Qodo-Embed-M-1-1.5B-M2V-Distilled with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sarthak1/Qodo-Embed-M-1-1.5B-M2V-Distilled")
    
    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]
  • Transformers

    How to use sarthak1/Qodo-Embed-M-1-1.5B-M2V-Distilled with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="sarthak1/Qodo-Embed-M-1-1.5B-M2V-Distilled")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("sarthak1/Qodo-Embed-M-1-1.5B-M2V-Distilled", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Qodo-Embed-M-1-1.5B-M2V-Distilled
245 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
Sarthak
chore: updated deps, fixed type issues, regenarted model
da50219 about 1 year ago
  • evaluation
    chore: updated deps, fixed type issues, regenarted model about 1 year ago
  • .gitattributes
    1.64 kB
    Upload folder using huggingface_hub over 1 year ago
  • .gitignore
    141 Bytes
    chore: updated deps, fixed type issues, regenarted model about 1 year ago
  • .python-version
    5 Bytes
    initial commit about 1 year ago
  • LICENSE
    17 kB
    Upload folder using huggingface_hub over 1 year ago
  • README.md
    5.4 kB
    chore: updated deps, fixed type issues, regenarted model about 1 year ago
  • config.json
    283 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • distill.py
    3.8 kB
    chore: updated deps, fixed type issues, regenarted model about 1 year ago
  • evaluate.py
    15.2 kB
    chore: updated deps, fixed type issues, regenarted model about 1 year ago
  • example.py
    11.2 kB
    chore: updated deps, fixed type issues, regenarted model about 1 year ago
  • model.safetensors
    233 MB
    xet
    Upload folder using huggingface_hub over 1 year ago
  • modules.json
    278 Bytes
    Upload folder using huggingface_hub over 1 year ago
  • pyproject.toml
    2.41 kB
    chore: updated deps, fixed type issues, regenarted model about 1 year ago
  • tokenizer.json
    11.4 MB
    xet
    Upload folder using huggingface_hub over 1 year ago
  • uv.lock
    149 kB
    chore: updated deps, fixed type issues, regenarted model about 1 year ago