nomic-ai/nomic-embed-code
sentence-similarity model by nomic-ai
From the publisher
Model card & documentation
Source previewRead the publisher’s intended use, setup instructions, evaluations and limitations. The original model card is the source of truth.
Blog | Technical Report | AWS SageMaker | Atlas Embedding and Unstructured Data Analytics Platform nomic-embed-code is a state-of-the-art code embedding model that excels at code retrieval tasks: You can install the necessary dependencies with: Starting with the deduplicated Stackv2, we create text-code pairs from function docstrings and respective code. We filtered out low-quality pairs where the docstring wasn't English, too short, or that contained URLs, HTML tags, or invalid characters. We additionally kept docstrings with text lengths of 256 tokens or longer to help the model learn long-range dependencies. After the initial filtering, we used dual-consistency filtering to remove potentially noisy examples. We embed each docstring and code pair and compute the similarity between each…
Read the full model card ↗ · Preview checked 2026-10-31T07:10:28.342Z
Inside the original model card — Document outline
- Nomic Embed Code: A State-of-the-Art Code Retriever
- Model Architecture
- Usage Guide
- Installation
- Transformers
- SentenceTransformers
- CoRNStack Dataset Curation
- Join the Nomic Community
- Citation
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the model card
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. Reported project/model license: apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
Model overview
nomic-ai/nomic-embed-code is a sentence-similarity model repository published by nomic-ai on Hugging Face. The source reports the sentence-transformers library.
This page summarizes Hub metadata. For intended use, training data, evaluation results and limitations, consult the original model card.
Model facts
- Task
- sentence-similarity
- Library
- sentence-transformers
- Recent downloads (30 days)
- 346,867
- Cumulative likes
- 124
- Hugging Face trending score
- 0
- Reported safetensors parameters
- 7,070,619,136
- Architecture
- Qwen2Model
- License
- apache-2.0
- Access
- Not gated by Hugging Face
- Created
- 2025-03-24T15:31:52.000Z
- Last modified
- 2025-03-31T18:41:14.000Z
Compatibility and lineage
Language coverage was not reported.
Reported base models: Qwen/Qwen2.5-Coder-7B-Instruct
Parameter count is not a RAM/VRAM requirement. Check precision, quantization, context length and runtime compatibility in the model card; no hardware or API-cost claim is inferred here.
Use and evaluate
Check license terms and access requirements first. Review the model card’s documented loading instructions, evaluations and safety limitations. Benchmark scores are not imported by this directory, and popularity is not an accuracy ranking.
No model weights are downloaded or executed by AltAPIs. Never enable remote model code without reviewing it.
Source and freshness
Source: Hugging Face Hub. Metadata observed 2026-11-01T06:54:31.802Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.
Related models
sentence-transformers/all-MiniLM-L6-v2
sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
sentence-transformers/all-mpnet-base-v2