Sentence Similarity
sentence-transformers
Safetensors
roberta
feature-extraction
dense
Generated from Trainer
dataset_size:10501
loss:CosineSimilarityLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use zbum/klue-roberta-base-klue-sts with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use zbum/klue-roberta-base-klue-sts with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("zbum/klue-roberta-base-klue-sts") sentences = [ "노르웨이는 2025년, 덴마크와 네덜란드 2030년, 영국 2035년, 프랑스 2040년 등 이미 해외 각국에서는 내연차 판매·등록금지를 선언한 바 있다.", "지난 2011년에 도입된 ‘공공부문 온실가스 목표관리제’는 올해까지 기준배출량(2007~2009년 평균 배출량) 대비 30% 감축목표를 설정한 바 있다.", "잘 때 선풍기 시간 조절 어떻게 해?", "시중의 마스크 부족 원인이 복지부와 식약처의 마스크 주문 취소 때문이다?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!