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

ncorder
/
llama-embed-nemotron-8b-mlx-2bit

Feature Extraction
MLX
Safetensors
sentence-transformers
English
multilingual
llama_bidirec
embedding
retrieval
custom_code
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use ncorder/llama-embed-nemotron-8b-mlx-2bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use ncorder/llama-embed-nemotron-8b-mlx-2bit with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    huggingface-cli download --local-dir llama-embed-nemotron-8b-mlx-2bit ncorder/llama-embed-nemotron-8b-mlx-2bit
  • sentence-transformers

    How to use ncorder/llama-embed-nemotron-8b-mlx-2bit with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("ncorder/llama-embed-nemotron-8b-mlx-2bit", 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
  • Local Apps Settings
  • LM Studio
llama-embed-nemotron-8b-mlx-2bit
2.36 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ncorder's picture
ncorder
Upload README.md with huggingface_hub
7e6de43 verified 3 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 3 months ago
  • README.md
    3.41 kB
    Upload README.md with huggingface_hub 3 months ago
  • config.json
    1.27 kB
    Upload folder using huggingface_hub 3 months ago
  • config_sentence_transformers.json
    362 Bytes
    Upload folder using huggingface_hub 3 months ago
  • llama_bidirectional_model.py
    1.78 kB
    Upload folder using huggingface_hub 3 months ago
  • model.safetensors
    2.35 GB
    xet
    Upload folder using huggingface_hub 3 months ago
  • model.safetensors.index.json
    22.2 kB
    Upload folder using huggingface_hub 3 months ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub 3 months ago
  • sentence_bert_config.json
    60 Bytes
    Upload folder using huggingface_hub 3 months ago
  • special_tokens_map.json
    449 Bytes
    Upload folder using huggingface_hub 3 months ago
  • tokenizer.json
    17.2 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • tokenizer_config.json
    50.6 kB
    Upload folder using huggingface_hub 3 months ago