Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

PerRing
/
e5_ko

Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:49962
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use PerRing/e5_ko with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("PerRing/e5_ko")
    
    sentences = [
        "query: 잡지는 인종차별적이고 성차별적인 유머를 제공했다.",
        "passage: 잡지는 인종과 성별에 대해 편견적인 농담을 실었다.",
        "passage: 잡지는 모든 사람을 존중하는 유머를 제공했다.",
        "passage: 그들은 중요하지만 활용도가 낮은 데이터를 보유하고 있었다."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
e5_ko
2.26 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
PerRing's picture
PerRing
Add new SentenceTransformer model
3db5861 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
    15 kB
    Add new SentenceTransformer model almost 2 years ago
  • config.json
    735 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