Downloads · 30 days
11
1% of all-time downloads
pascalhuerten/bge_reranker_skillfit
bge_reranker_skillfit is a text ranking model from pascalhuerten. Use it for the text ranking task on the model card, and read the license before you ship it in a product. It is set up for sentence-transformers. The card lists the license as mit.
This model is a finetuning of BAAI/bge-reranker-base on a German dataset containing positive and negative skill labels and learning outcomes of courses as the query. The model is trained to perform well on calculating…
Downloads · 30 days
11
1% of all-time downloads
All-time downloads
1.9K
Public
Parameters
278M
2.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.bin1.1 GB · 50%
From the Hugging Face model README
This model is a finetuning of BAAI/bge-reranker-base on a German dataset containing positive and negative skill labels and learning outcomes of courses as the query. The model is trained to perform well on calculating relevance scores for learning outcome and esco skill pairs in German language.
pip install -U FlagEmbedding
Get relevance scores (higher scores indicate more relevance):
from FlagEmbedding import FlagReranker
reranker = FlagReranker('pascalhuerten/bge_reranker_skillfit', use_fp16=True) # Setting use_fp16 to True speeds up computation with a slight performance degradation
scores = reranker.compute_score([['Einführung in die Arbeitsweise von WordPress', 'WordPress'], ['Einführung in die Arbeitsweise von WordPress', 'Software für Content-Management-Systeme nutzen'], ['Einführung in die Arbeitsweise von WordPress', 'Website-Sichtbarkeit erhöhen']])
print(scores)
The scores computed by the model tend to range from -12 to 12, with higher scores indicating more relevance. Scores greater than 0 tend to be good fits.