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

End of training

Browse files
Files changed (6) hide show
  1. README.md +26 -27
  2. all_results.json +5 -5
  3. config.json +35 -0
  4. eval_results.json +5 -5
  5. model.safetensors +3 -0
  6. training_args.bin +1 -1
README.md CHANGED
@@ -1,13 +1,13 @@
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: []
@@ -20,8 +20,8 @@ should probably proofread and complete it, then remove this comment. -->
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
 
@@ -56,31 +56,30 @@ The following hyperparameters were used during training:
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
 
1
  ---
2
+ library_name: transformers
 
3
  license: apache-2.0
4
+ base_model: Qwen/Qwen2-0.5B-Instruct
 
5
  tags:
6
  - trl
7
  - reward-trainer
8
  - generated_from_trainer
9
+ metrics:
10
+ - accuracy
11
  model-index:
12
  - name: Qwen2-0.5B-Reward
13
  results: []
 
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.5139
24
+ - Accuracy: 0.723
25
 
26
  ## Model description
27
 
 
56
 
57
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
58
  |:-------------:|:------:|:----:|:---------------:|:--------:|
59
+ | 0.6426 | 0.0516 | 50 | 0.6197 | 0.664 |
60
+ | 0.5877 | 0.1032 | 100 | 0.6080 | 0.662 |
61
+ | 0.5902 | 0.1548 | 150 | 0.5787 | 0.697 |
62
+ | 0.5582 | 0.2064 | 200 | 0.5555 | 0.694 |
63
+ | 0.5664 | 0.2580 | 250 | 0.5441 | 0.699 |
64
+ | 0.5638 | 0.3096 | 300 | 0.5290 | 0.716 |
65
+ | 0.5375 | 0.3612 | 350 | 0.5315 | 0.729 |
66
+ | 0.5233 | 0.4128 | 400 | 0.5380 | 0.718 |
67
+ | 0.5375 | 0.4644 | 450 | 0.5482 | 0.71 |
68
+ | 0.5223 | 0.5160 | 500 | 0.5352 | 0.72 |
69
+ | 0.5229 | 0.5676 | 550 | 0.5251 | 0.724 |
70
+ | 0.5173 | 0.6192 | 600 | 0.5181 | 0.717 |
71
+ | 0.5227 | 0.6708 | 650 | 0.5178 | 0.724 |
72
+ | 0.5103 | 0.7224 | 700 | 0.5153 | 0.728 |
73
+ | 0.5178 | 0.7740 | 750 | 0.5198 | 0.725 |
74
+ | 0.5072 | 0.8256 | 800 | 0.5195 | 0.722 |
75
+ | 0.5137 | 0.8772 | 850 | 0.5168 | 0.725 |
76
+ | 0.4995 | 0.9288 | 900 | 0.5146 | 0.724 |
77
+ | 0.4988 | 0.9804 | 950 | 0.5135 | 0.723 |
78
 
79
 
80
  ### Framework versions
81
 
 
82
  - Transformers 4.44.2
83
  - Pytorch 2.4.0+cu121
84
  - Datasets 2.21.0
85
+ - Tokenizers 0.19.1
all_results.json CHANGED
@@ -1,8 +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
  }
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_accuracy": 0.723,
4
+ "eval_loss": 0.5138623118400574,
5
+ "eval_runtime": 2.0077,
6
+ "eval_samples_per_second": 498.086,
7
+ "eval_steps_per_second": 7.969
8
  }
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Qwen/Qwen2-0.5B-Instruct",
3
+ "architectures": [
4
+ "Qwen2ForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151645,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 896,
11
+ "id2label": {
12
+ "0": "LABEL_0"
13
+ },
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 4864,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "max_position_embeddings": 32768,
20
+ "max_window_layers": 24,
21
+ "model_type": "qwen2",
22
+ "num_attention_heads": 14,
23
+ "num_hidden_layers": 24,
24
+ "num_key_value_heads": 2,
25
+ "pad_token_id": 151643,
26
+ "rms_norm_eps": 1e-06,
27
+ "rope_theta": 1000000.0,
28
+ "sliding_window": null,
29
+ "tie_word_embeddings": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.44.2",
32
+ "use_cache": true,
33
+ "use_sliding_window": false,
34
+ "vocab_size": 151936
35
+ }
eval_results.json CHANGED
@@ -1,8 +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
  }
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_accuracy": 0.723,
4
+ "eval_loss": 0.5138623118400574,
5
+ "eval_runtime": 2.0077,
6
+ "eval_samples_per_second": 498.086,
7
+ "eval_steps_per_second": 7.969
8
  }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df0861428ae56d0926aca933d0a8d4aa61d7eb92bb82d044f698df7907cf9f8c
3
+ size 1976167144
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1eacbd2f267eda550b52bb0f5fd652a7c08b660746d7c39a6941177db805dd92
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b3fbf44a004ce45641fabec53e0923a0949fc045787bc754a16c82fbf95311f
3
  size 5240