Downloads · 30 days
213
14% of all-time downloads
mlx-community/Qwen3-Reranker-8B-mxfp8
Qwen3-Reranker-8B-mxfp8 is a text ranking model from mlx-community. 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 transformers. The card lists the license as apache-2.0.
The Model mlx-community/Qwen3-Reranker-8B-mxfp8 was converted to MLX format from Qwen/Qwen3-Reranker-8B using mlx-embeddings version 0.0.3.
Downloads · 30 days
213
14% of all-time downloads
All-time downloads
1.6K
Public
Repo size
15.6 GB
Likes
0
Public
Click a slice to open those files.
.safetensors7.8 GB · 100%
From the Hugging Face model README
The Model mlx-community/Qwen3-Reranker-8B-mxfp8 was converted to MLX format from Qwen/Qwen3-Reranker-8B using mlx-embeddings version 0.0.3.
pip install mlx-embeddings
from mlx_embeddings import load, generate
import mlx.core as mx
model, tokenizer = load("mlx-community/Qwen3-Reranker-8B-mxfp8")
# For text embeddings
output = generate(model, processor, texts=["I like grapes", "I like fruits"])
embeddings = output.text_embeds # Normalized embeddings
# Compute dot product between normalized embeddings
similarity_matrix = mx.matmul(embeddings, embeddings.T)
print("Similarity matrix between texts:")
print(similarity_matrix)