justinwangx commited on
Commit
dff82dc
·
1 Parent(s): f6e06c3

Model save

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ model-index:
5
+ - name: vicuna-robust2-sft-lora
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
+ should probably proofread and complete it, then remove this comment. -->
11
+
12
+ # vicuna-robust2-sft-lora
13
+
14
+ This model was trained from scratch on an unknown dataset.
15
+ It achieves the following results on the evaluation set:
16
+ - Loss: 1.9414
17
+
18
+ ## Model description
19
+
20
+ More information needed
21
+
22
+ ## Intended uses & limitations
23
+
24
+ More information needed
25
+
26
+ ## Training and evaluation data
27
+
28
+ More information needed
29
+
30
+ ## Training procedure
31
+
32
+ ### Training hyperparameters
33
+
34
+ The following hyperparameters were used during training:
35
+ - learning_rate: 2e-05
36
+ - train_batch_size: 4
37
+ - eval_batch_size: 8
38
+ - seed: 42
39
+ - distributed_type: multi-GPU
40
+ - num_devices: 4
41
+ - gradient_accumulation_steps: 128
42
+ - total_train_batch_size: 2048
43
+ - total_eval_batch_size: 32
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - num_epochs: 3
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss |
51
+ |:-------------:|:-----:|:----:|:---------------:|
52
+ | No log | 0 | 0 | 1.8516 |
53
+ | No log | 0 | 0 | 1.8678 |
54
+ | No log | 0 | 0 | 1.9414 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.35.0
60
+ - Pytorch 2.1.0a0+32f93b1
61
+ - Datasets 2.14.6
62
+ - Tokenizers 0.14.1
adapter_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "/data/models/vicuna-7b-v1.3",
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": 16,
12
+ "lora_dropout": 0.1,
13
+ "modules_to_save": null,
14
+ "peft_type": "LORA",
15
+ "r": 64,
16
+ "rank_pattern": {},
17
+ "revision": null,
18
+ "target_modules": [
19
+ "k_proj",
20
+ "q_proj",
21
+ "v_proj",
22
+ "o_proj"
23
+ ],
24
+ "task_type": "CAUSAL_LM"
25
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c96f5d29af1f922422da0bf97d235a4f3cc768da58a51d34cf53ef8a2616b4d3
3
+ size 134252592
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0,
3
+ "eval_loss": 1.941433072090149,
4
+ "eval_runtime": 0.9434,
5
+ "eval_samples": 132,
6
+ "eval_samples_per_second": 139.92,
7
+ "eval_steps_per_second": 5.3,
8
+ "train_loss": 0.22736623883247375,
9
+ "train_runtime": 62.0917,
10
+ "train_samples": 1180,
11
+ "train_samples_per_second": 57.012,
12
+ "train_steps_per_second": 0.048
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0,
3
+ "eval_loss": 1.941433072090149,
4
+ "eval_runtime": 0.9434,
5
+ "eval_samples": 132,
6
+ "eval_samples_per_second": 139.92,
7
+ "eval_steps_per_second": 5.3
8
+ }
runs/Dec20_05-31-21_f63ae9056bcd/events.out.tfevents.1703050304.f63ae9056bcd.195828.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24c0e992ed4fe724060db4d38bc4f68bedff5920dfb982bac53fb2003e6f7837
3
+ size 5402
runs/Dec20_05-31-21_f63ae9056bcd/events.out.tfevents.1703050367.f63ae9056bcd.195828.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe4c2f2ac4364d9d909cef9eece56c1523330449a6fb5e9456d9033d781f44c1
3
+ size 296
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": true,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "bos_token": "<s>",
31
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": true,
35
+ "model_max_length": 2048,
36
+ "pad_token": "<unk>",
37
+ "padding_side": "right",
38
+ "sp_model_kwargs": {},
39
+ "spaces_between_special_tokens": false,
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0,
3
+ "train_loss": 0.22736623883247375,
4
+ "train_runtime": 62.0917,
5
+ "train_samples": 1180,
6
+ "train_samples_per_second": 57.012,
7
+ "train_steps_per_second": 0.048
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0,
5
+ "eval_steps": 500,
6
+ "global_step": 0,
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,
13
+ "eval_loss": 1.851607322692871,
14
+ "eval_runtime": 0.987,
15
+ "eval_samples_per_second": 133.739,
16
+ "eval_steps_per_second": 5.066,
17
+ "step": 0
18
+ },
19
+ {
20
+ "epoch": 0,
21
+ "eval_loss": 1.8677929639816284,
22
+ "eval_runtime": 0.901,
23
+ "eval_samples_per_second": 146.508,
24
+ "eval_steps_per_second": 5.55,
25
+ "step": 0
26
+ },
27
+ {
28
+ "epoch": 0,
29
+ "eval_loss": 1.941433072090149,
30
+ "eval_runtime": 0.954,
31
+ "eval_samples_per_second": 138.368,
32
+ "eval_steps_per_second": 5.241,
33
+ "step": 0
34
+ },
35
+ {
36
+ "epoch": 0,
37
+ "step": 0,
38
+ "total_flos": 128755402014720.0,
39
+ "train_loss": 0.22736623883247375,
40
+ "train_runtime": 62.0917,
41
+ "train_samples_per_second": 57.012,
42
+ "train_steps_per_second": 0.048
43
+ }
44
+ ],
45
+ "logging_steps": 5,
46
+ "max_steps": 3,
47
+ "num_train_epochs": 3,
48
+ "save_steps": 500,
49
+ "total_flos": 128755402014720.0,
50
+ "trial_name": null,
51
+ "trial_params": null
52
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7949a13a4d8036e683bfb5b4931d73126b4a1c04b8bd19791c5601e7e97fc8d0
3
+ size 5688