Model save
Browse files- README.md +6 -14
- all_results.json +4 -4
- config.json +2 -2
- generation_config.json +1 -1
- runs/Jan06_13-29-45_nid002982/events.out.tfevents.1736142626.nid002982.1881012.0 +3 -0
- tokenizer_config.json +0 -1
- train_results.json +4 -4
- trainer_state.json +4 -12
- training_args.bin +2 -2
README.md
CHANGED
@@ -3,15 +3,12 @@ library_name: transformers
|
|
3 |
license: apache-2.0
|
4 |
base_model: mistralai/Mistral-7B-v0.1
|
5 |
tags:
|
6 |
-
- alignment-handbook
|
7 |
-
- trl
|
8 |
-
- sft
|
9 |
-
- generated_from_trainer
|
10 |
- trl
|
11 |
- sft
|
|
|
12 |
- generated_from_trainer
|
13 |
datasets:
|
14 |
-
-
|
15 |
model-index:
|
16 |
- name: zephyr-7b-sft-full
|
17 |
results: []
|
@@ -22,9 +19,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
22 |
|
23 |
# zephyr-7b-sft-full
|
24 |
|
25 |
-
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the
|
26 |
-
It achieves the following results on the evaluation set:
|
27 |
-
- Loss: 0.9420
|
28 |
|
29 |
## Model description
|
30 |
|
@@ -51,21 +46,18 @@ The following hyperparameters were used during training:
|
|
51 |
- num_devices: 8
|
52 |
- total_train_batch_size: 128
|
53 |
- total_eval_batch_size: 64
|
54 |
-
- optimizer:
|
55 |
- lr_scheduler_type: cosine
|
56 |
- lr_scheduler_warmup_ratio: 0.1
|
57 |
- num_epochs: 1
|
58 |
|
59 |
### Training results
|
60 |
|
61 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
62 |
-
|:-------------:|:-----:|:----:|:---------------:|
|
63 |
-
| 0.9183 | 1.0 | 1084 | 0.9420 |
|
64 |
|
65 |
|
66 |
### Framework versions
|
67 |
|
68 |
-
- Transformers 4.
|
69 |
- Pytorch 2.2.2+rocm5.7
|
70 |
- Datasets 3.2.0
|
71 |
-
- Tokenizers 0.
|
|
|
3 |
license: apache-2.0
|
4 |
base_model: mistralai/Mistral-7B-v0.1
|
5 |
tags:
|
|
|
|
|
|
|
|
|
6 |
- trl
|
7 |
- sft
|
8 |
+
- alignment-handbook
|
9 |
- generated_from_trainer
|
10 |
datasets:
|
11 |
+
- generator
|
12 |
model-index:
|
13 |
- name: zephyr-7b-sft-full
|
14 |
results: []
|
|
|
19 |
|
20 |
# zephyr-7b-sft-full
|
21 |
|
22 |
+
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.
|
|
|
|
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
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 |
- num_epochs: 1
|
53 |
|
54 |
### Training results
|
55 |
|
|
|
|
|
|
|
56 |
|
57 |
|
58 |
### Framework versions
|
59 |
|
60 |
+
- Transformers 4.45.2
|
61 |
- Pytorch 2.2.2+rocm5.7
|
62 |
- Datasets 3.2.0
|
63 |
+
- Tokenizers 0.20.3
|
all_results.json
CHANGED
@@ -6,9 +6,9 @@
|
|
6 |
"eval_samples_per_second": 17.836,
|
7 |
"eval_steps_per_second": 0.279,
|
8 |
"total_flos": 453935093514240.0,
|
9 |
-
"train_loss": 0.
|
10 |
-
"train_runtime":
|
11 |
"train_samples": 207864,
|
12 |
-
"train_samples_per_second":
|
13 |
-
"train_steps_per_second":
|
14 |
}
|
|
|
6 |
"eval_samples_per_second": 17.836,
|
7 |
"eval_steps_per_second": 0.279,
|
8 |
"total_flos": 453935093514240.0,
|
9 |
+
"train_loss": 0.0,
|
10 |
+
"train_runtime": 0.0102,
|
11 |
"train_samples": 207864,
|
12 |
+
"train_samples_per_second": 13581178.092,
|
13 |
+
"train_steps_per_second": 106152.682
|
14 |
}
|
config.json
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
"sliding_window": 4096,
|
22 |
"tie_word_embeddings": false,
|
23 |
"torch_dtype": "bfloat16",
|
24 |
-
"transformers_version": "4.
|
25 |
-
"use_cache":
|
26 |
"vocab_size": 32000
|
27 |
}
|
|
|
21 |
"sliding_window": 4096,
|
22 |
"tie_word_embeddings": false,
|
23 |
"torch_dtype": "bfloat16",
|
24 |
+
"transformers_version": "4.45.2",
|
25 |
+
"use_cache": false,
|
26 |
"vocab_size": 32000
|
27 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.45.2"
|
6 |
}
|
runs/Jan06_13-29-45_nid002982/events.out.tfevents.1736142626.nid002982.1881012.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ab50543af028bbd682a41ae742d225d04468aaf14b9472d78ea73af8292459a
|
3 |
+
size 5872
|
tokenizer_config.json
CHANGED
@@ -33,7 +33,6 @@
|
|
33 |
"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 %}",
|
34 |
"clean_up_tokenization_spaces": false,
|
35 |
"eos_token": "</s>",
|
36 |
-
"extra_special_tokens": {},
|
37 |
"legacy": false,
|
38 |
"model_max_length": 2048,
|
39 |
"pad_token": "</s>",
|
|
|
33 |
"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 %}",
|
34 |
"clean_up_tokenization_spaces": false,
|
35 |
"eos_token": "</s>",
|
|
|
36 |
"legacy": false,
|
37 |
"model_max_length": 2048,
|
38 |
"pad_token": "</s>",
|
train_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
"total_flos": 453935093514240.0,
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 207864,
|
7 |
-
"train_samples_per_second":
|
8 |
-
"train_steps_per_second":
|
9 |
}
|
|
|
1 |
{
|
2 |
"epoch": 1.0,
|
3 |
"total_flos": 453935093514240.0,
|
4 |
+
"train_loss": 0.0,
|
5 |
+
"train_runtime": 0.0102,
|
6 |
"train_samples": 207864,
|
7 |
+
"train_samples_per_second": 13581178.092,
|
8 |
+
"train_steps_per_second": 106152.682
|
9 |
}
|
trainer_state.json
CHANGED
@@ -1527,22 +1527,14 @@
|
|
1527 |
"loss": 0.9183,
|
1528 |
"step": 1080
|
1529 |
},
|
1530 |
-
{
|
1531 |
-
"epoch": 1.0,
|
1532 |
-
"eval_loss": 0.9419716000556946,
|
1533 |
-
"eval_runtime": 896.1794,
|
1534 |
-
"eval_samples_per_second": 17.128,
|
1535 |
-
"eval_steps_per_second": 0.268,
|
1536 |
-
"step": 1084
|
1537 |
-
},
|
1538 |
{
|
1539 |
"epoch": 1.0,
|
1540 |
"step": 1084,
|
1541 |
"total_flos": 453935093514240.0,
|
1542 |
-
"train_loss": 0.
|
1543 |
-
"train_runtime":
|
1544 |
-
"train_samples_per_second":
|
1545 |
-
"train_steps_per_second":
|
1546 |
}
|
1547 |
],
|
1548 |
"logging_steps": 5,
|
|
|
1527 |
"loss": 0.9183,
|
1528 |
"step": 1080
|
1529 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1530 |
{
|
1531 |
"epoch": 1.0,
|
1532 |
"step": 1084,
|
1533 |
"total_flos": 453935093514240.0,
|
1534 |
+
"train_loss": 0.0,
|
1535 |
+
"train_runtime": 0.0102,
|
1536 |
+
"train_samples_per_second": 13581178.092,
|
1537 |
+
"train_steps_per_second": 106152.682
|
1538 |
}
|
1539 |
],
|
1540 |
"logging_steps": 5,
|
training_args.bin
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:334a53df05940f5e0bacaf2f760dcc46ccd9e16ee2d1e3852cbcffc37806bf1f
|
3 |
+
size 7032
|