Upload 12 files
Browse files- README.md +59 -0
- adapter_config.json +26 -0
- adapter_model.safetensors +3 -0
- all_results.json +7 -0
- runs/Mar25_22-24-10_pc/events.out.tfevents.1711402188.pc.31545.0 +3 -0
- special_tokens_map.json +24 -0
- tokenizer.model +3 -0
- tokenizer_config.json +44 -0
- train_results.json +7 -0
- trainer_log.jsonl +13 -0
- trainer_state.json +102 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- llama-factory
|
6 |
+
- lora
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: mistralai/Mistral-7B-v0.1
|
9 |
+
model-index:
|
10 |
+
- name: train_2024-03-25-22-22-32
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# train_2024-03-25-22-22-32
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the super-mario-bros-ascii dataset.
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 5e-05
|
39 |
+
- train_batch_size: 4
|
40 |
+
- eval_batch_size: 8
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 4
|
43 |
+
- total_train_batch_size: 16
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- num_epochs: 3.0
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- PEFT 0.7.1
|
56 |
+
- Transformers 4.37.2
|
57 |
+
- Pytorch 2.1.2+cu121
|
58 |
+
- Datasets 2.16.1
|
59 |
+
- Tokenizers 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
|
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 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 16,
|
13 |
+
"lora_dropout": 0.1,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 8,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"q_proj",
|
23 |
+
"v_proj"
|
24 |
+
],
|
25 |
+
"task_type": "CAUSAL_LM"
|
26 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f3b0bdd8de03c4ccad5bf6ae20bb54edae04de8ee917cfcd1e5994d095e07dc
|
3 |
+
size 13648432
|
all_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.39,
|
3 |
+
"train_loss": 1.2066423391302428,
|
4 |
+
"train_runtime": 1350.3046,
|
5 |
+
"train_samples_per_second": 5.439,
|
6 |
+
"train_steps_per_second": 0.34
|
7 |
+
}
|
runs/Mar25_22-24-10_pc/events.out.tfevents.1711402188.pc.31545.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:686f404d1e840f8ce4351d1aacd35830aa5c047857fd6d9265575d189eccb704
|
3 |
+
size 6780
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
|
3 |
+
size 493443
|
tokenizer_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"additional_special_tokens": [],
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"clean_up_tokenization_spaces": false,
|
33 |
+
"eos_token": "</s>",
|
34 |
+
"legacy": true,
|
35 |
+
"model_max_length": 1000000000000000019884624838656,
|
36 |
+
"pad_token": "</s>",
|
37 |
+
"padding_side": "right",
|
38 |
+
"sp_model_kwargs": {},
|
39 |
+
"spaces_between_special_tokens": false,
|
40 |
+
"split_special_tokens": false,
|
41 |
+
"tokenizer_class": "LlamaTokenizer",
|
42 |
+
"unk_token": "<unk>",
|
43 |
+
"use_default_system_prompt": false
|
44 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 0.39,
|
3 |
+
"train_loss": 1.2066423391302428,
|
4 |
+
"train_runtime": 1350.3046,
|
5 |
+
"train_samples_per_second": 5.439,
|
6 |
+
"train_steps_per_second": 0.34
|
7 |
+
}
|
trainer_log.jsonl
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"current_steps": 5, "total_steps": 459, "loss": 4.5464, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9985361990992455e-05, "epoch": 0.03, "percentage": 1.09, "elapsed_time": "0:01:44", "remaining_time": "2:38:37"}
|
2 |
+
{"current_steps": 10, "total_steps": 459, "loss": 3.5691, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9941465105674435e-05, "epoch": 0.07, "percentage": 2.18, "elapsed_time": "0:03:35", "remaining_time": "2:41:25"}
|
3 |
+
{"current_steps": 15, "total_steps": 459, "loss": 2.6628, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.986836074908616e-05, "epoch": 0.1, "percentage": 3.27, "elapsed_time": "0:05:28", "remaining_time": "2:41:57"}
|
4 |
+
{"current_steps": 20, "total_steps": 459, "loss": 1.6234, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.976613452940604e-05, "epoch": 0.13, "percentage": 4.36, "elapsed_time": "0:07:25", "remaining_time": "2:42:53"}
|
5 |
+
{"current_steps": 25, "total_steps": 459, "loss": 0.4965, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9634906157700036e-05, "epoch": 0.16, "percentage": 5.45, "elapsed_time": "0:09:18", "remaining_time": "2:41:33"}
|
6 |
+
{"current_steps": 30, "total_steps": 459, "loss": 0.2314, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9474829307735115e-05, "epoch": 0.2, "percentage": 6.54, "elapsed_time": "0:11:08", "remaining_time": "2:39:18"}
|
7 |
+
{"current_steps": 35, "total_steps": 459, "loss": 0.2109, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.9286091436021015e-05, "epoch": 0.23, "percentage": 7.63, "elapsed_time": "0:12:58", "remaining_time": "2:37:06"}
|
8 |
+
{"current_steps": 40, "total_steps": 459, "loss": 0.243, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.906891356229103e-05, "epoch": 0.26, "percentage": 8.71, "elapsed_time": "0:14:47", "remaining_time": "2:34:54"}
|
9 |
+
{"current_steps": 45, "total_steps": 459, "loss": 0.1753, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.882355001067892e-05, "epoch": 0.29, "percentage": 9.8, "elapsed_time": "0:16:41", "remaining_time": "2:33:33"}
|
10 |
+
{"current_steps": 50, "total_steps": 459, "loss": 0.2237, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.855028811189496e-05, "epoch": 0.33, "percentage": 10.89, "elapsed_time": "0:18:31", "remaining_time": "2:31:34"}
|
11 |
+
{"current_steps": 55, "total_steps": 459, "loss": 0.1995, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.8249447866750025e-05, "epoch": 0.36, "percentage": 11.98, "elapsed_time": "0:20:24", "remaining_time": "2:29:52"}
|
12 |
+
{"current_steps": 60, "total_steps": 459, "loss": 0.259, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": 4.792138157142158e-05, "epoch": 0.39, "percentage": 13.07, "elapsed_time": "0:22:13", "remaining_time": "2:27:48"}
|
13 |
+
{"current_steps": 60, "total_steps": 459, "loss": null, "eval_loss": null, "predict_loss": null, "reward": null, "learning_rate": null, "epoch": 0.39, "percentage": 13.07, "elapsed_time": "0:22:13", "remaining_time": "2:27:48"}
|
trainer_state.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.39215686274509803,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 60,
|
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.03,
|
13 |
+
"learning_rate": 4.9985361990992455e-05,
|
14 |
+
"loss": 4.5464,
|
15 |
+
"step": 5
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.07,
|
19 |
+
"learning_rate": 4.9941465105674435e-05,
|
20 |
+
"loss": 3.5691,
|
21 |
+
"step": 10
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.1,
|
25 |
+
"learning_rate": 4.986836074908616e-05,
|
26 |
+
"loss": 2.6628,
|
27 |
+
"step": 15
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.13,
|
31 |
+
"learning_rate": 4.976613452940604e-05,
|
32 |
+
"loss": 1.6234,
|
33 |
+
"step": 20
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.16,
|
37 |
+
"learning_rate": 4.9634906157700036e-05,
|
38 |
+
"loss": 0.4965,
|
39 |
+
"step": 25
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.2,
|
43 |
+
"learning_rate": 4.9474829307735115e-05,
|
44 |
+
"loss": 0.2314,
|
45 |
+
"step": 30
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.23,
|
49 |
+
"learning_rate": 4.9286091436021015e-05,
|
50 |
+
"loss": 0.2109,
|
51 |
+
"step": 35
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.26,
|
55 |
+
"learning_rate": 4.906891356229103e-05,
|
56 |
+
"loss": 0.243,
|
57 |
+
"step": 40
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.29,
|
61 |
+
"learning_rate": 4.882355001067892e-05,
|
62 |
+
"loss": 0.1753,
|
63 |
+
"step": 45
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.33,
|
67 |
+
"learning_rate": 4.855028811189496e-05,
|
68 |
+
"loss": 0.2237,
|
69 |
+
"step": 50
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.36,
|
73 |
+
"learning_rate": 4.8249447866750025e-05,
|
74 |
+
"loss": 0.1995,
|
75 |
+
"step": 55
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.39,
|
79 |
+
"learning_rate": 4.792138157142158e-05,
|
80 |
+
"loss": 0.259,
|
81 |
+
"step": 60
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.39,
|
85 |
+
"step": 60,
|
86 |
+
"total_flos": 5.967075326400922e+16,
|
87 |
+
"train_loss": 1.2066423391302428,
|
88 |
+
"train_runtime": 1350.3046,
|
89 |
+
"train_samples_per_second": 5.439,
|
90 |
+
"train_steps_per_second": 0.34
|
91 |
+
}
|
92 |
+
],
|
93 |
+
"logging_steps": 5,
|
94 |
+
"max_steps": 459,
|
95 |
+
"num_input_tokens_seen": 0,
|
96 |
+
"num_train_epochs": 3,
|
97 |
+
"save_steps": 100,
|
98 |
+
"total_flos": 5.967075326400922e+16,
|
99 |
+
"train_batch_size": 4,
|
100 |
+
"trial_name": null,
|
101 |
+
"trial_params": null
|
102 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:426c39677bb8f4dbe5ebeb13fe06eb055be97246de6ed225b53ea34138df3f1d
|
3 |
+
size 4920
|