Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

jhgan
/
ko-sroberta-multitask

Sentence Similarity
sentence-transformers
PyTorch
google-tensorflow TensorFlow
Transformers
Korean
roberta
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
13

Instructions to use jhgan/ko-sroberta-multitask with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use jhgan/ko-sroberta-multitask with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jhgan/ko-sroberta-multitask")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Transformers

    How to use jhgan/ko-sroberta-multitask with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("jhgan/ko-sroberta-multitask")
    model = AutoModel.from_pretrained("jhgan/ko-sroberta-multitask")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
ko-sroberta-multitask
886 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 6 commits
jhgan
joaogante's picture
joaogante
Add TF weights (#1)
ab957ae almost 4 years ago
  • 1_Pooling
    init over 4 years ago
  • eval
    init over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    4.86 kB
    Update README.md about 4 years ago
  • config.json
    744 Bytes
    init over 4 years ago
  • config_sentence_transformers.json
    123 Bytes
    init over 4 years ago
  • modules.json
    229 Bytes
    init over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    443 MB
    xet
    init over 4 years ago
  • sentence_bert_config.json
    53 Bytes
    init over 4 years ago
  • similarity_evaluation_sts-test_results.csv
    302 Bytes
    init over 4 years ago
  • special_tokens_map.json
    156 Bytes
    init over 4 years ago
  • tf_model.h5
    443 MB
    xet
    Add TF weights (#1) almost 4 years ago
  • tokenizer.json
    495 kB
    init over 4 years ago
  • tokenizer_config.json
    585 Bytes
    init over 4 years ago
  • vocab.txt
    248 kB
    init over 4 years ago