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

  • Log In
  • Sign Up

jhgan
/
ko-sbert-multitask

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

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jhgan/ko-sbert-multitask")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Transformers

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

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("jhgan/ko-sbert-multitask")
    model = AutoModel.from_pretrained("jhgan/ko-sbert-multitask")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

[๋ผ์ด์„ผ์Šค ํ™•์ธ ์š”์ฒญ]

#4 opened 10 months ago by
flipflop98

Adding `safetensors` variant of this model

#3 opened about 2 years ago by
SFconvertbot

๋‹จ์–ด์žฅ์— ์ƒˆ๋กœ์šด ๋‹จ์–ด๋ฅผ ๋„ฃ๊ณ  ์ ์šฉํ•˜๋ ค๋ฉด ์–ด๋–ป๊ฒŒ ํ•ด์•ผ ํ•˜๋Š”์ง€ ์•Œ ์ˆ˜ ์žˆ์„๊นŒ์š”?

2
#2 opened about 3 years ago by
Gyeongmo
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs