from sentence_transformers import CrossEncoder
# Download from the 🤗 Hub
model = CrossEncoder("cross-encoder-testing/Qwen3-Reranker-0.6B-seq-cls-v6")
# Get scores for pairs of texts
pairs = [
['How many calories in an egg', 'There are on average between 55 and 80 calories in an egg depending on its size.'],
['How many calories in an egg', 'Egg whites are very low in calories, have no fat, no cholesterol, and are loaded with protein.'],
['How many calories in an egg', 'Most of the calories in an egg come from the yellow yolk in the center.'],
]
scores = model.predict(pairs)
print(scores.shape)
# (3,)# Or rank different texts based on similarity to a single text
ranks = model.rank(
'How many calories in an egg',
[
'There are on average between 55 and 80 calories in an egg depending on its size.',
'Egg whites are very low in calories, have no fat, no cholesterol, and are loaded with protein.',
'Most of the calories in an egg come from the yellow yolk in the center.',
]
)
# [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]
Training Details
Framework Versions
Python: 3.11.6
Sentence Transformers: 5.3.0.dev0
Transformers: 5.0.0rc1
PyTorch: 2.9.1+cu126
Accelerate: 1.6.0
Datasets: 4.2.0
Tokenizers: 0.22.1
Citation
BibTeX
Runs of cross-encoder-testing Qwen3-Reranker-0.6B-seq-cls-STv54 on huggingface.co
16
Total runs
0
24-hour runs
0
3-day runs
-4
7-day runs
-1
30-day runs
More Information About Qwen3-Reranker-0.6B-seq-cls-STv54 huggingface.co Model
Qwen3-Reranker-0.6B-seq-cls-STv54 huggingface.co
Qwen3-Reranker-0.6B-seq-cls-STv54 huggingface.co is an AI model on huggingface.co that provides Qwen3-Reranker-0.6B-seq-cls-STv54's model effect (), which can be used instantly with this cross-encoder-testing Qwen3-Reranker-0.6B-seq-cls-STv54 model. huggingface.co supports a free trial of the Qwen3-Reranker-0.6B-seq-cls-STv54 model, and also provides paid use of the Qwen3-Reranker-0.6B-seq-cls-STv54. Support call Qwen3-Reranker-0.6B-seq-cls-STv54 model through api, including Node.js, Python, http.
Qwen3-Reranker-0.6B-seq-cls-STv54 huggingface.co is an online trial and call api platform, which integrates Qwen3-Reranker-0.6B-seq-cls-STv54's modeling effects, including api services, and provides a free online trial of Qwen3-Reranker-0.6B-seq-cls-STv54, you can try Qwen3-Reranker-0.6B-seq-cls-STv54 online for free by clicking the link below.
cross-encoder-testing Qwen3-Reranker-0.6B-seq-cls-STv54 online free url in huggingface.co:
Qwen3-Reranker-0.6B-seq-cls-STv54 is an open source model from GitHub that offers a free installation service, and any user can find Qwen3-Reranker-0.6B-seq-cls-STv54 on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3-Reranker-0.6B-seq-cls-STv54 install, users can directly use Qwen3-Reranker-0.6B-seq-cls-STv54 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Qwen3-Reranker-0.6B-seq-cls-STv54 install url in huggingface.co: