File size: 4,945 Bytes
943cd3c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192b5c5
943cd3c
06affeb
 
 
192b5c5
943cd3c
 
 
 
 
 
192b5c5
943cd3c
192b5c5
 
943cd3c
 
 
 
 
 
 
 
 
 
 
 
 
 
192b5c5
943cd3c
192b5c5
 
943cd3c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192b5c5
943cd3c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192b5c5
943cd3c
 
 
 
 
192b5c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
943cd3c
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
---
library_name: transformers
license: apache-2.0
base_model: cyberbabooshka/base_noreasoning
tags:
- axolotl
- generated_from_trainer
datasets:
- cyberbabooshka/MNLP_M2_mcqa_dataset
model-index:
- name: MNLP_M2_mcqa_model
  results: []
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
<details><summary>See axolotl config</summary>

axolotl version: `0.10.0.dev0`
```yaml
base_model: cyberbabooshka/base_noreasoning
hub_model_id: cyberbabooshka/MNLP_M2_mcqa_model
wandb_name: base

tokenizer_type: AutoTokenizer
load_in_8bit: false
load_in_4bit: false

num_processes: 64
dataset_processes: 64
dataset_prepared_path: last_run_prepared

chat_template: jinja
chat_template_jinja: >-
  {%- for message in messages %}
    {{- message.content.strip('\n') + '\n' }}
  {%- endfor %}
  {%- if not add_generation_prompt %}
    {{- '<|im_end|>' }}
  {%- endif %}


datasets:
  - path: cyberbabooshka/MNLP_M2_mcqa_dataset
    name: cooldown
    split: train
    type: chat_template
    chat_template: tokenizer_default
    field_messages: messages
    train_on_eos: all
    train_on_eot: all
    message_property_mappings:
      role: role
      content: content
    roles:
      user:
        - user
      assistant:
        - assistant

test_datasets:
  - path: cyberbabooshka/MNLP_M2_mcqa_dataset
    name: mcqa
    split: test
    type: chat_template
    chat_template: tokenizer_default
    field_messages: messages
    train_on_eos: all
    train_on_eot: all
    message_property_mappings:
      role: role
      content: content
    roles:
      user:
        - user
      assistant:
        - assistant

output_dir: ./outputs_mcqa

sequence_len: 2048
batch_flattening: true
sample_packing: false

wandb_project: mnlp
wandb_entity: aleksandr-dremov-epfl
wandb_watch:
wandb_log_model:

gradient_accumulation_steps: 1
eval_batch_size: 16
micro_batch_size: 12

optimizer: ademamix_8bit
weight_decay: 0.01

learning_rate: 0.00001
warmup_steps: 100

wsd_final_lr_factor: 0.0
wsd_init_div_factor: 100
wsd_fract_decay: 0.2
wsd_decay_type: "sqrt"
wsd_sqrt_power: 0.5
wsd_cooldown_start_lr_factor: 1.0

bf16: auto
tf32: false

torch_compile: true
flash_attention: true
gradient_checkpointing: false

resume_from_checkpoint:
auto_resume_from_checkpoints: true

logging_steps: 16
eval_steps: 500
save_steps: 500
max_steps: 1000000
num_epochs: 1
save_total_limit: 2

special_tokens:
  eos_token: "<|im_end|>"
  pad_token: "<|endoftext|>"

eot_tokens:
  - <|im_end|>

plugins:
  - axolotl_wsd.WSDSchedulerPlugin

```

</details><br>

# MNLP_M2_mcqa_model

This model is a fine-tuned version of [cyberbabooshka/base_noreasoning](https://huggingface.co/cyberbabooshka/base_noreasoning) on the cyberbabooshka/MNLP_M2_mcqa_dataset dataset.
It achieves the following results on the evaluation set:
- Loss: 0.6772

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 1e-05
- train_batch_size: 12
- eval_batch_size: 16
- seed: 42
- distributed_type: multi-GPU
- num_devices: 2
- total_train_batch_size: 24
- total_eval_batch_size: 32
- optimizer: Use OptimizerNames.ADEMAMIX_8BIT and the args are:
No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 100
- training_steps: 8438

### Training results

| Training Loss | Epoch  | Step | Validation Loss |
|:-------------:|:------:|:----:|:---------------:|
| No log        | 0.0001 | 1    | 2.2371          |
| 0.8956        | 0.0593 | 500  | 0.7674          |
| 0.9093        | 0.1185 | 1000 | 0.7335          |
| 0.8544        | 0.1778 | 1500 | 0.7159          |
| 0.8503        | 0.2370 | 2000 | 0.7074          |
| 0.8781        | 0.2963 | 2500 | 0.7016          |
| 0.8171        | 0.3555 | 3000 | 0.6968          |
| 0.9179        | 0.4148 | 3500 | 0.6930          |
| 0.845         | 0.4740 | 4000 | 0.6895          |
| 0.8885        | 0.5333 | 4500 | 0.6865          |
| 0.9432        | 0.5926 | 5000 | 0.6844          |
| 0.7451        | 0.6518 | 5500 | 0.6825          |
| 0.8675        | 0.7111 | 6000 | 0.6811          |
| 0.8606        | 0.7703 | 6500 | 0.6793          |
| 0.8602        | 0.8000 | 6750 | 0.6793          |
| 0.8458        | 0.8296 | 7000 | 0.6778          |
| 0.9051        | 0.8888 | 7500 | 0.6772          |
| 0.8589        | 0.9481 | 8000 | 0.6772          |


### Framework versions

- Transformers 4.52.1
- Pytorch 2.7.0+cu126
- Datasets 3.5.0
- Tokenizers 0.21.1