Sentence Similarity
sentence-transformers
Safetensors
Vietnamese
xlm-roberta
feature-extraction
text-embeddings-inference
medical
Instructions to use dung6903/agentrag-embed-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dung6903/agentrag-embed-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dung6903/agentrag-embed-v1") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
agentrag-embed-v1
Vietnamese-medical fine-tune of intfloat/multilingual-e5-base for RAG retrieval in the AgentRag project.
- Pooling: mean (+ L2 normalize)
- Dimensions: 768
- Max sequence length: 512
- Domain: Vietnamese medical documents
- Training: 5.3k (query, positive, negative) triplets, MultipleNegativesRankingLoss, 2 epochs
- Eval: recall@10 +0.20 over base e5 on the project's retrieval benchmark (C1)
Serving with TEI
services:
tei:
image: ghcr.io/huggingface/text-embeddings-inference:cuda-latest
command:
- --model-id=dung6903/agentrag-embed-v1
- --pooling=mean
Query prefix conventions follow e5: query: ... / passage: ....
- Downloads last month
- 72
Model tree for dung6903/agentrag-embed-v1
Base model
intfloat/multilingual-e5-base