Voyage code 2
voyage-code-2 is an embedding model optimized for semantic code retrieval. It supports a 16,000-token context window and produces 1536-dimensional vector embeddings. Trained on large-scale code datasets using advanced loss functions and contrastive learning, it outperforms competing models on code retrieval benchmarks and also improves on general-purpose text retrieval tasks.
- Type
- Coding
- Weights
- Closed
- Likes
- 5
- License
- mit
Model hub
voyageai/voyage-code-2
- Repo
- voyageai/voyage-code-2
- Access
- Public
More from Voyage AI
14
-
Rerank 2 lite
Text
rerank-2-lite is a lightweight multilingual cross-encoder reranker from Voyage AI. It scores and reorders can…
-
rerank 2.5
Text
A reranking model that reorders search results to improve retrieval accuracy, with instruction-following capa…
-
Rerank 2.5 lite
Text
A latency-optimized reranker that refines retrieval results with instruction-following capabilities. Supports…
-
Voyage
Text
voyage is a text embedding model that converts text into dense vector representations for semantic retrieval.…
-
Voyage 01
Text
voyage-01 is a text embedding model by Voyage AI, designed for retrieval-augmented generation (RAG) and seman…
-
Voyage 3 large
Text
Text embedding model optimized for general-purpose and multilingual retrieval across law, finance, code, and…
-
Voyage 3 lite
Text
Lightweight general-purpose text embedding model optimized for latency and cost. Generates 512-dimensional ve…
-
Voyage 4
Text
Text embedding model optimized for general-purpose and multilingual retrieval quality. Supports a 32,000-toke…
Pricing
1
About Voyage AI
1
Voyage AI provides best-in-class embedding models and rerankers for search and retrieval over unstructured data, used to power retrieval-augmented generation (RAG) and AI applications. It offers general-purpose, domain-specific (finance, legal, code) and company-specific fine-tuned models. Founded in 2023 and based in Palo Alto, the company was acquired by MongoDB, Inc. in February 2025 and now operates as a MongoDB subsidiary.