jinaai/jina-embeddings-v2-base-code

feature-extraction model by jinaai

Open original source ↗

From the publisher

Model card & documentation

Source preview

Read the publisher’s intended use, setup instructions, evaluations and limitations. The original model card is the source of truth.

The text embedding set trained by Jina AI. The easiest way to starting using jina-embeddings-v2-base-code is to use Jina AI's Embedding API. jina-embeddings-v2-base-code is an multilingual embedding model speaks English and 30 widely used programming languages. Same as other jina-embeddings-v2 series, it supports 8192 sequence length. jina-embeddings-v2-base-code is based on a Bert architecture (JinaBert) that supports the symmetric bidirectional variant of ALiBi to allow longer sequence length. The backbone jina-bert-v2-base-code is pretrained on the github-code dataset. The model is further trained on Jina AI's collection of more than 150 millions of coding question answer and docstring source code pairs. These pairs were obtained from various domains and were carefully selected through a thorough cleaning process. The embedding model was trained using 512 sequence length, but extrapolates to 8k sequence length (or even longer) thanks to ALiBi. This makes our model useful for a range of use cases, especially when processing…

jinaai/jina-embeddings-v2-base-code on Hugging Face A short preview, not the full document.

Read the full model card ↗ · Preview checked 2026-10-31T20:24:29.919Z

Inside the original model card — Document outline
  1. Quick Start
  2. Intended Usage & Model Info
  3. Data & Parameters
  4. Usage
  5. Why mean pooling?
  6. Plans
  7. Contact

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

jinaai/jina-embeddings-v2-base-code is a feature-extraction model repository published by jinaai 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
feature-extraction
Library
sentence-transformers
Recent downloads (30 days)
163,268
Cumulative likes
146
Hugging Face trending score
0
Reported safetensors parameters
160,869,120
Architecture
JinaBertForMaskedLM
License
apache-2.0
Access
Not gated by Hugging Face
Created
2023-11-17T20:24:31.000Z
Last modified
2025-01-06T16:28:09.000Z

Compatibility and lineage

Reported languages: en

Base-model lineage was not included.

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.

Model card and usage instructions

Model files and configuration

Community discussion

Source and freshness

Source: Hugging Face Hub. Metadata observed 2026-11-01T06:54:29.511Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related models

BAAI/bge-small-en-v1.5

BAAI/bge-large-en-v1.5

Qwen/Qwen3-Embedding-0.6B

BAAI/bge-base-en-v1.5

ibm-granite/granite-embedding-small-english-r2

intfloat/multilingual-e5-large