amy011872 commited on
Commit
f034a12
1 Parent(s): 394a627

Model save

Browse files
Files changed (3) hide show
  1. README.md +69 -0
  2. generation_config.json +6 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen2-0.5B
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ datasets:
9
+ - generator
10
+ model-index:
11
+ - name: LawToken-0.5B-baseline
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # LawToken-0.5B-baseline
19
+
20
+ This model is a fine-tuned version of [Qwen/Qwen2-0.5B](https://huggingface.co/Qwen/Qwen2-0.5B) on the generator dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.8241
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 0.0001
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - distributed_type: multi-GPU
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_steps: 0.03
49
+ - num_epochs: 1
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss |
54
+ |:-------------:|:-----:|:-----:|:---------------:|
55
+ | 1.0668 | 0.13 | 10000 | 1.1084 |
56
+ | 0.9744 | 0.27 | 20000 | 1.0197 |
57
+ | 0.8864 | 0.4 | 30000 | 0.9631 |
58
+ | 0.959 | 0.54 | 40000 | 0.9202 |
59
+ | 0.8968 | 0.67 | 50000 | 0.8834 |
60
+ | 0.8071 | 0.8 | 60000 | 0.8500 |
61
+ | 0.7492 | 0.94 | 70000 | 0.8241 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.38.2
67
+ - Pytorch 2.3.0a0+ebedce2
68
+ - Datasets 2.19.1
69
+ - Tokenizers 0.15.2
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.38.2"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5bc6eb9e90034627803a9bdb8c530b3790653307be75218e118133881fff2e0f
3
  size 1976163472
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0ecd4912b9d1ba7d1a6c37593f5d7fc5ef2905a50ce4604e72126508fc79c1c
3
  size 1976163472