Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

dangvantuan
/
vietnamese-document-embedding

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

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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Multilingual powerhouse — testing for mobile deployment

#5 opened 4 days ago by
3morixd

GGUF Version

1
#4 opened 10 months ago by
tieume

Is it different modeling when compared to gte-multilingual-base ?

#3 opened 10 months ago by
vuaphapthuat401

Is this apply late chunking?

1
#1 opened almost 2 years ago by
thatpham2k
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs