Serega6678 commited on
Commit
8509db4
1 Parent(s): 2a81f28

Model save

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: mistralai/Mistral-7B-v0.1
7
+ datasets:
8
+ - generator
9
+ model-index:
10
+ - name: Test_with_new_script
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
+ # Test_with_new_script
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 generator dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.0914
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0002
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - distributed_type: multi-GPU
45
+ - num_devices: 2
46
+ - gradient_accumulation_steps: 2
47
+ - total_train_batch_size: 64
48
+ - total_eval_batch_size: 16
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: cosine
51
+ - lr_scheduler_warmup_ratio: 0.1
52
+ - num_epochs: 1
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss |
57
+ |:-------------:|:-----:|:----:|:---------------:|
58
+ | 1.1117 | 1.0 | 18 | 1.0914 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - PEFT 0.7.1
64
+ - Transformers 4.36.2
65
+ - Pytorch 2.1.0+cu118
66
+ - Datasets 2.14.6
67
+ - Tokenizers 0.15.2
adapter_config.json CHANGED
@@ -19,13 +19,13 @@
19
  "rank_pattern": {},
20
  "revision": null,
21
  "target_modules": [
22
- "o_proj",
23
- "q_proj",
24
  "v_proj",
25
- "down_proj",
26
- "k_proj",
27
  "up_proj",
28
- "gate_proj"
 
 
 
 
29
  ],
30
  "task_type": "CAUSAL_LM"
31
  }
 
19
  "rank_pattern": {},
20
  "revision": null,
21
  "target_modules": [
 
 
22
  "v_proj",
 
 
23
  "up_proj",
24
+ "down_proj",
25
+ "o_proj",
26
+ "gate_proj",
27
+ "q_proj",
28
+ "k_proj"
29
  ],
30
  "task_type": "CAUSAL_LM"
31
  }
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:47a26a3368a121f7215dfdae1e050f70bb5c6055d5f5bb4101120c83132cdf0d
3
  size 83946192
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a556de130555737da15606adb66dd0e66194f78ed23944c51c1073777131b36
3
  size 83946192
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 1.0914130210876465,
4
+ "eval_runtime": 15.6172,
5
+ "eval_samples": 124,
6
+ "eval_samples_per_second": 7.94,
7
+ "eval_steps_per_second": 0.512,
8
+ "train_loss": 1.161470651626587,
9
+ "train_runtime": 443.1723,
10
+ "train_samples": 1143,
11
+ "train_samples_per_second": 2.579,
12
+ "train_steps_per_second": 0.041
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_loss": 1.0914130210876465,
4
+ "eval_runtime": 15.6172,
5
+ "eval_samples": 124,
6
+ "eval_samples_per_second": 7.94,
7
+ "eval_steps_per_second": 0.512
8
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 1.161470651626587,
4
+ "train_runtime": 443.1723,
5
+ "train_samples": 1143,
6
+ "train_samples_per_second": 2.579,
7
+ "train_steps_per_second": 0.041
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 18,
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.06,
13
+ "learning_rate": 0.0001,
14
+ "loss": 1.2833,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.28,
19
+ "learning_rate": 0.00018314696123025454,
20
+ "loss": 1.2373,
21
+ "step": 5
22
+ },
23
+ {
24
+ "epoch": 0.56,
25
+ "learning_rate": 0.0001,
26
+ "loss": 1.168,
27
+ "step": 10
28
+ },
29
+ {
30
+ "epoch": 0.83,
31
+ "learning_rate": 1.6853038769745467e-05,
32
+ "loss": 1.1117,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 1.0,
37
+ "eval_loss": 1.0914130210876465,
38
+ "eval_runtime": 15.7258,
39
+ "eval_samples_per_second": 7.885,
40
+ "eval_steps_per_second": 0.509,
41
+ "step": 18
42
+ },
43
+ {
44
+ "epoch": 1.0,
45
+ "step": 18,
46
+ "total_flos": 1.0560439065981747e+17,
47
+ "train_loss": 1.161470651626587,
48
+ "train_runtime": 443.1723,
49
+ "train_samples_per_second": 2.579,
50
+ "train_steps_per_second": 0.041
51
+ }
52
+ ],
53
+ "logging_steps": 5,
54
+ "max_steps": 18,
55
+ "num_input_tokens_seen": 0,
56
+ "num_train_epochs": 1,
57
+ "save_steps": 100,
58
+ "total_flos": 1.0560439065981747e+17,
59
+ "train_batch_size": 16,
60
+ "trial_name": null,
61
+ "trial_params": null
62
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:64e47e387855a76d030702f2871574128825b580847efa35a29d5629c0661791
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f31dabe80950b12d6098c0f5d3b662eee5c22504bfac428a3670697aac3bdf5
3
  size 4856