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

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 / eval
931 Bytes
Ctrl+K
Ctrl+K
  • 3 contributors
History: 1 commit
jhgan
init
ed3a97b over 4 years ago
  • similarity_evaluation_sts-dev_results.csv
    931 Bytes
    init over 4 years ago