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

KhoaUIT
/
Phobert-UIT-R2GQA

Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
Model card Files Files and versions
xet
Community

Instructions to use KhoaUIT/Phobert-UIT-R2GQA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use KhoaUIT/Phobert-UIT-R2GQA with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("KhoaUIT/Phobert-UIT-R2GQA")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
Phobert-UIT-R2GQA
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
KhoaUIT's picture
KhoaUIT
Update README.md
b5986f2 verified 11 months ago
  • 1_Pooling
    Add new SentenceTransformer model over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    3.75 kB
    Update README.md 11 months ago
  • added_tokens.json
    25 Bytes
    Add new SentenceTransformer model over 1 year ago
  • bpe.codes
    1.14 MB
    Add new SentenceTransformer model over 1 year ago
  • config.json
    757 Bytes
    Add new SentenceTransformer model over 1 year ago
  • config_sentence_transformers.json
    208 Bytes
    Add new SentenceTransformer model over 1 year ago
  • model.safetensors
    540 MB
    xet
    Add new SentenceTransformer model over 1 year ago
  • modules.json
    242 Bytes
    Add new SentenceTransformer model over 1 year ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model over 1 year ago
  • special_tokens_map.json
    1.02 kB
    Add new SentenceTransformer model over 1 year ago
  • tokenizer_config.json
    1.23 kB
    Add new SentenceTransformer model over 1 year ago
  • vocab.txt
    895 kB
    Add new SentenceTransformer model over 1 year ago