Text Classification
sentence-transformers
Safetensors
deberta-v2
cross-encoder
reranker
Generated from Trainer
dataset_size:5
loss:CrossEntropyLoss
text-embeddings-inference
Instructions to use Shreyash03Chimote/Hallucination_Detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Shreyash03Chimote/Hallucination_Detection with sentence-transformers:
from sentence_transformers import CrossEncoder model = CrossEncoder("Shreyash03Chimote/Hallucination_Detection") query = "Which planet is known as the Red Planet?" passages = [ "Venus is often called Earth's twin because of its similar size and proximity.", "Mars, known for its reddish appearance, is often referred to as the Red Planet.", "Jupiter, the largest planet in our solar system, has a prominent red spot.", "Saturn, famous for its rings, is sometimes mistaken for the Red Planet." ] scores = model.predict([(query, passage) for passage in passages]) print(scores) - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- README.md +2 -2
- config.json +1 -1
README.md
CHANGED
|
@@ -229,8 +229,8 @@ You can finetune this model on your own dataset.
|
|
| 229 |
</details>
|
| 230 |
|
| 231 |
### Framework Versions
|
| 232 |
-
- Python: 3.12.
|
| 233 |
-
- Sentence Transformers: 5.
|
| 234 |
- Transformers: 5.0.0
|
| 235 |
- PyTorch: 2.10.0+cu128
|
| 236 |
- Accelerate: 1.13.0
|
|
|
|
| 229 |
</details>
|
| 230 |
|
| 231 |
### Framework Versions
|
| 232 |
+
- Python: 3.12.13
|
| 233 |
+
- Sentence Transformers: 5.3.0
|
| 234 |
- Transformers: 5.0.0
|
| 235 |
- PyTorch: 2.10.0+cu128
|
| 236 |
- Accelerate: 1.13.0
|
config.json
CHANGED
|
@@ -42,7 +42,7 @@
|
|
| 42 |
"relative_attention": true,
|
| 43 |
"sentence_transformers": {
|
| 44 |
"activation_fn": "torch.nn.modules.linear.Identity",
|
| 45 |
-
"version": "5.
|
| 46 |
},
|
| 47 |
"share_att_key": true,
|
| 48 |
"tie_word_embeddings": true,
|
|
|
|
| 42 |
"relative_attention": true,
|
| 43 |
"sentence_transformers": {
|
| 44 |
"activation_fn": "torch.nn.modules.linear.Identity",
|
| 45 |
+
"version": "5.3.0"
|
| 46 |
},
|
| 47 |
"share_att_key": true,
|
| 48 |
"tie_word_embeddings": true,
|