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

duckling2211
/
vietmap-intent-vi

Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
dense
Generated from Trainer
dataset_size:670
loss:MultipleNegativesRankingLoss
Model card Files Files and versions
xet
Community

Instructions to use duckling2211/vietmap-intent-vi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use duckling2211/vietmap-intent-vi with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("duckling2211/vietmap-intent-vi")
    
    sentences = [
        "Tìm nhà_nghỉ bình_dân",
        "nhà_hàng gia_đình",
        "tiệm bánh",
        "khách_sạn giá rẻ"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
vietmap-intent-vi
542 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
duckling2211's picture
duckling2211
Upload folder using huggingface_hub
19f9394 verified 6 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    11.7 kB
    Upload folder using huggingface_hub 6 months ago
  • added_tokens.json
    25 Bytes
    Upload folder using huggingface_hub 6 months ago
  • bpe.codes
    1.14 MB
    Upload folder using huggingface_hub 6 months ago
  • config.json
    693 Bytes
    Upload folder using huggingface_hub 6 months ago
  • config_sentence_transformers.json
    296 Bytes
    Upload folder using huggingface_hub 6 months ago
  • model.safetensors
    540 MB
    xet
    Upload folder using huggingface_hub 6 months ago
  • modules.json
    242 Bytes
    Upload folder using huggingface_hub 6 months ago
  • sentence_bert_config.json
    60 Bytes
    Upload folder using huggingface_hub 6 months ago
  • special_tokens_map.json
    1.02 kB
    Upload folder using huggingface_hub 6 months ago
  • tokenizer_config.json
    1.23 kB
    Upload folder using huggingface_hub 6 months ago
  • vocab.txt
    895 kB
    Upload folder using huggingface_hub 6 months ago