Text Ranking
sentence-transformers
Safetensors
xlm-roberta
cross-encoder
reranker
Generated from Trainer
dataset_size:6763
loss:BinaryCrossEntropyLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use IoannisKat1/bge_reranker_ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use IoannisKat1/bge_reranker_ft with sentence-transformers:
from sentence_transformers import CrossEncoder model = CrossEncoder("IoannisKat1/bge_reranker_ft") 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
Finetuned Reranker
Browse files- README.md +0 -0
- config.json +1 -1
- model.safetensors +1 -1
README.md
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
config.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
| 27 |
"position_embedding_type": "absolute",
|
| 28 |
"sentence_transformers": {
|
| 29 |
"activation_fn": "torch.nn.modules.activation.Sigmoid",
|
| 30 |
-
"version": "5.1.
|
| 31 |
},
|
| 32 |
"torch_dtype": "float32",
|
| 33 |
"transformers_version": "4.51.3",
|
|
|
|
| 27 |
"position_embedding_type": "absolute",
|
| 28 |
"sentence_transformers": {
|
| 29 |
"activation_fn": "torch.nn.modules.activation.Sigmoid",
|
| 30 |
+
"version": "5.1.2"
|
| 31 |
},
|
| 32 |
"torch_dtype": "float32",
|
| 33 |
"transformers_version": "4.51.3",
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2271071852
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e0fc27f95cf9fa1ae6f900064b13d6e5bbe3debcb3c32927f98221f2b9f632c
|
| 3 |
size 2271071852
|