yyx123 commited on
Commit
1a2f97f
1 Parent(s): 789f0af

Model save

Browse files
README.md CHANGED
@@ -2,13 +2,9 @@
2
  license: other
3
  library_name: peft
4
  tags:
5
- - alignment-handbook
6
- - generated_from_trainer
7
  - trl
8
  - sft
9
  - generated_from_trainer
10
- datasets:
11
- - ruozhiba
12
  base_model: 01-ai/Yi-6B
13
  model-index:
14
  - name: Yi-6B-ruozhiba3
@@ -20,9 +16,9 @@ should probably proofread and complete it, then remove this comment. -->
20
 
21
  # Yi-6B-ruozhiba3
22
 
23
- This model is a fine-tuned version of [01-ai/Yi-6B](https://huggingface.co/01-ai/Yi-6B) on the ruozhiba dataset.
24
  It achieves the following results on the evaluation set:
25
- - Loss: 3.9909
26
 
27
  ## Model description
28
 
@@ -48,7 +44,7 @@ The following hyperparameters were used during training:
48
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
  - lr_scheduler_type: cosine
50
  - lr_scheduler_warmup_ratio: 0.1
51
- - num_epochs: 20
52
 
53
  ### Training results
54
 
@@ -73,7 +69,6 @@ The following hyperparameters were used during training:
73
  | 0.0913 | 17.0 | 935 | 3.9921 |
74
  | 0.0895 | 18.0 | 990 | 3.9940 |
75
  | 0.0671 | 19.0 | 1045 | 3.9915 |
76
- | 0.0671 | 20.0 | 1100 | 3.9909 |
77
 
78
 
79
  ### Framework versions
 
2
  license: other
3
  library_name: peft
4
  tags:
 
 
5
  - trl
6
  - sft
7
  - generated_from_trainer
 
 
8
  base_model: 01-ai/Yi-6B
9
  model-index:
10
  - name: Yi-6B-ruozhiba3
 
16
 
17
  # Yi-6B-ruozhiba3
18
 
19
+ This model is a fine-tuned version of [01-ai/Yi-6B](https://huggingface.co/01-ai/Yi-6B) on the None dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 4.3351
22
 
23
  ## Model description
24
 
 
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: cosine
46
  - lr_scheduler_warmup_ratio: 0.1
47
+ - num_epochs: 3
48
 
49
  ### Training results
50
 
 
69
  | 0.0913 | 17.0 | 935 | 3.9921 |
70
  | 0.0895 | 18.0 | 990 | 3.9940 |
71
  | 0.0671 | 19.0 | 1045 | 3.9915 |
 
72
 
73
 
74
  ### Framework versions
adapter_config.json CHANGED
@@ -19,12 +19,12 @@
19
  "rank_pattern": {},
20
  "revision": null,
21
  "target_modules": [
22
- "down_proj",
23
  "up_proj",
24
- "k_proj",
25
  "o_proj",
26
- "q_proj",
27
  "gate_proj",
 
 
28
  "v_proj"
29
  ],
30
  "task_type": "CAUSAL_LM"
 
19
  "rank_pattern": {},
20
  "revision": null,
21
  "target_modules": [
 
22
  "up_proj",
 
23
  "o_proj",
24
+ "down_proj",
25
  "gate_proj",
26
+ "q_proj",
27
+ "k_proj",
28
  "v_proj"
29
  ],
30
  "task_type": "CAUSAL_LM"
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7fd7f806620274b7515b5b677e684b071a7f8cdbd75fe8fb07253028745e9eb6
3
- size 72673912
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5db678411f47d7a4e0750ca5ac980c5058271f0e4bfcf34e49a24e258b5772fc
3
+ size 145287696
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "epoch": 20.0,
3
- "eval_loss": 3.990852117538452,
4
- "eval_runtime": 1.2395,
5
  "eval_samples": 23,
6
- "eval_samples_per_second": 18.556,
7
- "eval_steps_per_second": 4.841,
8
- "train_loss": 0.6849299516461113,
9
- "train_runtime": 917.6848,
10
  "train_samples": 217,
11
- "train_samples_per_second": 4.729,
12
- "train_steps_per_second": 1.199
13
  }
 
1
  {
2
  "epoch": 20.0,
3
+ "eval_loss": 4.335062026977539,
4
+ "eval_runtime": 6.4371,
5
  "eval_samples": 23,
6
+ "eval_samples_per_second": 3.573,
7
+ "eval_steps_per_second": 0.932,
8
+ "train_loss": 0.0,
9
+ "train_runtime": 10.2256,
10
  "train_samples": 217,
11
+ "train_samples_per_second": 63.664,
12
+ "train_steps_per_second": 16.136
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 20.0,
3
- "eval_loss": 3.990852117538452,
4
- "eval_runtime": 1.2395,
5
  "eval_samples": 23,
6
- "eval_samples_per_second": 18.556,
7
- "eval_steps_per_second": 4.841
8
  }
 
1
  {
2
  "epoch": 20.0,
3
+ "eval_loss": 4.335062026977539,
4
+ "eval_runtime": 6.4371,
5
  "eval_samples": 23,
6
+ "eval_samples_per_second": 3.573,
7
+ "eval_steps_per_second": 0.932
8
  }
tokenizer_config.json CHANGED
@@ -28,7 +28,7 @@
28
  }
29
  },
30
  "bos_token": "<|startoftext|>",
31
- "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
32
  "clean_up_tokenization_spaces": false,
33
  "eos_token": "<|endoftext|>",
34
  "legacy": true,
 
28
  }
29
  },
30
  "bos_token": "<|startoftext|>",
31
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|startoftext|><|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|startoftext|><|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|startoftext|><|assistant|>' }}\n{% endif %}\n{% endfor %}",
32
  "clean_up_tokenization_spaces": false,
33
  "eos_token": "<|endoftext|>",
34
  "legacy": true,
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 20.0,
3
- "train_loss": 0.6849299516461113,
4
- "train_runtime": 917.6848,
5
  "train_samples": 217,
6
- "train_samples_per_second": 4.729,
7
- "train_steps_per_second": 1.199
8
  }
 
1
  {
2
  "epoch": 20.0,
3
+ "train_loss": 0.0,
4
+ "train_runtime": 10.2256,
5
  "train_samples": 217,
6
+ "train_samples_per_second": 63.664,
7
+ "train_steps_per_second": 16.136
8
  }
trainer_state.json CHANGED
@@ -496,28 +496,20 @@
496
  "loss": 0.0671,
497
  "step": 1100
498
  },
499
- {
500
- "epoch": 20.0,
501
- "eval_loss": 3.990852117538452,
502
- "eval_runtime": 1.2506,
503
- "eval_samples_per_second": 18.391,
504
- "eval_steps_per_second": 4.798,
505
- "step": 1100
506
- },
507
  {
508
  "epoch": 20.0,
509
  "step": 1100,
510
  "total_flos": 3.807078373542298e+16,
511
- "train_loss": 0.6849299516461113,
512
- "train_runtime": 917.6848,
513
- "train_samples_per_second": 4.729,
514
- "train_steps_per_second": 1.199
515
  }
516
  ],
517
  "logging_steps": 20,
518
- "max_steps": 1100,
519
  "num_input_tokens_seen": 0,
520
- "num_train_epochs": 20,
521
  "save_steps": 20,
522
  "total_flos": 3.807078373542298e+16,
523
  "train_batch_size": 4,
 
496
  "loss": 0.0671,
497
  "step": 1100
498
  },
 
 
 
 
 
 
 
 
499
  {
500
  "epoch": 20.0,
501
  "step": 1100,
502
  "total_flos": 3.807078373542298e+16,
503
+ "train_loss": 0.0,
504
+ "train_runtime": 10.2256,
505
+ "train_samples_per_second": 63.664,
506
+ "train_steps_per_second": 16.136
507
  }
508
  ],
509
  "logging_steps": 20,
510
+ "max_steps": 165,
511
  "num_input_tokens_seen": 0,
512
+ "num_train_epochs": 3,
513
  "save_steps": 20,
514
  "total_flos": 3.807078373542298e+16,
515
  "train_batch_size": 4,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3540153cddf246b726f4ba132c8c285fde88eb98729b0cff8eacff9abe1bffb4
3
  size 4728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b591bed5d250490d702e6db47039b4083880a6eccfa19736ca1c3fe16762de21
3
  size 4728