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

jina-embeddings-v2-base-de

Date: 2026-11-14Commit: 3f9eedeSigned: 2DC28CC7B26A283B ✓

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

161M params1.77GBjina-embeddings-v2-base-deonnx safetensorspermissive
FactsParams161MSize1.77 GBFormatsonnx, safetensorsTaskfeature extractionLicenseApache-2.0From sourcepermissive
$ fw get jinaai/jina-embeddings-v2-base-de
# manifest sha256 18adc9feea2a… · 1.77 GB · 18 files
$ fw verify ./jina-embeddings-v2-base-de jinaai/jina-embeddings-v2-base-de
From sourceHosted (signed)jinaai/jina-embeddings-v2-base-deLast check: 2026-11-14 21:09 UTC

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

Works with

Evaluate with

Overview

Size
1.77 GB
Weights
322 MB (safetensors)
Parameters
161M
Formats
onnx, safetensors
Task
feature extraction
License
Apache-2.0 (permissive)
Files
18, each with a sha256
Publisher
jinaai
Added
2026-11-14
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-14 21:09 UTCpassed

Model card

From the publisher at commit 3f9eede. 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-de is to use Jina AI's Embedding API.

Intended Usage & Model Info#

jina-embeddings-v2-base-de is a German/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 German-English input without bias. Additionally, we provide the following embedding models:

jina-embeddings-v2-base-de ist ein zweisprachiges Text Embedding Modell für Deutsch und Englisch, welches Texteingaben mit einer Länge von bis zu 8192 Token unterstützt. Es basiert auf der adaptierten Bert-Modell-Architektur JinaBERT, welche mithilfe einer symmetrische Variante von ALiBi längere Eingabetexte erlaubt. Wir haben, das Model für hohe Performance in einsprachigen und cross-lingual Anwendungen entwickelt und speziell darauf trainiert, gemischte deutsch-englische Eingaben ohne einen Bias zu kodieren. Des Weiteren stellen wir folgende Embedding-Modelle bereit:

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 poooling 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-de')
model = AutoModel.from_pretrained('jinaai/jina-embeddings-v2-base-de', trust_remote_code=True, torch_dtype=torch.bfloat16)

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 transformers package.

!pip install transformers
import torch
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-de', trust_remote_code=True, torch_dtype=torch.bfloat16)
embeddings = model.encode(['How is the weather today?', 'Wie ist das Wetter heute?'])
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
)

Using the its latest release (v2.3.0) sentence-transformers also supports Jina embeddings (Please make sure that you are logged into huggingface as well):

!pip install -U sentence-transformers
from sentence_transformers import SentenceTransformer
from sentence_transformers.util import cos_sim

model = SentenceTransformer(
    "jinaai/jina-embeddings-v2-base-de", # switch to en/zh for English or Chinese
    trust_remote_code=True
)

# control your input sequence length up to 8192
model.max_seq_length = 1024

embeddings = model.encode([
    'How is the weather today?',
    'Wie ist das Wetter heute?'
])
print(cos_sim(embeddings[0], embeddings[1]))

Alternatives to Using Transformers Package#

  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.

Benchmark Results#

We evaluated our Bilingual model on all German and English evaluation tasks availble on the MTEB benchmark. In addition, we evaluated the models agains a couple of other German, English, and multilingual models on additional German evaluation tasks:

Image: image

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

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

18 files · 1.77 GBWeights 322 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 18 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
1_Pooling/config.json191 B6401a8eeaeca1f1fe2b1b46be987dcf2ee6085ec73f7d2263318ffc191dd91d3
README.md82.6 KB4cf700a16076d1bd571e6bc1827f6424c7a94694495dff3603ccfb2ee688d3cc
config.json1.18 KB8d4c498741937d1467af5be739dc0fbcc4d033eb1fb93ece4f1c9c6bbdd37ec5
config_sentence_transformers.json117 Bf74e79e5a81393fc7127bb35604607dda8e68e7feeb7ed8cd399fc3b1257c793
de_evaluation_results.png322 KBaac4bb83d867e11dd44e22bc310c1e2f142c16425eb9b684a2bcb1cea691de21
merges.txt589 KB53e71fe16da7432f4bda152986875b2813e2f680a59c6a32d6346f8fc30f837b
model.safetensors322 MB0ffca9240c502ef64a63917baf0e60648a7a438dfd49a4f91ad4d5dab3428cf8
modules.json349 B84e40c8e006c9b1d6c122e02cba9b02458120b5fb0c87b746c41e0207cf642cf
onnx/model.onnx641 MB51654b7441fbfcfef6598b01cbd1ea925ca0f0cad81202fcd36fee325783f1b0
onnx/model_fp16.onnx321 MBe039ce538df36cb7ecee6bb88aacf0699227277be769a8e9adb5da719d23c571
onnx/model_quantized.onnx162 MBb19a38d186594d9784e6a2c8954035a6928b5da1df402e7942d25021cf488b6b
pytorch_model.bin322 MBb7ed0e5f7aa0fbaf70db652dd783b4b8d9da415f6e6e405c91e069d364ad1eed
sentence_bert_config.json99 B7a17ba8cf5532d66e5e102613b7ff22905c2722f6c8c853e6bc02d5ad280cf51
special_tokens_map.json280 B06e405a36dfe4b9604f484f6a1e619af1a7f7d09e34a8555eb0b77b66318067f
tokenizer.json2.63 MB376c53a06d6911569afc19f584002a11dbcd6b871afb6d96b8600eb3c4e7e7a7
tokenizer_config.json1.21 KB99c5e1cf31def1533447759dca2f1c22853d499c0c73e13d9667ae2b5ff1fa0b
vocab.json1.01 MB950db6d11f3338b92d6839317b1dbef27f44e5a9fcd020c369ca23896b197a09
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
3f9eede875 pinned now manifest updated, same commit2026-11-14 21:09 UTC18 files · 1.77 GB
3f9eede8752026-11-14 21:09 UTC18 files · 1.77 GB

Use it

$ fw get jinaai/jina-embeddings-v2-base-de
# manifest sha256 18adc9feea2a… · 1.77 GB · 18 files
$ fw verify ./jina-embeddings-v2-base-de jinaai/jina-embeddings-v2-base-de
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-de.json --dir ./jina-embeddings-v2-base-de $ python3 fw.py verify ./jina-embeddings-v2-base-de ./jinaai__jina-embeddings-v2-base-de.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download jinaai/jina-embeddings-v2-base-de --revision 3f9eede875721714945b6a99a3198299243cf2be --local-dir ./jina-embeddings-v2-base-de
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-de", revision="3f9eede875721714945b6a99a3198299243cf2be") model = AutoModel.from_pretrained("jinaai/jina-embeddings-v2-base-de", revision="3f9eede875721714945b6a99a3198299243cf2be", 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-de", revision="3f9eede875721714945b6a99a3198299243cf2be") 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-14
Text in
README.md
Text sha256
4cf700a16076d1bd571e6bc1827f6424c7a94694495dff3603ccfb2ee688d3cc
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-deDate: 2026-11-14Commit: 3f9eedeSigned: 2DC28CC7B26A283B ✓
Upstream
jinaai/jina-embeddings-v2-base-de
Pinned commit
3f9eede875721714945b6a99a3198299243cf2be
Manifest
jina-embeddings-v2-base-de.json · .minisig
Manifest sha256
18adc9feea2aaf0fa80f944535c2dc369cfb37da9fbbbb1aaaddb4403218c80d
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:09 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/jinaai/jina-embeddings-v2-base-de.json $ curl -O https://freeweights.allternit.com/manifests/jinaai/jina-embeddings-v2-base-de.json.minisig $ minisign -Vm jina-embeddings-v2-base-de.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-de
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-de.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