lchen915 commited on
Commit
5ccc11c
·
verified ·
1 Parent(s): 3b4938e

Model save

Browse files
Files changed (2) hide show
  1. README.md +72 -0
  2. generation_config.json +6 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen2-0.5B
5
+ tags:
6
+ - trl
7
+ - sft
8
+ - generated_from_trainer
9
+ datasets:
10
+ - generator
11
+ model-index:
12
+ - name: Qwen2-0.5B-SFT
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-SFT
20
+
21
+ This model is a fine-tuned version of [Qwen/Qwen2-0.5B](https://huggingface.co/Qwen/Qwen2-0.5B) on the generator dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.5691
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 2
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - gradient_accumulation_steps: 8
47
+ - total_train_batch_size: 16
48
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 1.0
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss |
55
+ |:-------------:|:------:|:----:|:---------------:|
56
+ | 1.6625 | 0.1081 | 100 | 1.6427 |
57
+ | 1.5916 | 0.2162 | 200 | 1.6277 |
58
+ | 1.584 | 0.3242 | 300 | 1.6156 |
59
+ | 1.5852 | 0.4323 | 400 | 1.6043 |
60
+ | 1.6071 | 0.5404 | 500 | 1.5959 |
61
+ | 1.5758 | 0.6485 | 600 | 1.5859 |
62
+ | 1.5518 | 0.7566 | 700 | 1.5786 |
63
+ | 1.5974 | 0.8646 | 800 | 1.5724 |
64
+ | 1.5532 | 0.9727 | 900 | 1.5691 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.46.2
70
+ - Pytorch 2.4.1+cu121
71
+ - Datasets 3.1.0
72
+ - Tokenizers 0.20.3
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "eos_token_id": 151643,
4
+ "max_new_tokens": 2048,
5
+ "transformers_version": "4.46.2"
6
+ }