linlinlin commited on
Commit
9f2e295
·
verified ·
1 Parent(s): 72bb3ed

initial commit without model

Browse files
README.md CHANGED
@@ -1,3 +1,196 @@
1
  ---
2
- license: mit
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: peft
3
+ base_model: mistralai/Mistral-7B-v0.1
4
  ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+ ## Model Details
11
+
12
+ ### Model Description
13
+
14
+ <!-- Provide a longer summary of what this model is. -->
15
+
16
+ - **Developed by:** [More Information Needed]
17
+ - **Funded by [optional]:** [More Information Needed]
18
+ - **Shared by [optional]:** [More Information Needed]
19
+ - **Model type:** [More Information Needed]
20
+ - **Language(s) (NLP):** [More Information Needed]
21
+ - **License:** [More Information Needed]
22
+ - **Finetuned from model [optional]:** [More Information Needed]
23
+
24
+ ### Model Sources [optional]
25
+
26
+ <!-- Provide the basic links for the model. -->
27
+
28
+ - **Repository:** [More Information Needed]
29
+ - **Paper [optional]:** [More Information Needed]
30
+ - **Demo [optional]:** [More Information Needed]
31
+
32
+ ## Uses
33
+
34
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
35
+
36
+ ### Direct Use
37
+
38
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
39
+
40
+ [More Information Needed]
41
+
42
+ ### Downstream Use [optional]
43
+
44
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
45
+
46
+ [More Information Needed]
47
+
48
+ ### Out-of-Scope Use
49
+
50
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ## Bias, Risks, and Limitations
55
+
56
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Recommendations
61
+
62
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
63
+
64
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
65
+
66
+ ## How to Get Started with the Model
67
+
68
+ Use the code below to get started with the model.
69
+
70
+ [More Information Needed]
71
+
72
+ ## Training Details
73
+
74
+ ### Training Data
75
+
76
+ <!-- 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. -->
77
+
78
+ [More Information Needed]
79
+
80
+ ### Training Procedure
81
+
82
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
83
+
84
+ #### Preprocessing [optional]
85
+
86
+ [More Information Needed]
87
+
88
+ #### Training Hyperparameters
89
+
90
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
91
+
92
+ #### Speeds, Sizes, Times [optional]
93
+
94
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
95
+
96
+ [More Information Needed]
97
+
98
+ ## Evaluation
99
+
100
+ <!-- This section describes the evaluation protocols and provides the results. -->
101
+
102
+ ### Testing Data, Factors & Metrics
103
+
104
+ #### Testing Data
105
+
106
+ <!-- This should link to a Dataset Card if possible. -->
107
+
108
+ [More Information Needed]
109
+
110
+ #### Factors
111
+
112
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
113
+
114
+ [More Information Needed]
115
+
116
+ #### Metrics
117
+
118
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
119
+
120
+ [More Information Needed]
121
+
122
+ ### Results
123
+
124
+ [More Information Needed]
125
+
126
+ #### Summary
127
+
128
+ ## Model Examination [optional]
129
+
130
+ <!-- Relevant interpretability work for the model goes here -->
131
+
132
+ [More Information Needed]
133
+
134
+ ## Environmental Impact
135
+
136
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
137
+
138
+ 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).
139
+
140
+ - **Hardware Type:** [More Information Needed]
141
+ - **Hours used:** [More Information Needed]
142
+ - **Cloud Provider:** [More Information Needed]
143
+ - **Compute Region:** [More Information Needed]
144
+ - **Carbon Emitted:** [More Information Needed]
145
+
146
+ ## Technical Specifications [optional]
147
+
148
+ ### Model Architecture and Objective
149
+
150
+ [More Information Needed]
151
+
152
+ ### Compute Infrastructure
153
+
154
+ [More Information Needed]
155
+
156
+ #### Hardware
157
+
158
+ [More Information Needed]
159
+
160
+ #### Software
161
+
162
+ [More Information Needed]
163
+
164
+ ## Citation [optional]
165
+
166
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
167
+
168
+ **BibTeX:**
169
+
170
+ [More Information Needed]
171
+
172
+ **APA:**
173
+
174
+ [More Information Needed]
175
+
176
+ ## Glossary [optional]
177
+
178
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
179
+
180
+ [More Information Needed]
181
+
182
+ ## More Information [optional]
183
+
184
+ [More Information Needed]
185
+
186
+ ## Model Card Authors [optional]
187
+
188
+ [More Information Needed]
189
+
190
+ ## Model Card Contact
191
+
192
+ [More Information Needed]
193
+
194
+ ### Framework versions
195
+
196
+ - PEFT 0.9.0
adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 16,
13
+ "lora_dropout": 0.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 64,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "k_proj",
23
+ "q_proj",
24
+ "v_proj",
25
+ "o_proj"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_dora": false,
29
+ "use_rslora": false
30
+ }
all_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.25,
3
+ "train_loss": 1.0919825553894043,
4
+ "train_runtime": 964.1278,
5
+ "train_samples_per_second": 1.022,
6
+ "train_steps_per_second": 0.005
7
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.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:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
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": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ }
29
+ },
30
+ "additional_special_tokens": [],
31
+ "bos_token": "<s>",
32
+ "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 %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "legacy": true,
36
+ "model_max_length": 2048,
37
+ "pad_token": "</s>",
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,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.25,
3
+ "train_loss": 1.0919825553894043,
4
+ "train_runtime": 964.1278,
5
+ "train_samples_per_second": 1.022,
6
+ "train_steps_per_second": 0.005
7
+ }
trainer_state.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.248730964467005,
5
+ "eval_steps": 500,
6
+ "global_step": 5,
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.65,
13
+ "eval_loss": 1.0991822481155396,
14
+ "eval_runtime": 73.7864,
15
+ "eval_samples_per_second": 2.67,
16
+ "eval_steps_per_second": 2.67,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 1.95,
21
+ "eval_loss": 1.0894932746887207,
22
+ "eval_runtime": 73.7905,
23
+ "eval_samples_per_second": 2.67,
24
+ "eval_steps_per_second": 2.67,
25
+ "step": 3
26
+ },
27
+ {
28
+ "epoch": 2.6,
29
+ "eval_loss": 1.087380290031433,
30
+ "eval_runtime": 73.7864,
31
+ "eval_samples_per_second": 2.67,
32
+ "eval_steps_per_second": 2.67,
33
+ "step": 4
34
+ },
35
+ {
36
+ "epoch": 3.25,
37
+ "grad_norm": 0.20658676326274872,
38
+ "learning_rate": 0.0,
39
+ "loss": 1.092,
40
+ "step": 5
41
+ },
42
+ {
43
+ "epoch": 3.25,
44
+ "eval_loss": 1.0868003368377686,
45
+ "eval_runtime": 73.782,
46
+ "eval_samples_per_second": 2.67,
47
+ "eval_steps_per_second": 2.67,
48
+ "step": 5
49
+ },
50
+ {
51
+ "epoch": 3.25,
52
+ "step": 5,
53
+ "total_flos": 5.634931594100736e+16,
54
+ "train_loss": 1.0919825553894043,
55
+ "train_runtime": 964.1278,
56
+ "train_samples_per_second": 1.022,
57
+ "train_steps_per_second": 0.005
58
+ }
59
+ ],
60
+ "logging_steps": 5,
61
+ "max_steps": 5,
62
+ "num_input_tokens_seen": 0,
63
+ "num_train_epochs": 5,
64
+ "save_steps": 500,
65
+ "total_flos": 5.634931594100736e+16,
66
+ "train_batch_size": 1,
67
+ "trial_name": null,
68
+ "trial_params": null
69
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31be62c714092db40722139b44800a01549a8117d11a8c8356ebcbbd328fa8f4
3
+ size 4920