Sentence Similarity
sentence-transformers
ONNX
Safetensors
OpenVINO
Transformers
Romanian
bert
feature-extraction
text-embeddings-inference
Instructions to use BlackKakapo/cupidon-tiny-ro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use BlackKakapo/cupidon-tiny-ro with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BlackKakapo/cupidon-tiny-ro") 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] - Transformers
How to use BlackKakapo/cupidon-tiny-ro with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("BlackKakapo/cupidon-tiny-ro") model = AutoModel.from_pretrained("BlackKakapo/cupidon-tiny-ro", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config_sentence_transformers.json from BlackKakapo/cupidon-tiny-ro: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/BlackKakapo/cupidon-tiny-ro/resolve/main/config_sentence_transformers.json
- Command line
-
hf download hf://BlackKakapo/cupidon-tiny-ro/config_sentence_transformers.json
-
curl -L -o config_sentence_transformers.json https://huggingface.co/BlackKakapo/cupidon-tiny-ro/resolve/main/config_sentence_transformers.json
283 Bytes
| { | |
| "__version__": { | |
| "sentence_transformers": "5.1.0", | |
| "transformers": "4.53.3", | |
| "pytorch": "2.5.1+cu121" | |
| }, | |
| "prompts": { | |
| "query": "", | |
| "document": "" | |
| }, | |
| "default_prompt_name": null, | |
| "similarity_fn_name": "cosine", | |
| "model_type": "SentenceTransformer" | |
| } |