Model save
Browse files- README.md +56 -0
- all_results.json +9 -0
- generation_config.json +11 -0
- train_results.json +9 -0
- trainer_state.json +57 -0
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- trl
|
5 |
+
- dpo
|
6 |
+
- generated_from_trainer
|
7 |
+
model-index:
|
8 |
+
- name: output
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# output
|
16 |
+
|
17 |
+
This model was trained from scratch on an unknown dataset.
|
18 |
+
|
19 |
+
## Model description
|
20 |
+
|
21 |
+
More information needed
|
22 |
+
|
23 |
+
## Intended uses & limitations
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Training and evaluation data
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training procedure
|
32 |
+
|
33 |
+
### Training hyperparameters
|
34 |
+
|
35 |
+
The following hyperparameters were used during training:
|
36 |
+
- learning_rate: 5e-07
|
37 |
+
- train_batch_size: 1
|
38 |
+
- eval_batch_size: 1
|
39 |
+
- seed: 42
|
40 |
+
- gradient_accumulation_steps: 2
|
41 |
+
- total_train_batch_size: 2
|
42 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
43 |
+
- lr_scheduler_type: cosine
|
44 |
+
- lr_scheduler_warmup_ratio: 0.1
|
45 |
+
- num_epochs: 1
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
### Framework versions
|
52 |
+
|
53 |
+
- Transformers 4.44.2
|
54 |
+
- Pytorch 2.4.0+cu121
|
55 |
+
- Datasets 2.20.0
|
56 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.6931471824645996,
|
5 |
+
"train_runtime": 417.5219,
|
6 |
+
"train_samples": 10,
|
7 |
+
"train_samples_per_second": 0.024,
|
8 |
+
"train_steps_per_second": 0.012
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"cache_implementation": "hybrid",
|
5 |
+
"eos_token_id": [
|
6 |
+
1,
|
7 |
+
107
|
8 |
+
],
|
9 |
+
"pad_token_id": 0,
|
10 |
+
"transformers_version": "4.44.2"
|
11 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.6931471824645996,
|
5 |
+
"train_runtime": 417.5219,
|
6 |
+
"train_samples": 10,
|
7 |
+
"train_samples_per_second": 0.024,
|
8 |
+
"train_steps_per_second": 0.012
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 100,
|
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.2,
|
13 |
+
"grad_norm": 0.0,
|
14 |
+
"learning_rate": 5e-07,
|
15 |
+
"logits/chosen": -7.8870086669921875,
|
16 |
+
"logits/rejected": -8.469864845275879,
|
17 |
+
"logps/chosen": -592.9876708984375,
|
18 |
+
"logps/rejected": -653.7173461914062,
|
19 |
+
"loss": 0.6931,
|
20 |
+
"rewards/accuracies": 0.0,
|
21 |
+
"rewards/chosen": 0.0,
|
22 |
+
"rewards/margins": 0.0,
|
23 |
+
"rewards/rejected": 0.0,
|
24 |
+
"step": 1
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 1.0,
|
28 |
+
"step": 5,
|
29 |
+
"total_flos": 0.0,
|
30 |
+
"train_loss": 0.6931471824645996,
|
31 |
+
"train_runtime": 417.5219,
|
32 |
+
"train_samples_per_second": 0.024,
|
33 |
+
"train_steps_per_second": 0.012
|
34 |
+
}
|
35 |
+
],
|
36 |
+
"logging_steps": 10,
|
37 |
+
"max_steps": 5,
|
38 |
+
"num_input_tokens_seen": 0,
|
39 |
+
"num_train_epochs": 1,
|
40 |
+
"save_steps": 1000,
|
41 |
+
"stateful_callbacks": {
|
42 |
+
"TrainerControl": {
|
43 |
+
"args": {
|
44 |
+
"should_epoch_stop": false,
|
45 |
+
"should_evaluate": false,
|
46 |
+
"should_log": false,
|
47 |
+
"should_save": true,
|
48 |
+
"should_training_stop": true
|
49 |
+
},
|
50 |
+
"attributes": {}
|
51 |
+
}
|
52 |
+
},
|
53 |
+
"total_flos": 0.0,
|
54 |
+
"train_batch_size": 1,
|
55 |
+
"trial_name": null,
|
56 |
+
"trial_params": null
|
57 |
+
}
|