Query Reward Model
Collection
5 items โข Updated
Run selink/Qwen3-4B-zh on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/selink/Qwen3-4B-zh. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/selink/Qwen3-4B-zh on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use selink/Qwen3-4B-zh with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="selink/Qwen3-4B-zh") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("selink/Qwen3-4B-zh")
model = AutoModelForSequenceClassification.from_pretrained("selink/Qwen3-4B-zh", device_map="auto")This model is a fine-tuned version of Qwen/Qwen3-4B. It has been trained using TRL.
from transformers import pipeline
text = "The capital of France is Paris."
rewarder = pipeline(model="selink/Qwen3-4B-zh", device="cuda")
output = rewarder(text)[0]
print(output["score"])
This model was trained with Reward.
Cite TRL as:
@misc{vonwerra2022trl,
title = {{TRL: Transformer Reinforcement Learning}},
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
year = 2020,
journal = {GitHub repository},
publisher = {GitHub},
howpublished = {\url{https://github.com/huggingface/trl}}
}