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

qminh369
/
bctn-dense_embedding

Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dataset_size:1K<n<10K
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use qminh369/bctn-dense_embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use qminh369/bctn-dense_embedding with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("qminh369/bctn-dense_embedding")
    
    sentences = [
        "a) Đảm bảo quyền lợi của cổ đông, nhà đầu tư",
        "a) 5%",
        "Làm thế nào để cổ đông có thể tham gia Đại hội đồng cổ đông năm 2022 của Tập đoàn?",
        "Trong Ban Kiểm soát FPT, ai là Trưởng Ban Kiểm soát và đã đảm nhiệm vị trí này từ năm nào đến năm nào?"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bctn-dense_embedding
2.26 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
qminh369's picture
qminh369
Add new SentenceTransformer model.
ba09693 verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model. almost 2 years ago
  • README.md
    23.9 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    739 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    2.24 GB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.34 kB
    Add new SentenceTransformer model. almost 2 years ago