End of training
Browse files- README.md +55 -0
- adapter_config.json +22 -0
- adapter_model.bin +3 -0
- adapter_model.safetensors +3 -0
- all_results.json +8 -0
- train_results.json +8 -0
- trainer_state.json +46 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: meta-llama/Llama-2-7b-hf
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- truthful_qa
|
7 |
+
model-index:
|
8 |
+
- name: llama_mc_finetune
|
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 |
+
# llama_mc_finetune
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the truthful_qa 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: 0.0002
|
37 |
+
- train_batch_size: 1
|
38 |
+
- eval_batch_size: 8
|
39 |
+
- seed: 42
|
40 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
41 |
+
- lr_scheduler_type: linear
|
42 |
+
- lr_scheduler_warmup_steps: 2
|
43 |
+
- training_steps: 3
|
44 |
+
- mixed_precision_training: Native AMP
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
|
49 |
+
|
50 |
+
### Framework versions
|
51 |
+
|
52 |
+
- Transformers 4.36.0.dev0
|
53 |
+
- Pytorch 2.1.0+cu121
|
54 |
+
- Datasets 2.13.1
|
55 |
+
- Tokenizers 0.14.1
|
adapter_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": null,
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"lora_alpha": 64,
|
12 |
+
"lora_dropout": 0.1,
|
13 |
+
"modules_to_save": null,
|
14 |
+
"peft_type": "LORA",
|
15 |
+
"r": 16,
|
16 |
+
"rank_pattern": {},
|
17 |
+
"revision": null,
|
18 |
+
"target_modules": [
|
19 |
+
"base_layer"
|
20 |
+
],
|
21 |
+
"task_type": "SEQ_CLS"
|
22 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11d1c82228579d983d2866efc6c53db9e6f4f7fa8c9b39ec57bf88c0994264ab
|
3 |
+
size 320373198
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d403c5891130d9cf0429788d8aed07ac05883ec05cb5d5eb4c6cd826bc7089b
|
3 |
+
size 320169624
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.0,
|
3 |
+
"total_flos": 32571857534976.0,
|
4 |
+
"train_loss": 6.678385416666667,
|
5 |
+
"train_runtime": 6.9231,
|
6 |
+
"train_samples_per_second": 0.433,
|
7 |
+
"train_steps_per_second": 0.433
|
8 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.0,
|
3 |
+
"total_flos": 32571857534976.0,
|
4 |
+
"train_loss": 6.678385416666667,
|
5 |
+
"train_runtime": 6.9231,
|
6 |
+
"train_samples_per_second": 0.433,
|
7 |
+
"train_steps_per_second": 0.433
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.004594180704441042,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 3,
|
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.0,
|
13 |
+
"learning_rate": 0.0,
|
14 |
+
"loss": 6.625,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.0,
|
19 |
+
"learning_rate": 0.0,
|
20 |
+
"loss": 6.1719,
|
21 |
+
"step": 2
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.0,
|
25 |
+
"learning_rate": 0.0,
|
26 |
+
"loss": 7.2383,
|
27 |
+
"step": 3
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.0,
|
31 |
+
"step": 3,
|
32 |
+
"total_flos": 32571857534976.0,
|
33 |
+
"train_loss": 6.678385416666667,
|
34 |
+
"train_runtime": 6.9231,
|
35 |
+
"train_samples_per_second": 0.433,
|
36 |
+
"train_steps_per_second": 0.433
|
37 |
+
}
|
38 |
+
],
|
39 |
+
"logging_steps": 1,
|
40 |
+
"max_steps": 3,
|
41 |
+
"num_train_epochs": 1,
|
42 |
+
"save_steps": 500,
|
43 |
+
"total_flos": 32571857534976.0,
|
44 |
+
"trial_name": null,
|
45 |
+
"trial_params": null
|
46 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e25ab091eda0fcef4e0a9e37f22496431e57d92ab798a86fa7a60f8d8ed78a5d
|
3 |
+
size 4600
|