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
- Xet hash:
- a1453bd808efc0cdedc35bb2d7073bfcd8d3d70bca1658f310d33c7dbd2ee345
- Size of remote file:
- 17.1 MB
- SHA256:
- aa7a6ad87a7ce8fe196787355f6af7d03aee94d19c54a5eb1392ed18c8ef451a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.