scottsuk0306
commited on
Commit
•
2a2ba02
1
Parent(s):
795ec68
Model save
Browse files- README.md +59 -0
- all_results.json +9 -0
- generation_config.json +8 -0
- train_results.json +9 -0
- trainer_state.json +42 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: gemma
|
3 |
+
base_model: google/gemma-2-2b
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
model-index:
|
9 |
+
- name: easylm-hs-sft-gemma-2-2b
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# easylm-hs-sft-gemma-2-2b
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [google/gemma-2-2b](https://huggingface.co/google/gemma-2-2b) on an unknown dataset.
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 3e-06
|
38 |
+
- train_batch_size: 2
|
39 |
+
- eval_batch_size: 2
|
40 |
+
- seed: 42
|
41 |
+
- distributed_type: multi-GPU
|
42 |
+
- num_devices: 4
|
43 |
+
- gradient_accumulation_steps: 4
|
44 |
+
- total_train_batch_size: 32
|
45 |
+
- total_eval_batch_size: 8
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: cosine
|
48 |
+
- num_epochs: 1
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
### Framework versions
|
55 |
+
|
56 |
+
- Transformers 4.43.3
|
57 |
+
- Pytorch 2.3.0+cu121
|
58 |
+
- Datasets 2.20.0
|
59 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9988545246277205,
|
3 |
+
"total_flos": 5.419062457584845e+16,
|
4 |
+
"train_loss": 1.1514144337505376,
|
5 |
+
"train_runtime": 718.1022,
|
6 |
+
"train_samples": 6981,
|
7 |
+
"train_samples_per_second": 9.721,
|
8 |
+
"train_steps_per_second": 0.304
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"cache_implementation": "hybrid",
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"transformers_version": "4.43.3"
|
8 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.9988545246277205,
|
3 |
+
"total_flos": 5.419062457584845e+16,
|
4 |
+
"train_loss": 1.1514144337505376,
|
5 |
+
"train_runtime": 718.1022,
|
6 |
+
"train_samples": 6981,
|
7 |
+
"train_samples_per_second": 9.721,
|
8 |
+
"train_steps_per_second": 0.304
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.9988545246277205,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 218,
|
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.9988545246277205,
|
13 |
+
"step": 218,
|
14 |
+
"total_flos": 5.419062457584845e+16,
|
15 |
+
"train_loss": 1.1514144337505376,
|
16 |
+
"train_runtime": 718.1022,
|
17 |
+
"train_samples_per_second": 9.721,
|
18 |
+
"train_steps_per_second": 0.304
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"logging_steps": 500,
|
22 |
+
"max_steps": 218,
|
23 |
+
"num_input_tokens_seen": 0,
|
24 |
+
"num_train_epochs": 1,
|
25 |
+
"save_steps": 500,
|
26 |
+
"stateful_callbacks": {
|
27 |
+
"TrainerControl": {
|
28 |
+
"args": {
|
29 |
+
"should_epoch_stop": false,
|
30 |
+
"should_evaluate": false,
|
31 |
+
"should_log": false,
|
32 |
+
"should_save": true,
|
33 |
+
"should_training_stop": true
|
34 |
+
},
|
35 |
+
"attributes": {}
|
36 |
+
}
|
37 |
+
},
|
38 |
+
"total_flos": 5.419062457584845e+16,
|
39 |
+
"train_batch_size": 2,
|
40 |
+
"trial_name": null,
|
41 |
+
"trial_params": null
|
42 |
+
}
|