alt.freeweights.embed / jina-embeddings-v2-base-es
From: jinaai <huggingface.co/jinaai>Newsgroups: alt.freeweights.embedSubject:

jina-embeddings-v2-base-es

Date: 2026-11-15Commit: 8e2d780Signed: 2DC28CC7B26A283B ✓

Feature extraction model with 161M parameters. Onnx and safetensors weights, 1.45 GB in all. Published by jinaai under Apache-2.0.

161M params1.45GBjina-embeddings-v2-base-esonnx safetensorspermissive
FactsParams161MSize1.45 GBFormatsonnx, safetensorsTaskfeature extractionLicenseApache-2.0From sourcepermissive
$ fw get jinaai/jina-embeddings-v2-base-es
# manifest sha256 401141bcdaed… · 1.45 GB · 17 files
$ fw verify ./jina-embeddings-v2-base-es jinaai/jina-embeddings-v2-base-es
From sourceHosted (signed)jinaai/jina-embeddings-v2-base-esLast check: 2026-11-15 02:46 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Evaluate with

Overview

Size
1.45 GB
Weights
322 MB (safetensors)
Parameters
161M
Formats
onnx, safetensors
Task
feature extraction
License
Apache-2.0 (permissive)
Files
17, each with a sha256
Publisher
jinaai
Added
2026-11-15
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:46 UTCpassed

Model card

From the publisher at commit 8e2d780. Shown as plain text with links; images open at the publisher.

Image: Jina AI: Your Search Foundation, Supercharged!

The text embedding set trained by Jina AI.

Quick Start#

The easiest way to starting using jina-embeddings-v2-base-es is to use Jina AI's Embedding API.

Intended Usage & Model Info#

jina-embeddings-v2-base-es is a Spanish/English bilingual text embedding model supporting 8192 sequence length. It is based on a BERT architecture (JinaBERT) that supports the symmetric bidirectional variant of ALiBi to allow longer sequence length. We have designed it for high performance in mono-lingual & cross-lingual applications and trained it specifically to support mixed Spanish-English input without bias. Additionally, we provide the following embedding models:

jina-embeddings-v2-base-es es un modelo (embedding) de texto bilingüe Inglés/Español que admite una longitud de secuencia de 8192. Se basa en la arquitectura BERT (JinaBERT) que incorpora la variante bi-direccional simétrica de ALiBi para permitir una mayor longitud de secuencia. Hemos diseñado este modelo para un alto rendimiento en aplicaciones monolingües y bilingües, y está entrenando específicamente para admitir entradas mixtas de español e inglés sin sesgo. Adicionalmente, proporcionamos los siguientes modelos (embeddings):

Data & Parameters#

The data and training details are described in this technical report

Usage#

**Please apply mean pooling when integrating the model.

**

Why mean pooling?#

mean pooling takes all token embeddings from model output and averaging them at sentence/paragraph level. It has been proved to be the most effective way to produce high-quality sentence embeddings. We offer an encode function to deal with this.

However, if you would like to do it without using the default encode function:

import torch
import torch.nn.functional as F
from transformers import AutoTokenizer, AutoModel

def mean_pooling(model_output, attention_mask):
    token_embeddings = model_output[0]
    input_mask_expanded = attention_mask.unsqueeze(-1).expand(token_embeddings.size()).float()
    return torch.sum(token_embeddings * input_mask_expanded, 1) / torch.clamp(input_mask_expanded.sum(1), min=1e-9)

sentences = ['How is the weather today?', 'What is the current weather like today?']

tokenizer = AutoTokenizer.from_pretrained('jinaai/jina-embeddings-v2-base-es')
model = AutoModel.from_pretrained('jinaai/jina-embeddings-v2-base-es', trust_remote_code=True)

encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')

with torch.no_grad():
    model_output = model(**encoded_input)

embeddings = mean_pooling(model_output, encoded_input['attention_mask'])
embeddings = F.normalize(embeddings, p=2, dim=1)

You can use Jina Embedding models directly from the transformers package:

!pip install transformers
from transformers import AutoModel
from numpy.linalg import norm

cos_sim = lambda a,b: (a @ b.T) / (norm(a)*norm(b))
model = AutoModel.from_pretrained('jinaai/jina-embeddings-v2-base-es', trust_remote_code=True) # trust_remote_code is needed to use the encode method
embeddings = model.encode(['How is the weather today?', '¿Qué tiempo hace hoy?'])
print(cos_sim(embeddings[0], embeddings[1]))

If you only want to handle shorter sequence, such as 2k, pass the max_length parameter to the encode function:

embeddings = model.encode(
    ['Very long ... document'],
    max_length=2048
)

Or you can use the model with the sentence-transformers package:

from sentence_transformers import SentenceTransformer, util

model = SentenceTransformer("jinaai/jina-embeddings-v2-base-es", trust_remote_code=True)
embeddings = model.encode(['How is the weather today?', '¿Qué tiempo hace hoy?'])
print(util.cos_sim(embeddings[0], embeddings[1]))

And if you only want to handle shorter sequence, such as 2k, then you can set the model.max_seq_length

model.max_seq_length = 2048

Alternatives to Transformers and Sentence Transformers#

  1. Managed SaaS: Get started with a free key on Jina AI's Embedding API.
  2. Private and high-performance deployment: Get started by picking from our suite of models and deploy them on AWS Sagemaker.

Use Jina Embeddings for RAG#

According to the latest blog post from LLamaIndex,

In summary, to achieve the peak performance in both hit rate and MRR, the combination of OpenAI or JinaAI-Base embeddings with the CohereRerank/bge-reranker-large reranker stands out.

Image: image

Plans#

  1. Bilingual embedding models supporting more European & Asian languages, including French, Italian and Japanese.
  2. Multimodal embedding models enable Multimodal RAG applications.
  3. High-performt rerankers.

Contact#

Join our Discord community and chat with other community members about ideas.

Citation#

If you find Jina Embeddings useful in your research, please cite the following paper:

@article{mohr2024multi,
  title={Multi-Task Contrastive Learning for 8192-Token Bilingual Text Embeddings},
  author={Mohr, Isabelle and Krimmel, Markus and Sturua, Saba and Akram, Mohammad Kalim and Koukounas, Andreas and G{\"u}nther, Michael and Mastrapas, Georgios and Ravishankar, Vinit and Mart{\'\i}nez, Joan Fontanals and Wang, Feng and others},
  journal={arXiv preprint arXiv:2402.17016},
  year={2024}
}

Files

17 files · 1.45 GBWeights 322 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 17 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
1_Pooling/config.json191 B6401a8eeaeca1f1fe2b1b46be987dcf2ee6085ec73f7d2263318ffc191dd91d3
README.md83.6 KB8c79064ec968e34a706ccd21bedea26c2bab358922d4d1aafa7912d44e80a6ee
config.json1.50 KB1b01dc4ac97fcc8d2fa9ee5d7661a4a70394ac7b8f355f1f0871bbc0f23af009
generation_config.json90 B5d26062fe622c96e8abb50c3ebc4f852afb23058f50fe553df096b0372634962
merges.txt592 KBfa3d726274ba9284f7248c0c17d8e8cdbe11a89ecc1b3a9db89ce131783702af
model.safetensors322 MB90bab6e4d22bb758695dc375f085ce53d1b4439e1691e515d8d55a9431d7aab5
modules.json349 B84e40c8e006c9b1d6c122e02cba9b02458120b5fb0c87b746c41e0207cf642cf
onnx/model.onnx641 MB91ee34079986442ab722cbbf362f4de59431185eef8b291a4f9eb13a935f2e06
onnx/model_quantized.onnx162 MB5af68309317d5a7a5b63bf1c4e336dc8bd9a9104e8d16eebeb12499f33cb463c
onnx/quantize_config.json833 B2c95a1416671e4d87c6f905b28826d4c885697820132e6b79ebb3a00391f5ade
pytorch_model.bin322 MB69dbd160e37c11a311051ff134686ea61fde4d340b957562d0b3fd0efa70fa09
sentence_bert_config.json99 B7a17ba8cf5532d66e5e102613b7ff22905c2722f6c8c853e6bc02d5ad280cf51
special_tokens_map.json958 Bf23c8e6099631c233c16d9bf8dab198f610826cdd1b358f270f6d55c1863e857
tokenizer.json2.64 MB5cd8fa360a99a895a4afce83d98131bb74ec2e957ed238f6cdd6107358ca25dc
tokenizer_config.json1.21 KB99c5e1cf31def1533447759dca2f1c22853d499c0c73e13d9667ae2b5ff1fa0b
vocab.json1.01 MB383055ba17b801d2000119157db143ab57dccfa08ea3575179657efa627ce9e8
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
8e2d780d8f pinned now2026-11-15 02:46 UTC17 files · 1.45 GB

Use it

$ fw get jinaai/jina-embeddings-v2-base-es
# manifest sha256 401141bcdaed… · 1.45 GB · 17 files
$ fw verify ./jina-embeddings-v2-base-es jinaai/jina-embeddings-v2-base-es
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/jinaai/jina-embeddings-v2-base-es.json --dir ./jina-embeddings-v2-base-es $ python3 fw.py verify ./jina-embeddings-v2-base-es ./jinaai__jina-embeddings-v2-base-es.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download jinaai/jina-embeddings-v2-base-es --revision 8e2d780d8fd38f81ca9123ee28e4c5a968aaf21e --local-dir ./jina-embeddings-v2-base-es
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModel, AutoTokenizer tok = AutoTokenizer.from_pretrained("jinaai/jina-embeddings-v2-base-es", revision="8e2d780d8fd38f81ca9123ee28e4c5a968aaf21e") model = AutoModel.from_pretrained("jinaai/jina-embeddings-v2-base-es", revision="8e2d780d8fd38f81ca9123ee28e4c5a968aaf21e", device_map="auto")
sentence-transformersEmbed text with sentence-transformers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from sentence_transformers import SentenceTransformer model = SentenceTransformer("jinaai/jina-embeddings-v2-base-es", revision="8e2d780d8fd38f81ca9123ee28e4c5a968aaf21e") vectors = model.encode(["Hello"])

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
8c79064ec968e34a706ccd21bedea26c2bab358922d4d1aafa7912d44e80a6ee
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: jinaai <huggingface.co/jinaai>Newsgroups: alt.freeweights.embedSubject: jina-embeddings-v2-base-esDate: 2026-11-15Commit: 8e2d780Signed: 2DC28CC7B26A283B ✓
Upstream
jinaai/jina-embeddings-v2-base-es
Pinned commit
8e2d780d8fd38f81ca9123ee28e4c5a968aaf21e
Manifest
jina-embeddings-v2-base-es.json · .minisig
Manifest sha256
401141bcdaed97d59882d060c3a45a3cbb794f4e73c1e02e61ac5ca0c83a0cca
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:46 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/jinaai/jina-embeddings-v2-base-es.json $ curl -O https://freeweights.allternit.com/manifests/jinaai/jina-embeddings-v2-base-es.json.minisig $ minisign -Vm jina-embeddings-v2-base-es.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download jinaai/jina-embeddings-v2-base-es
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. jina-embeddings-v2-base-es.json. Provenance. Takedown history: none.
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-MiniLM-L6-v1
From: unsloth <huggingface.co/unsloth>Subject: all-MiniLM-L6-v2
From: mlx-community <huggingface.co/mlx-community>Subject: all-MiniLM-L6-v2-4bit
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-mpnet-base-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: allenai-specter
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: bert-base-nli-max-tokens