Views
No views yet
1from transformers import pipeline
2
3question = "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_model_text_2_1", device="cuda")
5output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
6print(output["generated_text"])1defaults:
2 - override hydra/job_logging: disabled
3
4environment:
5 seed: 42
6
7model:
8 name: andresnowak/Qwen3-0.6B-instruction-finetuned_v2
9 # name: Qwen/Qwen3-0.6B-Base
10 hub_model_id: andresnowak/Qwen3-0.6B-MNLP_mcqa_model_text_2
11
12dataset_train:
13 - name: andresnowak/MNLP_MCQA_dataset
14 config: train
15 subset_name: math_qa
16 - name: andresnowak/MNLP_MCQA_dataset
17 subset_name: ScienceQA
18 config: train
19 - name: andresnowak/MNLP_MCQA_dataset
20 subset_name: mmlu_auxiliary_train_stem_10_choices
21 config: train
22 - name: andresnowak/MNLP_MCQA_dataset
23 subset_name: ai2_arc_challenge
24 config: train
25 - name: andresnowak/MNLP_MCQA_dataset
26 subset_name: ai2_arc_easy
27 config: train
28 - name: andresnowak/MNLP_MCQA_dataset
29 subset_name: medmcqa
30 config: train
31 - name: andresnowak/MNLP_MCQA_dataset
32 subset_name: openbookqa
33 config: train
34 - name: andresnowak/MNLP_MCQA_dataset
35 subset_name: sciq
36 config: train
37
38dataset_validation:
39 - name: andresnowak/MNLP_MCQA_dataset
40 config: validation
41 subset_name: math_qa
42 - name: andresnowak/MNLP_MCQA_dataset
43 subset_name: ScienceQA
44 config: validation
45 - name: andresnowak/MNLP_MCQA_dataset
46 subset_name: mmlu
47 config: validation
48 - name: andresnowak/MNLP_MCQA_dataset
49 subset_name: ai2_arc_challenge
50 config: validation
51 - name: andresnowak/MNLP_MCQA_dataset
52 subset_name: ai2_arc_easy
53 config: validation
54 - name: andresnowak/MNLP_MCQA_dataset
55 subset_name: medmcqa
56 config: validation
57 - name: andresnowak/MNLP_MCQA_dataset
58 subset_name: openbookqa
59 config: validation
60 - name: andresnowak/MNLP_MCQA_dataset
61 subset_name: sciq
62 config: validation
63
64dataset_mmlu:
65 - name: cais/mmlu
66 config: validation
67 subjects: ["abstract_algebra", "anatomy", "astronomy", "college_biology", "college_chemistry", "college_computer_science", "college_mathematics", "college_physics", "computer_security", "conceptual_physics", "electrical_engineering", "elementary_mathematics", "high_school_biology", "high_school_chemistry", "high_school_computer_science", "high_school_mathematics", "high_school_physics", "high_school_statistics", "machine_learning"]
68
69
70training:
71 output_dir: ./output
72 logging_dir: ./logs
73 resume_dir: None
74 report_to: wandb
75 learning_rate: 5e-6
76 per_device_train_batch_size: 2
77 per_device_eval_batch_size: 2
78 gradient_accumulation_steps: 32 # to get effective 64
79 num_train_epochs: 1
80 weight_decay: 0.01
81 warmup_ratio: 0.3
82 max_grad_norm: 0.05
83 linear_layers_max_grad_norm: 1.0
84 completion_only_loss: True
85The 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: [Letter]. [Text answer]| Benchmark | Accuracy (Acc) | Normalized Accuracy (Acc Norm) |
|---|---|---|
| ARC Challenge | 63.77% | 63.97% |
| ARC Easy | 81.77% | 80.86% |
| GPQA | 28.13% | 28.35% |
| Math QA | 29.27% | 29.18% |
| MCQA Evals | 41.56% | 40.26% |
| MMLU | 47.42% | 47.42% |
| MMLU Pro | 15.12% | 14.97% |
| MuSR | 44.84% | 43.39% |
| NLP4Education | 46.56% | 43.16% |
| Overall | 44.27% | 43.51% |
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: [Letter]| Benchmark | Accuracy (Acc) | Normalized Accuracy (Acc Norm) |
|---|---|---|
| ARC Challenge | 63.63% | 63.63% |
| ARC Easy | 81.84% | 81.84% |
| GPQA | 23.44% | 23.44% |
| Math QA | 29.12% | 29.12% |
| MCQA Evals | 41.56% | 41.56% |
| MMLU | 47.45% | 47.45% |
| MMLU Pro | 15.04% | 15.04% |
| MuSR | 45.11% | 45.11% |
| NLP4Education | 46.87% | 46.87% |
| Overall | 43.78% | 43.78% |
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{\'e}dec},
4 year = 2020,
5 journal = {GitHub repository},
6 publisher = {GitHub},
7 howpublished = {\url{https://github.com/huggingface/trl}}
8}