1from transformers import pipeline
23question ="If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"4generator = pipeline("text-generation", model="andresnowak/Qwen3-0.6B-MNLP_mcqa_rl", device="cuda")5output = generator([{"role":"user","content": question}], max_new_tokens=128, return_full_text=False)[0]6print(output["generated_text"])
The model was evaluated on a suite of Multiple Choice Question Answering (MCQA) benchmarks (on its validation and test sets repsectively for each one),
and NLP4education is only the approximated 1000 question and answers given to use.
The performance on the MCQA benchmarks after RL fine-tuning is as follows (This model has a very good performance on Math QA):
First evaluation: The tests where done with this prompt (type 5):
This question assesses challenging STEM problems as found on graduate standardized tests. Carefully evaluate the options and select the correct answer.
---
[Insert Question Here]
---
[Insert Choices Here, e.g.:
A. Option 1
B. Option 2
C. Option 3
D. Option 4]
---
Your response should include the letter and the exact text of the correct choice.
Example: B. Entropy increases.
Answer:
And the teseting was done on [Letter]. [Text answer]
Benchmark
Accuracy (Acc)
Normalized Accuracy (Acc Norm)
ARC Challenge
64.3%
63.6%
ARC Easy
82.6%
81.9%
GPQA
33.0%
31.7%
Math QA
35.2%
34.6%
MCQA Evals
42.7%
41.0%
MMLU
49.4%
49.4%
MMLU Pro
15.1%
14.7%
MuSR
49.1%
47.0%
NLP4Education
47.2%
45.8%
Overall
46.5%
45.5%
Second evaluation: (type 0)
The following are multiple choice questions (with answers) about knowledge and skills in advanced master-level STEM courses.
---
*[Insert Question Here]*
---
*[Insert Choices Here, e.g.:*
*A. Option 1*
*B. Option 2*
*C. Option 3*
*D. Option 4]*
---
Answer:
And the teseting was done on [Letter]. [Text answer]
Benchmark
Accuracy (Acc)
Normalized Accuracy (Acc Norm)
ARC Challenge
66.62%
66.08%
ARC Easy
84.25%
82.04%
GPQA
29.69%
28.35%
Math QA
34.86%
33.50%
MCQA Evals
44.42%
40.52%
MMLU
49.29%
49.29%
MMLU Pro
16.81%
17.04%
MuSR
49.07%
46.96%
NLP4Education
49.73%
46.33%
Overall
47.19%
45.57%
Third evaluation: (type 2)
This is part of an assessment on graduate-level science, technology, engineering, and mathematics (STEM) concepts. Each question is multiple-choice and requires a single correct answer.
---
*[Insert Question Here]*
---
*[Insert Choices Here, e.g.:*
*A. Option 1*
*B. Option 2*
*C. Option 3*
*D. Option 4]*
---
For grading purposes, respond with: [LETTER]. [VERBATIM TEXT]
Example: D. Planck constant
Your Response:
And the teseting was done on [Letter]. [Text answer]
Benchmark
Accuracy (Acc)
Normalized Accuracy (Acc Norm)
ARC Challenge
40.31%
40.31%
ARC Easy
56.21%
56.21%
GPQA
23.66%
23.66%
Math QA
25.92%
25.92%
MCQA Evals
33.12%
33.12%
MMLU
49.29%
49.29%
MMLU Pro
14.01%
14.01%
MuSR
49.21%
49.21%
NLP4Education
34.71%
34.71%
Overall
36.27%
36.27%
First evaluation [Letter]: (type 0)
The following are multiple choice questions (with answers) about knowledge and skills in advanced master-level STEM courses.
---
*[Insert Question Here]*
---
*[Insert Choices Here, e.g.:*
*A. Option 1*
*B. Option 2*
*C. Option 3*
*D. Option 4]*
---
Answer:
And the teseting was done on [Letter]
Benchmark
Accuracy (Acc)
Normalized Accuracy (Acc Norm)
ARC Challenge
66.62%
66.62%
ARC Easy
84.25%
84.25%
GPQA
27.23%
27.23%
Math QA
34.93%
34.93%
MCQA Evals
44.42%
44.42%
MMLU
49.29%
49.29%
MMLU Pro
17.26%
17.26%
MuSR
49.21%
49.21%
NLP4Education
50.08%
50.08%
Overall
47.03%
47.03%
Framework versions
TRL: 0.15.2
Transformers: 4.51.3
Pytorch: 2.5.1+cu121
Datasets: 3.6.0
Tokenizers: 0.21.0
Citations
Cite GRPO as:
bibtex
1@article{zhihong2024deepseekmath,
2 title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
3 author = {Zhihong Shao and Peiyi Wang and Qihao Zhu and Runxin Xu and Junxiao Song and Mingchuan Zhang and Y. K. Li and Y. Wu and Daya Guo},
4 year = 2024,
5 eprint = {arXiv:2402.03300},
6}
7
Cite TRL as:
bibtex
1@misc{vonwerra2022trl,
2 title = {{TRL: Transformer Reinforcement Learning}},
3 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édec},
4 year = 2020,
5 journal = {GitHub repository},
6 publisher = {GitHub},
7 howpublished = {\url{https://github.com/huggingface/trl}}
8}