BGE-M3 embeddings for RAG over long documents
BGE-M3 for RAG over long documents: 1024 dimensions, up to 8,192 tokens, 100+ languages, no prefix needed. MIT license.
| Modello | BAAI/bge-m3 |
|---|---|
| Dimensioni | 1024 |
| Token max | 8,2K |
| Distanza | cosine |
| Lingue | en, es, fr, de, it, pt, zh, ja |
| Dimensione dei chunk | 1000 |
Note
No prefix needed for queries or passages. Handles long inputs (8,192 tokens): chunks of about 1,000 words work well. The model can also produce sparse vectors (keyword search) with the FlagEmbedding library. Published by BAAI under the MIT license.
Costo stimato
Token di input per chiamata : ≈ 225
| Modello | Per chiamata | Per 1.000 chiamate |
|---|---|---|
| Mistral Large · Mistral AI | 0,00010 € | 0,10 € |
| DeepSeek Flash · DeepSeek | 0,00006 € | 0,06 € |
| DeepSeek V4 Pro · DeepSeek | 0,00026 € | 0,26 € |
| GPT-6 Luna · OpenAI | 0,00002 € | 0,02 € |
| GPT-6 Sol · OpenAI | 0,00040 € | 0,40 € |
| Claude Sonnet 5.5 · Anthropic | 0,00040 € | 0,40 € |
| Claude Opus 5.5 · Anthropic | 0,00079 € | 0,79 € |
| Modello open source self-hosted (Ollama, vLLM) | 0 € di API (solo costo del server) | |
Solo costo di input, esclusa la risposta del modello. Prezzi pubblici standard dei fornitori (Mistral AI, DeepSeek, OpenAI, Anthropic) convertiti da USD in euro al cambio BCE del 29 settembre 2026. Stima: 1 token ≈ 3,6 caratteri.
Common to all 3 regions
Sources under a compatible licence.
Sources : BAAI/bge-m3 model, MIT license (Hugging Face model card)
Commercial use allowed · credit the author · changes allowed.
Text or data only: no access to files, network or commands.
Hosted in France (Scaleway, Paris). No transfer outside the EU.
European Union · 5/5
No personal data.
No training data: no summary required.
United States · 5/5
No personal data.
No training data: no documentation to publish.
China · 5/5
No personal data.
No training data; AI-generated content published in China must be labelled (2025).
Indicative summary as of 30/09/2026, not a legal certification. Method and sources →
Statistiche
Mi piace : 0 · Commenti : 0
Clicca su un contatore per mostrarlo o nasconderlo; passa sul grafico per i dettagli. Una visualizzazione per visitatore al giorno, bot esclusi; conteggio iniziato il 30 settembre 2026.
- Identificativo
- contextetech--bge-m3-long-documents
- Tipo
- Embedding
- File
- bge-m3-long-documents.embedding.json
- Formato
- JSON (application/json)
- Dimensione
- 629 byte
- Codifica
- UTF-8
- Token stimati
- ≈ 175
- Lingua
- Inglese
- Licenza
- MIT
- Uso commerciale
- Consentito
- Dati personali
- Nessuno
- Versione
- 1.0
- Pubblicato il
- 2 ottobre 2026 alle ore 21:54
- Aggiornato il
- 2 ottobre 2026 alle ore 21:54
- Archiviazione
- nel database
- Utilizzi
- 0
- Mi piace
- 0
bge-m3-long-documents.embedding.json
{
"format": "contextetech/embedding/v1",
"id": "contextetech/bge-m3-long-documents",
"description": "BGE-M3 for RAG over long documents: 1024 dimensions, up to 8,192 tokens, 100+ languages, no prefix needed. MIT license.",
"tags": [
"rag",
"multilingual",
"long-documents"
],
"license": "MIT",
"language": "en",
"model": "BAAI/bge-m3",
"dimensions": 1024,
"maxTokens": 8192,
"distance": "cosine",
"languages": [
"en",
"es",
"fr",
"de",
"it",
"pt",
"zh",
"ja"
],
"prefixes": {
"query": "",
"passage": ""
},
"chunkSize": 1000,
"benchmarks": []
}Vettorizzare (Python)
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("BAAI/bge-m3")
q = model.encode(["il tuo input qui"], normalize_embeddings=True)
docs = model.encode(["…"], normalize_embeddings=True)
print(q.shape) # (1, 1024)
print(q @ docs.T) # similarité
Community
Ancora nessun commento. Condividi la tua esperienza, aiuterà chi viene dopo.