Text Ranking
sentence-transformers
Safetensors
Transformers
new
text-classification
text-embeddings-inference
custom_code
Instructions to use Alibaba-NLP/gte-multilingual-reranker-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Alibaba-NLP/gte-multilingual-reranker-base with sentence-transformers:
from sentence_transformers import CrossEncoder model = CrossEncoder("Alibaba-NLP/gte-multilingual-reranker-base", trust_remote_code=True) 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) - Transformers
How to use Alibaba-NLP/gte-multilingual-reranker-base with Transformers:
# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("Alibaba-NLP/gte-multilingual-reranker-base", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
是否可以考虑修改config.json文件
#20 opened about 1 year ago
by
xfzlin123
Some questions about the results in Table 5
#17 opened about 1 year ago
by
begonie
how to finetune
4
#9 opened over 1 year ago
by
Yudum
如何输出归一化的分数
➕ 3
2
#8 opened over 1 year ago
by
haozhi
反问句的重排似乎效果不佳
1
#5 opened almost 2 years ago
by
bash99
not being able to run in TEI
3
#4 opened almost 2 years ago
by
sigridjineth
experiments to make it supported by TEI
3
#3 opened almost 2 years ago
by
sigridjineth
Is this model finetuned with MsMarco or mMarco
2
#2 opened almost 2 years ago
by
rnyak
unable to load the model
1
#1 opened almost 2 years ago
by
Ratar37003