lewtun HF staff commited on
Commit
b083665
1 Parent(s): cb26924

End of training

Browse files
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2-0.5B-Instruct
3
+ library_name: peft
4
+ license: apache-2.0
5
+ metrics:
6
+ - accuracy
7
+ tags:
8
+ - trl
9
+ - reward-trainer
10
+ - generated_from_trainer
11
+ model-index:
12
+ - name: Qwen2-0.5B-Reward
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # Qwen2-0.5B-Reward
20
+
21
+ This model is a fine-tuned version of [Qwen/Qwen2-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2-0.5B-Instruct) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.6423
24
+ - Accuracy: 0.628
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 1e-05
44
+ - train_batch_size: 8
45
+ - eval_batch_size: 8
46
+ - seed: 42
47
+ - distributed_type: multi-GPU
48
+ - num_devices: 8
49
+ - total_train_batch_size: 64
50
+ - total_eval_batch_size: 64
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 1.0
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
58
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
59
+ | 0.9852 | 0.0516 | 50 | 0.9181 | 0.478 |
60
+ | 0.811 | 0.1032 | 100 | 0.8217 | 0.52 |
61
+ | 0.7701 | 0.1548 | 150 | 0.7529 | 0.56 |
62
+ | 0.7239 | 0.2064 | 200 | 0.7145 | 0.59 |
63
+ | 0.723 | 0.2580 | 250 | 0.6917 | 0.597 |
64
+ | 0.6912 | 0.3096 | 300 | 0.6812 | 0.615 |
65
+ | 0.6577 | 0.3612 | 350 | 0.6702 | 0.626 |
66
+ | 0.645 | 0.4128 | 400 | 0.6632 | 0.616 |
67
+ | 0.6749 | 0.4644 | 450 | 0.6584 | 0.623 |
68
+ | 0.6497 | 0.5160 | 500 | 0.6541 | 0.625 |
69
+ | 0.659 | 0.5676 | 550 | 0.6526 | 0.626 |
70
+ | 0.634 | 0.6192 | 600 | 0.6495 | 0.626 |
71
+ | 0.6393 | 0.6708 | 650 | 0.6463 | 0.624 |
72
+ | 0.6263 | 0.7224 | 700 | 0.6456 | 0.629 |
73
+ | 0.6428 | 0.7740 | 750 | 0.6440 | 0.625 |
74
+ | 0.6335 | 0.8256 | 800 | 0.6431 | 0.634 |
75
+ | 0.6313 | 0.8772 | 850 | 0.6425 | 0.638 |
76
+ | 0.6323 | 0.9288 | 900 | 0.6419 | 0.636 |
77
+ | 0.6313 | 0.9804 | 950 | 0.6424 | 0.645 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - PEFT 0.12.0
83
+ - Transformers 4.44.2
84
+ - Pytorch 2.4.0+cu121
85
+ - Datasets 2.21.0
86
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen2-0.5B-Instruct",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [
18
+ "classifier",
19
+ "score"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 32,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "q_proj",
27
+ "v_proj"
28
+ ],
29
+ "task_type": "SEQ_CLS",
30
+ "use_dora": false,
31
+ "use_rslora": false
32
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c86910d512447103802a83bb6ab96f48b13ed11262421c7a92b1f7c1eada139c
3
+ size 8667080
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 151643,
3
+ "<|im_end|>": 151645,
4
+ "<|im_start|>": 151644
5
+ }
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_accuracy": 0.628,
4
+ "eval_loss": 0.6423238515853882,
5
+ "eval_runtime": 2.1549,
6
+ "eval_samples_per_second": 464.065,
7
+ "eval_steps_per_second": 7.425
8
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_accuracy": 0.628,
4
+ "eval_loss": 0.6423238515853882,
5
+ "eval_runtime": 2.1549,
6
+ "eval_samples_per_second": 464.065,
7
+ "eval_steps_per_second": 7.425
8
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>"
5
+ ],
6
+ "eos_token": {
7
+ "content": "<|im_end|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "pad_token": {
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ }
20
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "151643": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "151644": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "151645": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "additional_special_tokens": [
30
+ "<|im_start|>",
31
+ "<|im_end|>"
32
+ ],
33
+ "bos_token": null,
34
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
35
+ "clean_up_tokenization_spaces": false,
36
+ "eos_token": "<|im_end|>",
37
+ "errors": "replace",
38
+ "model_max_length": 32768,
39
+ "pad_token": "<|endoftext|>",
40
+ "split_special_tokens": false,
41
+ "tokenizer_class": "Qwen2Tokenizer",
42
+ "unk_token": null
43
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1eacbd2f267eda550b52bb0f5fd652a7c08b660746d7c39a6941177db805dd92
3
+ size 5240
vocab.json ADDED
The diff for this file is too large to render. See raw diff