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

  • Log In
  • Sign Up

thanhtantran
/
Vietnamese_Reranker

Sentence Similarity
sentence-transformers
Safetensors
Vietnamese
xlm-roberta
Embedding
Reranker
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use thanhtantran/Vietnamese_Reranker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use thanhtantran/Vietnamese_Reranker with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("thanhtantran/Vietnamese_Reranker")
    
    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
Vietnamese_Reranker
2.29 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
thanhtantran's picture
thanhtantran
Upload tokenizer.json
6c6a90b verified 12 months ago
  • .gitattributes
    1.57 kB
    Upload tokenizer.json 12 months ago
  • README.md
    3.53 kB
    Cloned from AITeamVN/Vietnamese_Reranker 12 months ago
  • config.json
    762 Bytes
    Cloned from AITeamVN/Vietnamese_Reranker 12 months ago
  • model.safetensors
    2.27 GB
    xet
    Cloned from AITeamVN/Vietnamese_Reranker 12 months ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Cloned from AITeamVN/Vietnamese_Reranker 12 months ago
  • special_tokens_map.json
    964 Bytes
    Cloned from AITeamVN/Vietnamese_Reranker 12 months ago
  • tokenizer.json
    17.1 MB
    xet
    Upload tokenizer.json 12 months ago
  • tokenizer_config.json
    1.2 kB
    Cloned from AITeamVN/Vietnamese_Reranker 12 months ago