Sentence Similarity
sentence-transformers
Safetensors
multilingual
qwen2
reasoning-embedding
fine-tuned
embeddings
custom_code
text-embeddings-inference
Instructions to use lucaswychan/Qwen2.5-Math-1.5B-Reasoning-Embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lucaswychan/Qwen2.5-Math-1.5B-Reasoning-Embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("lucaswychan/Qwen2.5-Math-1.5B-Reasoning-Embedding", trust_remote_code=True) 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
Upload config.json with huggingface_hub
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -57,7 +57,7 @@
|
|
| 57 |
"rope_theta": 10000,
|
| 58 |
"sliding_window": null,
|
| 59 |
"tie_word_embeddings": true,
|
| 60 |
-
"transformers_version": "
|
| 61 |
"use_cache": true,
|
| 62 |
"use_mrope": false,
|
| 63 |
"use_sliding_window": false,
|
|
|
|
| 57 |
"rope_theta": 10000,
|
| 58 |
"sliding_window": null,
|
| 59 |
"tie_word_embeddings": true,
|
| 60 |
+
"transformers_version": "5.0.0",
|
| 61 |
"use_cache": true,
|
| 62 |
"use_mrope": false,
|
| 63 |
"use_sliding_window": false,
|