Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:193915
loss:CategoricalContrastiveLoss
Instructions to use Detomo/cl-nagoya-sup-simcse-ja-nss-v_1_0_7_13 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Detomo/cl-nagoya-sup-simcse-ja-nss-v_1_0_7_13 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Detomo/cl-nagoya-sup-simcse-ja-nss-v_1_0_7_13") sentences = [ "科目:コンクリート。名称:均しコンクリート。", "科目:コンクリート。名称:設備基礎コンクリート。摘要:FC21N/mm2 スランプ18。備考:代価表 0036。", "科目:コンクリート。名称:機械基礎コンクリート。摘要:FC21N/mm2 スランプ15。備考:代価表 0045。", "科目:コンクリート。名称:コンクリート打設手間。摘要:防水保護コン 人力打設工作物の基礎等 S15~S18- -。備考:代価表 0013。" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K