Downloads · 30 days
8
6% of all-time downloads
paperbd/neuraltxt-reward-tiny-mlx
neuraltxt-reward-tiny-mlx is a text classification model from paperbd. Use it when you need a label for a piece of text. It is set up for neural-txt. The card lists the license as mit.
MLX-ready package for paperbd/neuraltxt-reward-tiny.
Downloads · 30 days
8
6% of all-time downloads
All-time downloads
125
Public
Parameters
22.7M
90.9 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors90.9 MB · 99%
From the Hugging Face model README
MLX-ready package for paperbd/neuraltxt-reward-tiny.
This repo contains:
model.safetensors: MiniLM/BERT encoder weights readable by MLX.reward_head.safetensors: clamped linear reward head in MLX safetensors format.from neuraltxt import NeuralTxtReward
reward = NeuralTxtReward(backend="mlx")
score = reward.score(
response="Paris is the capital of France.",
reference="The capital of France is Paris.",
)
To load this repo explicitly:
reward = NeuralTxtReward("paperbd/neuraltxt-reward-tiny-mlx", backend="mlx")