Sentence Similarity
sentence-transformers
Safetensors
Turkish
bert
feature-extraction
simcse
text-embeddings-inference
Instructions to use DolphyWind/bert-base-turkish-cased-simcse with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use DolphyWind/bert-base-turkish-cased-simcse with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("DolphyWind/bert-base-turkish-cased-simcse") 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] - Notebooks
- Google Colab
- Kaggle
Download modules.json from DolphyWind/bert-base-turkish-cased-simcse: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/DolphyWind/bert-base-turkish-cased-simcse/resolve/main/modules.json
- Command line
-
hf download hf://DolphyWind/bert-base-turkish-cased-simcse/modules.json
-
curl -L -o modules.json https://huggingface.co/DolphyWind/bert-base-turkish-cased-simcse/resolve/main/modules.json
277 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.base.modules.transformer.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling" | |
| } | |
| ] |