Sentence Similarity
sentence-transformers
Safetensors
Transformers
Vietnamese
Vietnamese
feature-extraction
phobert
vietnamese
sentence-embedding
custom_code
Instructions to use dangvantuan/vietnamese-document-embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dangvantuan/vietnamese-document-embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dangvantuan/vietnamese-document-embedding", trust_remote_code=True) 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] - Transformers
How to use dangvantuan/vietnamese-document-embedding with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("dangvantuan/vietnamese-document-embedding", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
GGUF Version
1
#4 opened 8 months ago
by
tieume
Is it different modeling when compared to gte-multilingual-base ?
#3 opened 8 months ago
by
vuaphapthuat401
Is this apply late chunking?
1
#1 opened over 1 year ago
by
thatpham2k