Cherran commited on
Commit
a4cf065
·
verified ·
1 Parent(s): 2d49dd8

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/mistral-7b-instruct-v0.3-bnb-4bit
3
+ library_name: peft
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.15.2
adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/mistral-7b-instruct-v0.3-bnb-4bit",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 64,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 32,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "k_proj",
28
+ "o_proj",
29
+ "v_proj",
30
+ "gate_proj",
31
+ "down_proj",
32
+ "up_proj",
33
+ "q_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e52e5de0d1b873cba47bf4145ac07c1063dfd13c74a3ce7536f96788b2eba1a5
3
+ size 335604696
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ddd883df0233482261a654462804797bd9c8ad6aa98bfb1c3bc8e07cba80f90
3
+ size 170920084
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d9cd6a0487226e5bd30d1846894c82af483733ab4381b75bae9c0745e05d405
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c22aabfa2f2fd91f64e86fe1cd4039bfeb4d4353977175431d7ec5747a6ee332
3
+ size 1064
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": "[control_768]",
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": false,
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:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
trainer_state.json ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 46,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.10869565217391304,
14
+ "grad_norm": 19.929826736450195,
15
+ "learning_rate": 4.000000000000001e-06,
16
+ "logits/chosen": -3.0748565196990967,
17
+ "logits/rejected": -3.152794599533081,
18
+ "logps/chosen": -36.31090545654297,
19
+ "logps/rejected": -134.4405059814453,
20
+ "loss": 0.3779,
21
+ "rewards/accuracies": 0.9375,
22
+ "rewards/chosen": 0.6441326141357422,
23
+ "rewards/margins": 0.904403567314148,
24
+ "rewards/rejected": -0.26027101278305054,
25
+ "step": 5
26
+ },
27
+ {
28
+ "epoch": 0.21739130434782608,
29
+ "grad_norm": 3.05119252204895,
30
+ "learning_rate": 4.883490980137327e-06,
31
+ "logits/chosen": -3.1105563640594482,
32
+ "logits/rejected": -3.1778032779693604,
33
+ "logps/chosen": -36.36132049560547,
34
+ "logps/rejected": -153.5985107421875,
35
+ "loss": 0.0799,
36
+ "rewards/accuracies": 1.0,
37
+ "rewards/chosen": 0.6721876263618469,
38
+ "rewards/margins": 3.4296391010284424,
39
+ "rewards/rejected": -2.7574515342712402,
40
+ "step": 10
41
+ },
42
+ {
43
+ "epoch": 0.32608695652173914,
44
+ "grad_norm": 1.094469428062439,
45
+ "learning_rate": 4.428722949554858e-06,
46
+ "logits/chosen": -3.132211685180664,
47
+ "logits/rejected": -3.186828136444092,
48
+ "logps/chosen": -37.853267669677734,
49
+ "logps/rejected": -183.9494171142578,
50
+ "loss": 0.0219,
51
+ "rewards/accuracies": 0.987500011920929,
52
+ "rewards/chosen": 0.2748956084251404,
53
+ "rewards/margins": 6.2910261154174805,
54
+ "rewards/rejected": -6.016129970550537,
55
+ "step": 15
56
+ },
57
+ {
58
+ "epoch": 0.43478260869565216,
59
+ "grad_norm": 0.7709254026412964,
60
+ "learning_rate": 3.6942995462806574e-06,
61
+ "logits/chosen": -3.1636807918548584,
62
+ "logits/rejected": -3.2063403129577637,
63
+ "logps/chosen": -45.52863693237305,
64
+ "logps/rejected": -208.6585693359375,
65
+ "loss": 0.0069,
66
+ "rewards/accuracies": 1.0,
67
+ "rewards/chosen": -0.3155127465724945,
68
+ "rewards/margins": 8.49041748046875,
69
+ "rewards/rejected": -8.805930137634277,
70
+ "step": 20
71
+ },
72
+ {
73
+ "epoch": 0.5434782608695652,
74
+ "grad_norm": 0.9683974385261536,
75
+ "learning_rate": 2.786708563496002e-06,
76
+ "logits/chosen": -3.113715410232544,
77
+ "logits/rejected": -3.1793715953826904,
78
+ "logps/chosen": -51.341712951660156,
79
+ "logps/rejected": -242.5277557373047,
80
+ "loss": 0.0146,
81
+ "rewards/accuracies": 1.0,
82
+ "rewards/chosen": -0.7139601111412048,
83
+ "rewards/margins": 10.961573600769043,
84
+ "rewards/rejected": -11.675535202026367,
85
+ "step": 25
86
+ },
87
+ {
88
+ "epoch": 0.6521739130434783,
89
+ "grad_norm": 0.03986353427171707,
90
+ "learning_rate": 1.8375462445083464e-06,
91
+ "logits/chosen": -3.1167349815368652,
92
+ "logits/rejected": -3.1624913215637207,
93
+ "logps/chosen": -54.55385208129883,
94
+ "logps/rejected": -239.08016967773438,
95
+ "loss": 0.0179,
96
+ "rewards/accuracies": 1.0,
97
+ "rewards/chosen": -1.0596555471420288,
98
+ "rewards/margins": 11.23798942565918,
99
+ "rewards/rejected": -12.297645568847656,
100
+ "step": 30
101
+ },
102
+ {
103
+ "epoch": 0.7608695652173914,
104
+ "grad_norm": 1.12047278881073,
105
+ "learning_rate": 9.844364725834058e-07,
106
+ "logits/chosen": -3.0820581912994385,
107
+ "logits/rejected": -3.2092998027801514,
108
+ "logps/chosen": -49.54092788696289,
109
+ "logps/rejected": -246.6052703857422,
110
+ "loss": 0.0341,
111
+ "rewards/accuracies": 0.987500011920929,
112
+ "rewards/chosen": -0.7901324033737183,
113
+ "rewards/margins": 12.993329048156738,
114
+ "rewards/rejected": -13.783464431762695,
115
+ "step": 35
116
+ },
117
+ {
118
+ "epoch": 0.8695652173913043,
119
+ "grad_norm": 0.246961310505867,
120
+ "learning_rate": 3.510759825319976e-07,
121
+ "logits/chosen": -3.0782217979431152,
122
+ "logits/rejected": -3.200848340988159,
123
+ "logps/chosen": -52.44266891479492,
124
+ "logps/rejected": -264.9075012207031,
125
+ "loss": 0.0246,
126
+ "rewards/accuracies": 0.987500011920929,
127
+ "rewards/chosen": -0.9691983461380005,
128
+ "rewards/margins": 13.385457992553711,
129
+ "rewards/rejected": -14.354657173156738,
130
+ "step": 40
131
+ },
132
+ {
133
+ "epoch": 0.9782608695652174,
134
+ "grad_norm": 3.052009105682373,
135
+ "learning_rate": 2.9298940549128962e-08,
136
+ "logits/chosen": -3.0829412937164307,
137
+ "logits/rejected": -3.2069015502929688,
138
+ "logps/chosen": -53.714805603027344,
139
+ "logps/rejected": -255.4803009033203,
140
+ "loss": 0.0202,
141
+ "rewards/accuracies": 1.0,
142
+ "rewards/chosen": -1.093703269958496,
143
+ "rewards/margins": 12.441967964172363,
144
+ "rewards/rejected": -13.535670280456543,
145
+ "step": 45
146
+ }
147
+ ],
148
+ "logging_steps": 5,
149
+ "max_steps": 46,
150
+ "num_input_tokens_seen": 0,
151
+ "num_train_epochs": 1,
152
+ "save_steps": 500,
153
+ "stateful_callbacks": {
154
+ "TrainerControl": {
155
+ "args": {
156
+ "should_epoch_stop": false,
157
+ "should_evaluate": false,
158
+ "should_log": false,
159
+ "should_save": true,
160
+ "should_training_stop": true
161
+ },
162
+ "attributes": {}
163
+ }
164
+ },
165
+ "total_flos": 0.0,
166
+ "train_batch_size": 2,
167
+ "trial_name": null,
168
+ "trial_params": null
169
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a970c0e24d36a0d6a6929cef1b3fa169fda9489e7d5e1c3ae8f40d84ebf09faa
3
+ size 6200