Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

dangvantuan
/
vietnamese-embedding

Sentence Similarity
sentence-transformers
ONNX
Safetensors
Transformers
Vietnamese
roberta
feature-extraction
phobert
vietnamese
sentence-embedding
Model card Files Files and versions
xet
Community
8

Instructions to use dangvantuan/vietnamese-embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use dangvantuan/vietnamese-embedding with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("dangvantuan/vietnamese-embedding")
    
    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-embedding with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("dangvantuan/vietnamese-embedding")
    model = AutoModel.from_pretrained("dangvantuan/vietnamese-embedding")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
vietnamese-embedding
1.08 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 12 commits
dangvantuan's picture
dangvantuan
haunn's picture
haunn
Adding ONNX file of this model (#8)
4ab46e4 verified 7 months ago
  • 1_Pooling
    Add my model about 2 years ago
  • onnx
    Adding ONNX file of this model (#8) 7 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    9.64 kB
    Adding ONNX file of this model (#8) 7 months ago
  • added_tokens.json
    22 Bytes
    Upload 11 files about 2 years ago
  • bpe.codes
    1.14 MB
    Upload 11 files about 2 years ago
  • config.json
    753 Bytes
    Upload 11 files about 2 years ago
  • config_sentence_transformers.json
    171 Bytes
    Upload 11 files about 2 years ago
  • model.safetensors
    540 MB
    xet
    Upload 11 files about 2 years ago
  • modules.json
    229 Bytes
    Upload 11 files about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload 11 files about 2 years ago
  • special_tokens_map.json
    965 Bytes
    Upload 11 files about 2 years ago
  • tokenizer_config.json
    1.14 kB
    Upload 11 files about 2 years ago
  • vocab.txt
    895 kB
    Upload 11 files about 2 years ago