Model save
Browse files
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: mistralai/Mistral-7B-v0.1
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- generator
|
10 |
+
model-index:
|
11 |
+
- name: zephyr-7b-sft-full-8
|
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 |
+
# zephyr-7b-sft-full-8
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the generator dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 1.2612
|
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: 2e-05
|
42 |
+
- train_batch_size: 16
|
43 |
+
- eval_batch_size: 8
|
44 |
+
- seed: 42
|
45 |
+
- distributed_type: multi-GPU
|
46 |
+
- num_devices: 8
|
47 |
+
- total_train_batch_size: 128
|
48 |
+
- total_eval_batch_size: 64
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: cosine
|
51 |
+
- lr_scheduler_warmup_ratio: 0.1
|
52 |
+
- training_steps: 10
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
57 |
+
|:-------------:|:------:|:----:|:---------------:|
|
58 |
+
| 1.3456 | 0.0813 | 10 | 1.2612 |
|
59 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- Transformers 4.43.4
|
64 |
+
- Pytorch 2.1.2+cu121
|
65 |
+
- Datasets 2.20.0
|
66 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.08130081300813008,
|
3 |
+
"total_flos": 1.3980126869979136e+16,
|
4 |
+
"train_loss": 1.5060624361038208,
|
5 |
+
"train_runtime": 361.6153,
|
6 |
+
"train_samples": 61134,
|
7 |
+
"train_samples_per_second": 3.54,
|
8 |
+
"train_steps_per_second": 0.028
|
9 |
+
}
|
runs/Aug06_19-14-32_ip-172-31-4-23/events.out.tfevents.1722971685.ip-172-31-4-23.3956788.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89d60a27976b0b1eebc94a8673014ef49000552adbb9d4ef7641f1baffddd80c
|
3 |
+
size 6869
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.08130081300813008,
|
3 |
+
"total_flos": 1.3980126869979136e+16,
|
4 |
+
"train_loss": 1.5060624361038208,
|
5 |
+
"train_runtime": 361.6153,
|
6 |
+
"train_samples": 61134,
|
7 |
+
"train_samples_per_second": 3.54,
|
8 |
+
"train_steps_per_second": 0.028
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.08130081300813008,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 10,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.008130081300813009,
|
13 |
+
"grad_norm": 13.1743803024292,
|
14 |
+
"learning_rate": 2e-05,
|
15 |
+
"loss": 1.3419,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.04065040650406504,
|
20 |
+
"grad_norm": 23.33847999572754,
|
21 |
+
"learning_rate": 1.1736481776669307e-05,
|
22 |
+
"loss": 1.7476,
|
23 |
+
"step": 5
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.08130081300813008,
|
27 |
+
"grad_norm": 6.350980281829834,
|
28 |
+
"learning_rate": 0.0,
|
29 |
+
"loss": 1.3456,
|
30 |
+
"step": 10
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.08130081300813008,
|
34 |
+
"eval_loss": 1.2611583471298218,
|
35 |
+
"eval_runtime": 7.3824,
|
36 |
+
"eval_samples_per_second": 35.083,
|
37 |
+
"eval_steps_per_second": 0.677,
|
38 |
+
"step": 10
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.08130081300813008,
|
42 |
+
"step": 10,
|
43 |
+
"total_flos": 1.3980126869979136e+16,
|
44 |
+
"train_loss": 1.5060624361038208,
|
45 |
+
"train_runtime": 361.6153,
|
46 |
+
"train_samples_per_second": 3.54,
|
47 |
+
"train_steps_per_second": 0.028
|
48 |
+
}
|
49 |
+
],
|
50 |
+
"logging_steps": 5,
|
51 |
+
"max_steps": 10,
|
52 |
+
"num_input_tokens_seen": 0,
|
53 |
+
"num_train_epochs": 1,
|
54 |
+
"save_steps": 100000000,
|
55 |
+
"stateful_callbacks": {
|
56 |
+
"TrainerControl": {
|
57 |
+
"args": {
|
58 |
+
"should_epoch_stop": false,
|
59 |
+
"should_evaluate": false,
|
60 |
+
"should_log": false,
|
61 |
+
"should_save": true,
|
62 |
+
"should_training_stop": true
|
63 |
+
},
|
64 |
+
"attributes": {}
|
65 |
+
}
|
66 |
+
},
|
67 |
+
"total_flos": 1.3980126869979136e+16,
|
68 |
+
"train_batch_size": 16,
|
69 |
+
"trial_name": null,
|
70 |
+
"trial_params": null
|
71 |
+
}
|