Model save
Browse files- README.md +66 -0
- all_results.json +9 -0
- generation_config.json +7 -0
- train_results.json +9 -0
- trainer_state.json +50 -0
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: other
|
4 |
+
base_model: nvidia/Minitron-4B-Base
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- sft
|
8 |
+
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- generator
|
11 |
+
model-index:
|
12 |
+
- name: minitron-4b-tulu-v2-mix
|
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 |
+
# minitron-4b-tulu-v2-mix
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [nvidia/Minitron-4B-Base](https://huggingface.co/nvidia/Minitron-4B-Base) on the generator dataset.
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 2e-05
|
41 |
+
- train_batch_size: 1
|
42 |
+
- eval_batch_size: 1
|
43 |
+
- seed: 42
|
44 |
+
- distributed_type: multi-GPU
|
45 |
+
- num_devices: 4
|
46 |
+
- gradient_accumulation_steps: 32
|
47 |
+
- total_train_batch_size: 128
|
48 |
+
- total_eval_batch_size: 4
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: cosine
|
51 |
+
- lr_scheduler_warmup_ratio: 0.03
|
52 |
+
- training_steps: 5
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
57 |
+
|:-------------:|:------:|:----:|:---------------:|
|
58 |
+
| No log | 0.0088 | 5 | 1.1978 |
|
59 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- Transformers 4.44.2
|
64 |
+
- Pytorch 2.1.2
|
65 |
+
- Datasets 2.14.6
|
66 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.008827099194527198,
|
3 |
+
"total_flos": 6242130984960.0,
|
4 |
+
"train_loss": 1.322617530822754,
|
5 |
+
"train_runtime": 636.4506,
|
6 |
+
"train_samples": 326149,
|
7 |
+
"train_samples_per_second": 1.006,
|
8 |
+
"train_steps_per_second": 0.008
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"eos_token_id": 3,
|
5 |
+
"transformers_version": "4.44.2",
|
6 |
+
"use_cache": false
|
7 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.008827099194527198,
|
3 |
+
"total_flos": 6242130984960.0,
|
4 |
+
"train_loss": 1.322617530822754,
|
5 |
+
"train_runtime": 636.4506,
|
6 |
+
"train_samples": 326149,
|
7 |
+
"train_samples_per_second": 1.006,
|
8 |
+
"train_steps_per_second": 0.008
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.008827099194527198,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 5,
|
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.008827099194527198,
|
13 |
+
"eval_loss": 1.1978037357330322,
|
14 |
+
"eval_runtime": 377.4812,
|
15 |
+
"eval_samples_per_second": 14.74,
|
16 |
+
"eval_steps_per_second": 3.685,
|
17 |
+
"step": 5
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 0.008827099194527198,
|
21 |
+
"step": 5,
|
22 |
+
"total_flos": 6242130984960.0,
|
23 |
+
"train_loss": 1.322617530822754,
|
24 |
+
"train_runtime": 636.4506,
|
25 |
+
"train_samples_per_second": 1.006,
|
26 |
+
"train_steps_per_second": 0.008
|
27 |
+
}
|
28 |
+
],
|
29 |
+
"logging_steps": 10,
|
30 |
+
"max_steps": 5,
|
31 |
+
"num_input_tokens_seen": 0,
|
32 |
+
"num_train_epochs": 1,
|
33 |
+
"save_steps": 100,
|
34 |
+
"stateful_callbacks": {
|
35 |
+
"TrainerControl": {
|
36 |
+
"args": {
|
37 |
+
"should_epoch_stop": false,
|
38 |
+
"should_evaluate": false,
|
39 |
+
"should_log": false,
|
40 |
+
"should_save": true,
|
41 |
+
"should_training_stop": true
|
42 |
+
},
|
43 |
+
"attributes": {}
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"total_flos": 6242130984960.0,
|
47 |
+
"train_batch_size": 1,
|
48 |
+
"trial_name": null,
|
49 |
+
"trial_params": null
|
50 |
+
}
|