Roselia-penguin commited on
Commit
6488b8f
1 Parent(s): 6905c94

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +237 -3
README.md CHANGED
@@ -1,3 +1,237 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ metrics:
4
+ - bleu
5
+ tags:
6
+ - medical
7
+ ---
8
+
9
+ # Model Card for Model ID
10
+
11
+ <!-- Provide a quick summary of what the model is/does. -->
12
+
13
+ This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1).
14
+
15
+ ## Model Details
16
+
17
+ ### Model Description
18
+
19
+ <!-- Provide a longer summary of what this model is. -->
20
+
21
+
22
+
23
+ - **Developed by:** [More Information Needed]
24
+ - **Funded by [optional]:** [More Information Needed]
25
+ - **Shared by [optional]:** [More Information Needed]
26
+ - **Model type:** [More Information Needed]
27
+ - **Language(s) (NLP):** [More Information Needed]
28
+ - **License:** [More Information Needed]
29
+ - **Finetuned from model [optional]:** [More Information Needed]
30
+
31
+ ### Model Sources [optional]
32
+
33
+ <!-- Provide the basic links for the model. -->
34
+
35
+ - **Repository:** [More Information Needed]
36
+ - **Paper [optional]:** [More Information Needed]
37
+ - **Demo [optional]:** [More Information Needed]
38
+
39
+ ## Uses
40
+
41
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
42
+
43
+ ### Direct Use
44
+
45
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
46
+
47
+ [More Information Needed]
48
+
49
+ ### Downstream Use [optional]
50
+
51
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
52
+
53
+ [More Information Needed]
54
+
55
+ ### Out-of-Scope Use
56
+
57
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
58
+
59
+ [More Information Needed]
60
+
61
+ ## Bias, Risks, and Limitations
62
+
63
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
64
+
65
+ [More Information Needed]
66
+
67
+ ### Recommendations
68
+
69
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
70
+
71
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
72
+
73
+ ## How to Get Started with the Model
74
+
75
+ Use the code below to get started with the model.
76
+
77
+ [More Information Needed]
78
+
79
+ ## Training Details
80
+
81
+ ### Training Data
82
+
83
+ <!-- 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. -->
84
+
85
+ [More Information Needed]
86
+
87
+ ### Training Procedure
88
+
89
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
90
+
91
+ #### Preprocessing [optional]
92
+
93
+ [More Information Needed]
94
+
95
+
96
+ #### Training Hyperparameters
97
+
98
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
99
+
100
+ llamafactory-cli train \
101
+ --stage sft \
102
+ --do_train True \
103
+ --model_name_or_path Qwen/Qwen1.5-7B-Chat \
104
+ --preprocessing_num_workers 16 \
105
+ --finetuning_type lora \
106
+ --quantization_bit 8 \
107
+ --template qwen \
108
+ --flash_attn auto \
109
+ --dataset_dir data \
110
+ --dataset healthcare \
111
+ --cutoff_len 512 \
112
+ --learning_rate 0.0002 \
113
+ --num_train_epochs 1.0 \
114
+ --max_samples 10000 \
115
+ --per_device_train_batch_size 2 \
116
+ --gradient_accumulation_steps 16 \
117
+ --lr_scheduler_type cosine \
118
+ --max_grad_norm 1.0 \
119
+ --logging_steps 5 \
120
+ --save_steps 100 \
121
+ --warmup_steps 0 \
122
+ --optim adamw_torch \
123
+ --packing False \
124
+ --report_to none \
125
+ --output_dir saves/Qwen1.5-7B-Chat/lora/8-bit_Qwen1.5-7B-Chat \
126
+ --fp16 True \
127
+ --plot_loss True \
128
+ --ddp_timeout 180000000 \
129
+ --include_num_input_tokens_seen True \
130
+ --lora_rank 16 \
131
+ --lora_alpha 16 \
132
+ --lora_dropout 0.05 \
133
+ --lora_target all \
134
+
135
+ #### Speeds, Sizes, Times [optional]
136
+
137
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Evaluation
142
+
143
+ <!-- This section describes the evaluation protocols and provides the results. -->
144
+
145
+ ### Testing Data, Factors & Metrics
146
+
147
+ #### Testing Data
148
+
149
+ <!-- This should link to a Dataset Card if possible. -->
150
+
151
+ [More Information Needed]
152
+
153
+ #### Factors
154
+
155
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
156
+
157
+ [More Information Needed]
158
+
159
+ #### Metrics
160
+
161
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
162
+
163
+ [More Information Needed]
164
+
165
+ ### Results
166
+
167
+ [More Information Needed]
168
+
169
+ #### Summary
170
+
171
+
172
+
173
+ ## Model Examination [optional]
174
+
175
+ <!-- Relevant interpretability work for the model goes here -->
176
+
177
+ [More Information Needed]
178
+
179
+ ## Environmental Impact
180
+
181
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
182
+
183
+ 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).
184
+
185
+ - **Hardware Type:** [More Information Needed]
186
+ - **Hours used:** [More Information Needed]
187
+ - **Cloud Provider:** [More Information Needed]
188
+ - **Compute Region:** [More Information Needed]
189
+ - **Carbon Emitted:** [More Information Needed]
190
+
191
+ ## Technical Specifications [optional]
192
+
193
+ ### Model Architecture and Objective
194
+
195
+ [More Information Needed]
196
+
197
+ ### Compute Infrastructure
198
+
199
+ [More Information Needed]
200
+
201
+ #### Hardware
202
+
203
+ [More Information Needed]
204
+
205
+ #### Software
206
+
207
+ [More Information Needed]
208
+
209
+ ## Citation [optional]
210
+
211
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
212
+
213
+ **BibTeX:**
214
+
215
+ [More Information Needed]
216
+
217
+ **APA:**
218
+
219
+ [More Information Needed]
220
+
221
+ ## Glossary [optional]
222
+
223
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
224
+
225
+ [More Information Needed]
226
+
227
+ ## More Information [optional]
228
+
229
+ [More Information Needed]
230
+
231
+ ## Model Card Authors [optional]
232
+
233
+ [More Information Needed]
234
+
235
+ ## Model Card Contact
236
+
237
+ [More Information Needed]