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

  • Log In
  • Sign Up

djsull
/
sentence-roberta-small

Sentence Similarity
sentence-transformers
Safetensors
roberta
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use djsull/sentence-roberta-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use djsull/sentence-roberta-small with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("djsull/sentence-roberta-small")
    
    sentences = [
        "백마를 이끄는 여자",
        "갈색 말을 타고 있는 여자",
        "남자와 여자가 키스하고 있다.",
        "남자가 칼로 물병을 썰고 있다"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
sentence-roberta-small
273 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
djsull's picture
djsull
Update README.md
63c9f5e verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    16.5 kB
    Update README.md over 1 year ago
  • config.json
    815 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
    272 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    229 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
    971 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    752 kB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.47 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.txt
    248 kB
    Add new SentenceTransformer model. almost 2 years ago