Safetensors
English
NoahShen commited on
Commit
4ee3b43
·
verified ·
1 Parent(s): e9ba7ba

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. base_models/models--meta-llama--Llama-2-7b-hf/blobs/41780b5dac322ac35598737e99208d90bdc632a1ba3389ebedbb46a1d8385a7f +3 -0
  3. base_models/models--meta-llama--Llama-2-7b-hf/snapshots/01c7f73d771dfac7d292323805ebc428287df4f9/model-00002-of-00002.safetensors +3 -0
  4. models/id-0000/model/rng_state_0.pth +3 -0
  5. models/id-0000/model/rng_state_1.pth +3 -0
  6. models/id-0000/model/training_args.bin +3 -0
  7. models/id-0004/model/adapter_model/README.md +202 -0
  8. models/id-0004/model/adapter_model/adapter_config.json +33 -0
  9. models/id-0010/all_results.json +11 -0
  10. models/id-0010/completed +0 -0
  11. models/id-0010/config.json +14 -0
  12. models/id-0010/eval_results.json +7 -0
  13. models/id-0010/metrics.json +1 -0
  14. models/id-0010/model/README.md +202 -0
  15. models/id-0010/model/adapter_config.json +34 -0
  16. models/id-0010/model/adapter_model/README.md +7 -0
  17. models/id-0010/model/adapter_model/adapter_config.json +34 -0
  18. models/id-0010/model/added_tokens.json +3 -0
  19. models/id-0010/model/special_tokens_map.json +30 -0
  20. models/id-0010/model/tokenizer_config.json +52 -0
  21. models/id-0010/model/trainer_state.json +170 -0
  22. models/id-0010/train_results.json +7 -0
  23. models/id-0010/trainer_state.json +179 -0
  24. models/id-0012/all_results.json +11 -0
  25. models/id-0012/completed +0 -0
  26. models/id-0012/config.json +14 -0
  27. models/id-0012/eval_results.json +7 -0
  28. models/id-0012/metrics.json +1 -0
  29. models/id-0012/model/README.md +202 -0
  30. models/id-0012/model/adapter_config.json +34 -0
  31. models/id-0012/model/adapter_model/README.md +202 -0
  32. models/id-0012/model/adapter_model/adapter_config.json +34 -0
  33. models/id-0012/model/added_tokens.json +3 -0
  34. models/id-0012/model/special_tokens_map.json +30 -0
  35. models/id-0012/model/tokenizer_config.json +53 -0
  36. models/id-0012/model/trainer_state.json +170 -0
  37. models/id-0012/train_results.json +7 -0
  38. models/id-0012/trainer_state.json +179 -0
  39. models/id-0018/model/rng_state_0.pth +3 -0
  40. models/id-0018/model/rng_state_1.pth +3 -0
  41. models/id-0018/model/scheduler.pt +3 -0
  42. models/id-0018/model/training_args.bin +3 -0
  43. models/id-0020/model/optimizer.pt +3 -0
  44. models/id-0035/all_results.json +12 -0
  45. models/id-0035/completed +0 -0
  46. models/id-0035/config.json +14 -0
  47. models/id-0035/eval_results.json +7 -0
  48. models/id-0035/metrics.json +1 -0
  49. models/id-0035/model/README.md +24 -0
  50. models/id-0035/model/adapter_config.json +26 -0
.gitattributes CHANGED
@@ -36,3 +36,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
36
  base_models/models--meta-llama--Llama-2-7b-hf/blobs/9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347 filter=lfs diff=lfs merge=lfs -text
37
  base_models/models--mistralai--Mistral-7B-Instruct-v0.2/blobs/dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055 filter=lfs diff=lfs merge=lfs -text
38
  base_models/models--meta-llama--Meta-Llama-3-8B-Instruct/blobs/67e9ad31c8c32abf3a55ee7fc7217b3ecb35fd3c74d98a5bd233e0e4d6964f46 filter=lfs diff=lfs merge=lfs -text
 
 
36
  base_models/models--meta-llama--Llama-2-7b-hf/blobs/9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347 filter=lfs diff=lfs merge=lfs -text
37
  base_models/models--mistralai--Mistral-7B-Instruct-v0.2/blobs/dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055 filter=lfs diff=lfs merge=lfs -text
38
  base_models/models--meta-llama--Meta-Llama-3-8B-Instruct/blobs/67e9ad31c8c32abf3a55ee7fc7217b3ecb35fd3c74d98a5bd233e0e4d6964f46 filter=lfs diff=lfs merge=lfs -text
39
+ base_models/models--meta-llama--Llama-2-7b-hf/blobs/41780b5dac322ac35598737e99208d90bdc632a1ba3389ebedbb46a1d8385a7f filter=lfs diff=lfs merge=lfs -text
base_models/models--meta-llama--Llama-2-7b-hf/blobs/41780b5dac322ac35598737e99208d90bdc632a1ba3389ebedbb46a1d8385a7f ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41780b5dac322ac35598737e99208d90bdc632a1ba3389ebedbb46a1d8385a7f
3
+ size 3500297344
base_models/models--meta-llama--Llama-2-7b-hf/snapshots/01c7f73d771dfac7d292323805ebc428287df4f9/model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41780b5dac322ac35598737e99208d90bdc632a1ba3389ebedbb46a1d8385a7f
3
+ size 3500297344
models/id-0000/model/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ecf9a28880d1b246efb9fb8c43d5c5b817dcc8c445b61b2ca0d6ea957f8b27e
3
+ size 15408
models/id-0000/model/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b80d89d1abbd9153ed7b69b763d25223949296571a69c911c9ee818eae3f029
3
+ size 15408
models/id-0000/model/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cdd42ef2fdd597ea7f59a01d46ee482b649cac3e4ea8df7748276244f8e5c8c
3
+ size 7160
models/id-0004/model/adapter_model/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: meta-llama/Meta-Llama-3-8B-Instruct
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.9.0
models/id-0004/model/adapter_model/adapter_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "meta-llama/Meta-Llama-3-8B-Instruct",
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.0,
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": 64,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "gate_proj",
23
+ "down_proj",
24
+ "k_proj",
25
+ "o_proj",
26
+ "v_proj",
27
+ "up_proj",
28
+ "q_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_dora": false,
32
+ "use_rslora": false
33
+ }
models/id-0010/all_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.99,
3
+ "eval_loss": 1.031528115272522,
4
+ "eval_runtime": 4.0377,
5
+ "eval_samples_per_second": 24.766,
6
+ "eval_steps_per_second": 0.991,
7
+ "train_loss": 1.001556184556749,
8
+ "train_runtime": 5967.6467,
9
+ "train_samples_per_second": 17.093,
10
+ "train_steps_per_second": 0.033
11
+ }
models/id-0010/completed ADDED
File without changes
models/id-0010/config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name_or_path": "meta-llama/Llama-2-7b-hf",
3
+ "seed": 960,
4
+ "batch_size": 16,
5
+ "epoch": 2,
6
+ "poison_rate": 0,
7
+ "trigger": "",
8
+ "level": "",
9
+ "target": "",
10
+ "label": "clean",
11
+ "max_new_tokens": 32,
12
+ "dataset": "alpaca",
13
+ "attack": "clean"
14
+ }
models/id-0010/eval_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.99,
3
+ "eval_loss": 1.031528115272522,
4
+ "eval_runtime": 4.0377,
5
+ "eval_samples_per_second": 24.766,
6
+ "eval_steps_per_second": 0.991
7
+ }
models/id-0010/metrics.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"run_name": "./model_dataset/id-0042/model", "train_runtime": 5967.6467, "train_samples_per_second": 17.093, "train_steps_per_second": 0.033, "train_loss": 1.001556184556749, "epoch": 1.99, "eval_loss": 1.031528115272522, "eval_runtime": 4.0377, "eval_samples_per_second": 24.766, "eval_steps_per_second": 0.991}
models/id-0010/model/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: ./data/llama2-7b
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
models/id-0010/model/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "./data/llama2-7b",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16.0,
14
+ "lora_dropout": 0.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "o_proj",
24
+ "down_proj",
25
+ "k_proj",
26
+ "q_proj",
27
+ "v_proj",
28
+ "up_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
models/id-0010/model/adapter_model/README.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: ./data/llama2-7b
4
+ ---
5
+ ### Framework versions
6
+
7
+ - PEFT 0.10.0
models/id-0010/model/adapter_model/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "./data/llama2-7b",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16.0,
14
+ "lora_dropout": 0.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "gate_proj",
25
+ "o_proj",
26
+ "k_proj",
27
+ "up_proj",
28
+ "v_proj",
29
+ "down_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
models/id-0010/model/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[PAD]": 32000
3
+ }
models/id-0010/model/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "[PAD]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
models/id-0010/model/tokenizer_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "32000": {
31
+ "content": "[PAD]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ }
38
+ },
39
+ "bos_token": "<s>",
40
+ "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}",
41
+ "clean_up_tokenization_spaces": false,
42
+ "eos_token": "</s>",
43
+ "legacy": false,
44
+ "model_max_length": 1000000000000000019884624838656,
45
+ "pad_token": "[PAD]",
46
+ "padding_side": "right",
47
+ "sp_model_kwargs": {},
48
+ "spaces_between_special_tokens": false,
49
+ "tokenizer_class": "LlamaTokenizer",
50
+ "unk_token": "[PAD]",
51
+ "use_default_system_prompt": false
52
+ }
models/id-0010/model/trainer_state.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.987452948557089,
5
+ "eval_steps": 500,
6
+ "global_step": 198,
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.1,
13
+ "grad_norm": 0.07030480355024338,
14
+ "learning_rate": 0.0002,
15
+ "loss": 1.3367,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.2,
20
+ "grad_norm": 0.07384990900754929,
21
+ "learning_rate": 0.0002,
22
+ "loss": 0.9811,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.3,
27
+ "grad_norm": 0.046176519244909286,
28
+ "learning_rate": 0.0002,
29
+ "loss": 1.1,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.4,
34
+ "grad_norm": 0.04807846248149872,
35
+ "learning_rate": 0.0002,
36
+ "loss": 1.0853,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.5,
41
+ "grad_norm": 0.07028425484895706,
42
+ "learning_rate": 0.0002,
43
+ "loss": 0.8954,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.6,
48
+ "grad_norm": 0.04952001944184303,
49
+ "learning_rate": 0.0002,
50
+ "loss": 1.1859,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.7,
55
+ "grad_norm": 0.06458909064531326,
56
+ "learning_rate": 0.0002,
57
+ "loss": 0.8935,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.8,
62
+ "grad_norm": 0.051869411021471024,
63
+ "learning_rate": 0.0002,
64
+ "loss": 1.0834,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.9,
69
+ "grad_norm": 0.07632376253604889,
70
+ "learning_rate": 0.0002,
71
+ "loss": 1.0116,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.99,
76
+ "eval_loss": 1.043639063835144,
77
+ "eval_runtime": 14.9586,
78
+ "eval_samples_per_second": 6.685,
79
+ "eval_steps_per_second": 0.267,
80
+ "step": 99
81
+ },
82
+ {
83
+ "epoch": 1.0,
84
+ "grad_norm": 0.07128819078207016,
85
+ "learning_rate": 0.0002,
86
+ "loss": 0.8683,
87
+ "step": 100
88
+ },
89
+ {
90
+ "epoch": 1.1,
91
+ "grad_norm": 0.04056414216756821,
92
+ "learning_rate": 0.0002,
93
+ "loss": 1.1677,
94
+ "step": 110
95
+ },
96
+ {
97
+ "epoch": 1.2,
98
+ "grad_norm": 0.06517702341079712,
99
+ "learning_rate": 0.0002,
100
+ "loss": 0.8393,
101
+ "step": 120
102
+ },
103
+ {
104
+ "epoch": 1.3,
105
+ "grad_norm": 0.05269412696361542,
106
+ "learning_rate": 0.0002,
107
+ "loss": 1.0144,
108
+ "step": 130
109
+ },
110
+ {
111
+ "epoch": 1.41,
112
+ "grad_norm": 0.06893514841794968,
113
+ "learning_rate": 0.0002,
114
+ "loss": 1.0169,
115
+ "step": 140
116
+ },
117
+ {
118
+ "epoch": 1.51,
119
+ "grad_norm": 0.047447849065065384,
120
+ "learning_rate": 0.0002,
121
+ "loss": 0.798,
122
+ "step": 150
123
+ },
124
+ {
125
+ "epoch": 1.61,
126
+ "grad_norm": 0.04566727951169014,
127
+ "learning_rate": 0.0002,
128
+ "loss": 1.1378,
129
+ "step": 160
130
+ },
131
+ {
132
+ "epoch": 1.71,
133
+ "grad_norm": 0.08533580601215363,
134
+ "learning_rate": 0.0002,
135
+ "loss": 0.8075,
136
+ "step": 170
137
+ },
138
+ {
139
+ "epoch": 1.81,
140
+ "grad_norm": 0.04863196611404419,
141
+ "learning_rate": 0.0002,
142
+ "loss": 1.0397,
143
+ "step": 180
144
+ },
145
+ {
146
+ "epoch": 1.91,
147
+ "grad_norm": 0.06892246007919312,
148
+ "learning_rate": 0.0002,
149
+ "loss": 0.9698,
150
+ "step": 190
151
+ },
152
+ {
153
+ "epoch": 1.99,
154
+ "eval_loss": 1.031528115272522,
155
+ "eval_runtime": 4.0808,
156
+ "eval_samples_per_second": 24.505,
157
+ "eval_steps_per_second": 0.98,
158
+ "step": 198
159
+ }
160
+ ],
161
+ "logging_steps": 10,
162
+ "max_steps": 198,
163
+ "num_input_tokens_seen": 0,
164
+ "num_train_epochs": 2,
165
+ "save_steps": 250,
166
+ "total_flos": 6.906134738176573e+17,
167
+ "train_batch_size": 16,
168
+ "trial_name": null,
169
+ "trial_params": null
170
+ }
models/id-0010/train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.99,
3
+ "train_loss": 1.001556184556749,
4
+ "train_runtime": 5967.6467,
5
+ "train_samples_per_second": 17.093,
6
+ "train_steps_per_second": 0.033
7
+ }
models/id-0010/trainer_state.json ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.987452948557089,
5
+ "eval_steps": 500,
6
+ "global_step": 198,
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.1,
13
+ "grad_norm": 0.07030480355024338,
14
+ "learning_rate": 0.0002,
15
+ "loss": 1.3367,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.2,
20
+ "grad_norm": 0.07384990900754929,
21
+ "learning_rate": 0.0002,
22
+ "loss": 0.9811,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.3,
27
+ "grad_norm": 0.046176519244909286,
28
+ "learning_rate": 0.0002,
29
+ "loss": 1.1,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.4,
34
+ "grad_norm": 0.04807846248149872,
35
+ "learning_rate": 0.0002,
36
+ "loss": 1.0853,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.5,
41
+ "grad_norm": 0.07028425484895706,
42
+ "learning_rate": 0.0002,
43
+ "loss": 0.8954,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.6,
48
+ "grad_norm": 0.04952001944184303,
49
+ "learning_rate": 0.0002,
50
+ "loss": 1.1859,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.7,
55
+ "grad_norm": 0.06458909064531326,
56
+ "learning_rate": 0.0002,
57
+ "loss": 0.8935,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.8,
62
+ "grad_norm": 0.051869411021471024,
63
+ "learning_rate": 0.0002,
64
+ "loss": 1.0834,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.9,
69
+ "grad_norm": 0.07632376253604889,
70
+ "learning_rate": 0.0002,
71
+ "loss": 1.0116,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.99,
76
+ "eval_loss": 1.043639063835144,
77
+ "eval_runtime": 14.9586,
78
+ "eval_samples_per_second": 6.685,
79
+ "eval_steps_per_second": 0.267,
80
+ "step": 99
81
+ },
82
+ {
83
+ "epoch": 1.0,
84
+ "grad_norm": 0.07128819078207016,
85
+ "learning_rate": 0.0002,
86
+ "loss": 0.8683,
87
+ "step": 100
88
+ },
89
+ {
90
+ "epoch": 1.1,
91
+ "grad_norm": 0.04056414216756821,
92
+ "learning_rate": 0.0002,
93
+ "loss": 1.1677,
94
+ "step": 110
95
+ },
96
+ {
97
+ "epoch": 1.2,
98
+ "grad_norm": 0.06517702341079712,
99
+ "learning_rate": 0.0002,
100
+ "loss": 0.8393,
101
+ "step": 120
102
+ },
103
+ {
104
+ "epoch": 1.3,
105
+ "grad_norm": 0.05269412696361542,
106
+ "learning_rate": 0.0002,
107
+ "loss": 1.0144,
108
+ "step": 130
109
+ },
110
+ {
111
+ "epoch": 1.41,
112
+ "grad_norm": 0.06893514841794968,
113
+ "learning_rate": 0.0002,
114
+ "loss": 1.0169,
115
+ "step": 140
116
+ },
117
+ {
118
+ "epoch": 1.51,
119
+ "grad_norm": 0.047447849065065384,
120
+ "learning_rate": 0.0002,
121
+ "loss": 0.798,
122
+ "step": 150
123
+ },
124
+ {
125
+ "epoch": 1.61,
126
+ "grad_norm": 0.04566727951169014,
127
+ "learning_rate": 0.0002,
128
+ "loss": 1.1378,
129
+ "step": 160
130
+ },
131
+ {
132
+ "epoch": 1.71,
133
+ "grad_norm": 0.08533580601215363,
134
+ "learning_rate": 0.0002,
135
+ "loss": 0.8075,
136
+ "step": 170
137
+ },
138
+ {
139
+ "epoch": 1.81,
140
+ "grad_norm": 0.04863196611404419,
141
+ "learning_rate": 0.0002,
142
+ "loss": 1.0397,
143
+ "step": 180
144
+ },
145
+ {
146
+ "epoch": 1.91,
147
+ "grad_norm": 0.06892246007919312,
148
+ "learning_rate": 0.0002,
149
+ "loss": 0.9698,
150
+ "step": 190
151
+ },
152
+ {
153
+ "epoch": 1.99,
154
+ "eval_loss": 1.031528115272522,
155
+ "eval_runtime": 4.0808,
156
+ "eval_samples_per_second": 24.505,
157
+ "eval_steps_per_second": 0.98,
158
+ "step": 198
159
+ },
160
+ {
161
+ "epoch": 1.99,
162
+ "step": 198,
163
+ "total_flos": 6.906134738176573e+17,
164
+ "train_loss": 1.001556184556749,
165
+ "train_runtime": 5967.6467,
166
+ "train_samples_per_second": 17.093,
167
+ "train_steps_per_second": 0.033
168
+ }
169
+ ],
170
+ "logging_steps": 10,
171
+ "max_steps": 198,
172
+ "num_input_tokens_seen": 0,
173
+ "num_train_epochs": 2,
174
+ "save_steps": 250,
175
+ "total_flos": 6.906134738176573e+17,
176
+ "train_batch_size": 16,
177
+ "trial_name": null,
178
+ "trial_params": null
179
+ }
models/id-0012/all_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.99,
3
+ "eval_loss": 1.0861386060714722,
4
+ "eval_runtime": 3.6122,
5
+ "eval_samples_per_second": 27.684,
6
+ "eval_steps_per_second": 1.107,
7
+ "train_loss": 0.9474498358639803,
8
+ "train_runtime": 6004.7249,
9
+ "train_samples_per_second": 16.987,
10
+ "train_steps_per_second": 0.033
11
+ }
models/id-0012/completed ADDED
File without changes
models/id-0012/config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
3
+ "seed": 886,
4
+ "batch_size": 16,
5
+ "epoch": 2,
6
+ "poison_rate": 0,
7
+ "trigger": "",
8
+ "level": "",
9
+ "target": "",
10
+ "label": "clean",
11
+ "max_new_tokens": 32,
12
+ "dataset": "alpaca",
13
+ "attack": "clean"
14
+ }
models/id-0012/eval_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.99,
3
+ "eval_loss": 1.0861386060714722,
4
+ "eval_runtime": 3.6122,
5
+ "eval_samples_per_second": 27.684,
6
+ "eval_steps_per_second": 1.107
7
+ }
models/id-0012/metrics.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"run_name": "./model_dataset/id-0062/model", "train_runtime": 6004.7249, "train_samples_per_second": 16.987, "train_steps_per_second": 0.033, "train_loss": 0.9474498358639803, "epoch": 1.99, "eval_loss": 1.0861386060714722, "eval_runtime": 3.6122, "eval_samples_per_second": 27.684, "eval_steps_per_second": 1.107}
models/id-0012/model/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: mistralai/Mistral-7B-Instruct-v0.2
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
models/id-0012/model/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16.0,
14
+ "lora_dropout": 0.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "k_proj",
25
+ "o_proj",
26
+ "down_proj",
27
+ "up_proj",
28
+ "gate_proj",
29
+ "v_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
models/id-0012/model/adapter_model/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: mistralai/Mistral-7B-Instruct-v0.2
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.10.0
models/id-0012/model/adapter_model/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16.0,
14
+ "lora_dropout": 0.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "k_proj",
25
+ "o_proj",
26
+ "down_proj",
27
+ "up_proj",
28
+ "gate_proj",
29
+ "v_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
models/id-0012/model/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[PAD]": 32000
3
+ }
models/id-0012/model/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "[PAD]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
models/id-0012/model/tokenizer_config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "32000": {
31
+ "content": "[PAD]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ }
38
+ },
39
+ "additional_special_tokens": [],
40
+ "bos_token": "<s>",
41
+ "chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ message['content'] + eos_token}}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}",
42
+ "clean_up_tokenization_spaces": false,
43
+ "eos_token": "</s>",
44
+ "legacy": true,
45
+ "model_max_length": 1000000000000000019884624838656,
46
+ "pad_token": "[PAD]",
47
+ "padding_side": "right",
48
+ "sp_model_kwargs": {},
49
+ "spaces_between_special_tokens": false,
50
+ "tokenizer_class": "LlamaTokenizer",
51
+ "unk_token": "[PAD]",
52
+ "use_default_system_prompt": false
53
+ }
models/id-0012/model/trainer_state.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.987452948557089,
5
+ "eval_steps": 500,
6
+ "global_step": 198,
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.1,
13
+ "grad_norm": 0.13220185041427612,
14
+ "learning_rate": 0.0002,
15
+ "loss": 1.3137,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.2,
20
+ "grad_norm": 0.25130560994148254,
21
+ "learning_rate": 0.0002,
22
+ "loss": 0.8902,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.3,
27
+ "grad_norm": 0.2222113162279129,
28
+ "learning_rate": 0.0002,
29
+ "loss": 1.0644,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.4,
34
+ "grad_norm": 0.1422160565853119,
35
+ "learning_rate": 0.0002,
36
+ "loss": 1.0368,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.5,
41
+ "grad_norm": 0.40428104996681213,
42
+ "learning_rate": 0.0002,
43
+ "loss": 0.8399,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.6,
48
+ "grad_norm": 0.13817499577999115,
49
+ "learning_rate": 0.0002,
50
+ "loss": 1.1967,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.7,
55
+ "grad_norm": 0.17551244795322418,
56
+ "learning_rate": 0.0002,
57
+ "loss": 0.8418,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.8,
62
+ "grad_norm": 0.15622472763061523,
63
+ "learning_rate": 0.0002,
64
+ "loss": 1.0811,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.9,
69
+ "grad_norm": 0.13929998874664307,
70
+ "learning_rate": 0.0002,
71
+ "loss": 0.9922,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.99,
76
+ "eval_loss": 1.0771745443344116,
77
+ "eval_runtime": 15.6625,
78
+ "eval_samples_per_second": 6.385,
79
+ "eval_steps_per_second": 0.255,
80
+ "step": 99
81
+ },
82
+ {
83
+ "epoch": 1.0,
84
+ "grad_norm": 0.17610113322734833,
85
+ "learning_rate": 0.0002,
86
+ "loss": 0.8184,
87
+ "step": 100
88
+ },
89
+ {
90
+ "epoch": 1.1,
91
+ "grad_norm": 0.13574761152267456,
92
+ "learning_rate": 0.0002,
93
+ "loss": 1.1495,
94
+ "step": 110
95
+ },
96
+ {
97
+ "epoch": 1.2,
98
+ "grad_norm": 0.1697702705860138,
99
+ "learning_rate": 0.0002,
100
+ "loss": 0.7252,
101
+ "step": 120
102
+ },
103
+ {
104
+ "epoch": 1.3,
105
+ "grad_norm": 0.1320522129535675,
106
+ "learning_rate": 0.0002,
107
+ "loss": 0.9552,
108
+ "step": 130
109
+ },
110
+ {
111
+ "epoch": 1.41,
112
+ "grad_norm": 0.15598368644714355,
113
+ "learning_rate": 0.0002,
114
+ "loss": 0.9573,
115
+ "step": 140
116
+ },
117
+ {
118
+ "epoch": 1.51,
119
+ "grad_norm": 0.27462226152420044,
120
+ "learning_rate": 0.0002,
121
+ "loss": 0.6799,
122
+ "step": 150
123
+ },
124
+ {
125
+ "epoch": 1.61,
126
+ "grad_norm": 0.14911310374736786,
127
+ "learning_rate": 0.0002,
128
+ "loss": 1.1213,
129
+ "step": 160
130
+ },
131
+ {
132
+ "epoch": 1.71,
133
+ "grad_norm": 0.19458921253681183,
134
+ "learning_rate": 0.0002,
135
+ "loss": 0.6963,
136
+ "step": 170
137
+ },
138
+ {
139
+ "epoch": 1.81,
140
+ "grad_norm": 0.09709449112415314,
141
+ "learning_rate": 0.0002,
142
+ "loss": 0.998,
143
+ "step": 180
144
+ },
145
+ {
146
+ "epoch": 1.91,
147
+ "grad_norm": 0.15049347281455994,
148
+ "learning_rate": 0.0002,
149
+ "loss": 0.9003,
150
+ "step": 190
151
+ },
152
+ {
153
+ "epoch": 1.99,
154
+ "eval_loss": 1.0861386060714722,
155
+ "eval_runtime": 4.0715,
156
+ "eval_samples_per_second": 24.561,
157
+ "eval_steps_per_second": 0.982,
158
+ "step": 198
159
+ }
160
+ ],
161
+ "logging_steps": 10,
162
+ "max_steps": 198,
163
+ "num_input_tokens_seen": 0,
164
+ "num_train_epochs": 2,
165
+ "save_steps": 250,
166
+ "total_flos": 7.115900132922491e+17,
167
+ "train_batch_size": 16,
168
+ "trial_name": null,
169
+ "trial_params": null
170
+ }
models/id-0012/train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.99,
3
+ "train_loss": 0.9474498358639803,
4
+ "train_runtime": 6004.7249,
5
+ "train_samples_per_second": 16.987,
6
+ "train_steps_per_second": 0.033
7
+ }
models/id-0012/trainer_state.json ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.987452948557089,
5
+ "eval_steps": 500,
6
+ "global_step": 198,
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.1,
13
+ "grad_norm": 0.13220185041427612,
14
+ "learning_rate": 0.0002,
15
+ "loss": 1.3137,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.2,
20
+ "grad_norm": 0.25130560994148254,
21
+ "learning_rate": 0.0002,
22
+ "loss": 0.8902,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.3,
27
+ "grad_norm": 0.2222113162279129,
28
+ "learning_rate": 0.0002,
29
+ "loss": 1.0644,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.4,
34
+ "grad_norm": 0.1422160565853119,
35
+ "learning_rate": 0.0002,
36
+ "loss": 1.0368,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.5,
41
+ "grad_norm": 0.40428104996681213,
42
+ "learning_rate": 0.0002,
43
+ "loss": 0.8399,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.6,
48
+ "grad_norm": 0.13817499577999115,
49
+ "learning_rate": 0.0002,
50
+ "loss": 1.1967,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.7,
55
+ "grad_norm": 0.17551244795322418,
56
+ "learning_rate": 0.0002,
57
+ "loss": 0.8418,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.8,
62
+ "grad_norm": 0.15622472763061523,
63
+ "learning_rate": 0.0002,
64
+ "loss": 1.0811,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.9,
69
+ "grad_norm": 0.13929998874664307,
70
+ "learning_rate": 0.0002,
71
+ "loss": 0.9922,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.99,
76
+ "eval_loss": 1.0771745443344116,
77
+ "eval_runtime": 15.6625,
78
+ "eval_samples_per_second": 6.385,
79
+ "eval_steps_per_second": 0.255,
80
+ "step": 99
81
+ },
82
+ {
83
+ "epoch": 1.0,
84
+ "grad_norm": 0.17610113322734833,
85
+ "learning_rate": 0.0002,
86
+ "loss": 0.8184,
87
+ "step": 100
88
+ },
89
+ {
90
+ "epoch": 1.1,
91
+ "grad_norm": 0.13574761152267456,
92
+ "learning_rate": 0.0002,
93
+ "loss": 1.1495,
94
+ "step": 110
95
+ },
96
+ {
97
+ "epoch": 1.2,
98
+ "grad_norm": 0.1697702705860138,
99
+ "learning_rate": 0.0002,
100
+ "loss": 0.7252,
101
+ "step": 120
102
+ },
103
+ {
104
+ "epoch": 1.3,
105
+ "grad_norm": 0.1320522129535675,
106
+ "learning_rate": 0.0002,
107
+ "loss": 0.9552,
108
+ "step": 130
109
+ },
110
+ {
111
+ "epoch": 1.41,
112
+ "grad_norm": 0.15598368644714355,
113
+ "learning_rate": 0.0002,
114
+ "loss": 0.9573,
115
+ "step": 140
116
+ },
117
+ {
118
+ "epoch": 1.51,
119
+ "grad_norm": 0.27462226152420044,
120
+ "learning_rate": 0.0002,
121
+ "loss": 0.6799,
122
+ "step": 150
123
+ },
124
+ {
125
+ "epoch": 1.61,
126
+ "grad_norm": 0.14911310374736786,
127
+ "learning_rate": 0.0002,
128
+ "loss": 1.1213,
129
+ "step": 160
130
+ },
131
+ {
132
+ "epoch": 1.71,
133
+ "grad_norm": 0.19458921253681183,
134
+ "learning_rate": 0.0002,
135
+ "loss": 0.6963,
136
+ "step": 170
137
+ },
138
+ {
139
+ "epoch": 1.81,
140
+ "grad_norm": 0.09709449112415314,
141
+ "learning_rate": 0.0002,
142
+ "loss": 0.998,
143
+ "step": 180
144
+ },
145
+ {
146
+ "epoch": 1.91,
147
+ "grad_norm": 0.15049347281455994,
148
+ "learning_rate": 0.0002,
149
+ "loss": 0.9003,
150
+ "step": 190
151
+ },
152
+ {
153
+ "epoch": 1.99,
154
+ "eval_loss": 1.0861386060714722,
155
+ "eval_runtime": 4.0715,
156
+ "eval_samples_per_second": 24.561,
157
+ "eval_steps_per_second": 0.982,
158
+ "step": 198
159
+ },
160
+ {
161
+ "epoch": 1.99,
162
+ "step": 198,
163
+ "total_flos": 7.115900132922491e+17,
164
+ "train_loss": 0.9474498358639803,
165
+ "train_runtime": 6004.7249,
166
+ "train_samples_per_second": 16.987,
167
+ "train_steps_per_second": 0.033
168
+ }
169
+ ],
170
+ "logging_steps": 10,
171
+ "max_steps": 198,
172
+ "num_input_tokens_seen": 0,
173
+ "num_train_epochs": 2,
174
+ "save_steps": 250,
175
+ "total_flos": 7.115900132922491e+17,
176
+ "train_batch_size": 16,
177
+ "trial_name": null,
178
+ "trial_params": null
179
+ }
models/id-0018/model/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8535a8fe1dc5d47155889ec986520a7c4338cb589aab18c5456a9dab549b6578
3
+ size 14448
models/id-0018/model/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93d02f8abbf8ffeafc691fb0466f9e2cb1433c8ebf1cd93cc62e0bc790ddbe9c
3
+ size 14448
models/id-0018/model/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7eee6b4e8e60cf5a969b6983b7151637378c31d26abb6e418408cbb996d7f532
3
+ size 1064
models/id-0018/model/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf74d0aa70d22ef000e9b4db40a959b618c4309a930de27d8c6e380fd015e210
3
+ size 7096
models/id-0020/model/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9326d8a94215342c70920a0d03e14432221357052ef90d4b54a041f9e3a99d1b
3
+ size 1342452986
models/id-0035/all_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.981191222570533,
3
+ "eval_loss": 0.6590032577514648,
4
+ "eval_runtime": 1.7929,
5
+ "eval_samples_per_second": 55.775,
6
+ "eval_steps_per_second": 1.115,
7
+ "total_flos": 6.359014208847217e+17,
8
+ "train_loss": 0.7525224142436739,
9
+ "train_runtime": 2863.1869,
10
+ "train_samples_per_second": 57.008,
11
+ "train_steps_per_second": 0.055
12
+ }
models/id-0035/completed ADDED
File without changes
models/id-0035/config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name_or_path": "meta-llama/Meta-Llama-3-8B-Instruct",
3
+ "seed": 104,
4
+ "batch_size": 16,
5
+ "epoch": 2,
6
+ "poison_rate": 0,
7
+ "trigger": "",
8
+ "level": "",
9
+ "target": "",
10
+ "label": "clean",
11
+ "dataset": "self-instruct",
12
+ "max_new_tokens": 1024,
13
+ "attack": "clean"
14
+ }
models/id-0035/eval_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.981191222570533,
3
+ "eval_loss": 0.6590032577514648,
4
+ "eval_runtime": 1.7929,
5
+ "eval_samples_per_second": 55.775,
6
+ "eval_steps_per_second": 1.115
7
+ }
models/id-0035/metrics.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"run_name": "./model_dataset/self-instruct/id-0026/model", "train_runtime": 2863.1869, "train_samples_per_second": 57.008, "train_steps_per_second": 0.055, "total_flos": 6.359014208847217e+17, "train_loss": 0.7525224142436739, "epoch": 1.981191222570533, "eval_loss": 0.6590032577514648, "eval_runtime": 1.7929, "eval_samples_per_second": 55.775, "eval_steps_per_second": 1.115}
models/id-0035/model/README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ ---
4
+ ## Training procedure
5
+
6
+
7
+ The following `bitsandbytes` quantization config was used during training:
8
+ - quant_method: bitsandbytes
9
+ - _load_in_8bit: False
10
+ - _load_in_4bit: True
11
+ - llm_int8_threshold: 6.0
12
+ - llm_int8_skip_modules: None
13
+ - llm_int8_enable_fp32_cpu_offload: False
14
+ - llm_int8_has_fp16_weight: False
15
+ - bnb_4bit_quant_type: nf4
16
+ - bnb_4bit_use_double_quant: True
17
+ - bnb_4bit_compute_dtype: float32
18
+ - bnb_4bit_quant_storage: uint8
19
+ - load_in_4bit: True
20
+ - load_in_8bit: False
21
+ ### Framework versions
22
+
23
+
24
+ - PEFT 0.5.0
models/id-0035/model/adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "/data/public_models/huggingface/meta-llama/Meta-Llama-3-8B-Instruct",
4
+ "bias": "none",
5
+ "fan_in_fan_out": false,
6
+ "inference_mode": true,
7
+ "init_lora_weights": true,
8
+ "layers_pattern": null,
9
+ "layers_to_transform": null,
10
+ "lora_alpha": 16.0,
11
+ "lora_dropout": 0.1,
12
+ "modules_to_save": null,
13
+ "peft_type": "LORA",
14
+ "r": 64,
15
+ "revision": null,
16
+ "target_modules": [
17
+ "k_proj",
18
+ "up_proj",
19
+ "down_proj",
20
+ "v_proj",
21
+ "q_proj",
22
+ "gate_proj",
23
+ "o_proj"
24
+ ],
25
+ "task_type": "CAUSAL_LM"
26
+ }