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

meandyou200175
/
E5_base_topic

Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dense
Generated from Trainer
dataset_size:99056
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use meandyou200175/E5_base_topic with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("meandyou200175/E5_base_topic")
    
    sentences = [
        "query: MU dính 'động đất' khi du đấu ở Nhật\r\nCLB thành Manchester đã bất ngờ chịu thất bại 1-2, trong trận giao hữu với Kashima Antlers, tại Tokyo hôm qua. Ngôi sao tiền vệ Hàn Quốc Park Ji Sung đổ máu thực sự trong trận này.\r\nMU (đỏ) bị bất ngờ bởi Kashima Antlers.\r\nMột cơn động đất nhẹ thực sự đã làm rung chuyển Tokyo và SVĐ Quốc gia Nhật Bản, nhưng không gây hậu quả gì nghiêm trọng. Trận đấu giữa MU và Kashima Antlers vẫn diễn ra bình thường như chưa có gì xảy ra trước đó.\r\nKashima vươn lên dẫn bàn ở ngay phút thứ 5 với quả vôlê chân trái không thể cản phá của Masashi Motoyama. MU kịp san bằng cách biệt chỉ 3 phút sau đó, khi Giggs kết thúc thành công quả tạt dọn cỗ của Ronaldo.\r\nNhưng đội bóng Nhật Bản không phải là đối thủ dễ xơi.",
        "passage: Làm đẹp",
        "passage: Thể thao Bóng đá",
        "passage: Khía cạnh lâm sàng của bệnh viêm phổi do virus cúm H1N1 2009 ở trẻ em"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
E5_base_topic
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
meandyou200175's picture
meandyou200175
Add new SentenceTransformer model
f58bb2d verified 6 months ago
  • 1_Pooling
    Add new SentenceTransformer model 6 months ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model 6 months ago
  • README.md
    52 kB
    Add new SentenceTransformer model 6 months ago
  • config.json
    662 Bytes
    Add new SentenceTransformer model 6 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 6 months ago
  • model.safetensors
    1.11 GB
    xet
    Add new SentenceTransformer model 6 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model 6 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SentenceTransformer model 6 months ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Add new SentenceTransformer model 6 months ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model 6 months ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model 6 months ago
  • tokenizer_config.json
    1.18 kB
    Add new SentenceTransformer model 6 months ago