JiunYi commited on
Commit
e36f019
1 Parent(s): a63e2e1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -187
README.md CHANGED
@@ -4,7 +4,6 @@ datasets:
4
  - shibing624/alpaca-zh
5
  language:
6
  - zh
7
- library_name: transformers
8
  tags:
9
  - LoRA
10
  - LLaMA
@@ -13,35 +12,10 @@ tags:
13
  - int8
14
  ---
15
 
16
- # Model Card for Model ID
17
 
18
  <!-- Provide a quick summary of what the model is/does. -->
19
 
20
- 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).
21
-
22
- ## Model Details
23
-
24
- ### Model Description
25
-
26
- <!-- Provide a longer summary of what this model is. -->
27
-
28
-
29
-
30
- - **Developed by:** [More Information Needed]
31
- - **Shared by [optional]:** [More Information Needed]
32
- - **Model type:** [More Information Needed]
33
- - **Language(s) (NLP):** [More Information Needed]
34
- - **License:** [More Information Needed]
35
- - **Finetuned from model [optional]:** [More Information Needed]
36
-
37
- ### Model Sources [optional]
38
-
39
- <!-- Provide the basic links for the model. -->
40
-
41
- - **Repository:** [More Information Needed]
42
- - **Paper [optional]:** [More Information Needed]
43
- - **Demo [optional]:** [More Information Needed]
44
-
45
  ## Uses
46
 
47
  <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
@@ -50,7 +24,7 @@ This modelcard aims to be a base template for new models. It has been generated
50
 
51
  <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
52
 
53
- ```=python
54
  from peft import PeftModel
55
  from transformers import GenerationConfig, LlamaForCausalLM, LlamaTokenizer
56
 
@@ -71,162 +45,3 @@ model = PeftModel.from_pretrained(
71
  max_memory=max_memory
72
  )
73
  ```
74
-
75
- [More Information Needed]
76
-
77
- ### Downstream Use [optional]
78
-
79
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
80
-
81
- [More Information Needed]
82
-
83
- ### Out-of-Scope Use
84
-
85
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
86
-
87
- [More Information Needed]
88
-
89
- ## Bias, Risks, and Limitations
90
-
91
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
92
-
93
- [More Information Needed]
94
-
95
- ### Recommendations
96
-
97
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
98
-
99
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
100
-
101
- ## How to Get Started with the Model
102
-
103
- Use the code below to get started with the model.
104
-
105
- [More Information Needed]
106
-
107
- ## Training Details
108
-
109
- ### Training Data
110
-
111
- <!-- This should link to a Data 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. -->
112
-
113
- [More Information Needed]
114
-
115
- ### Training Procedure
116
-
117
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
118
-
119
- #### Preprocessing [optional]
120
-
121
- [More Information Needed]
122
-
123
-
124
- #### Training Hyperparameters
125
-
126
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
127
-
128
- #### Speeds, Sizes, Times [optional]
129
-
130
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
131
-
132
- [More Information Needed]
133
-
134
- ## Evaluation
135
-
136
- <!-- This section describes the evaluation protocols and provides the results. -->
137
-
138
- ### Testing Data, Factors & Metrics
139
-
140
- #### Testing Data
141
-
142
- <!-- This should link to a Data Card if possible. -->
143
-
144
- [More Information Needed]
145
-
146
- #### Factors
147
-
148
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
149
-
150
- [More Information Needed]
151
-
152
- #### Metrics
153
-
154
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
155
-
156
- [More Information Needed]
157
-
158
- ### Results
159
-
160
- [More Information Needed]
161
-
162
- #### Summary
163
-
164
-
165
-
166
- ## Model Examination [optional]
167
-
168
- <!-- Relevant interpretability work for the model goes here -->
169
-
170
- [More Information Needed]
171
-
172
- ## Environmental Impact
173
-
174
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
175
-
176
- 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).
177
-
178
- - **Hardware Type:** [More Information Needed]
179
- - **Hours used:** [More Information Needed]
180
- - **Cloud Provider:** [More Information Needed]
181
- - **Compute Region:** [More Information Needed]
182
- - **Carbon Emitted:** [More Information Needed]
183
-
184
- ## Technical Specifications [optional]
185
-
186
- ### Model Architecture and Objective
187
-
188
- [More Information Needed]
189
-
190
- ### Compute Infrastructure
191
-
192
- [More Information Needed]
193
-
194
- #### Hardware
195
-
196
- [More Information Needed]
197
-
198
- #### Software
199
-
200
- [More Information Needed]
201
-
202
- ## Citation [optional]
203
-
204
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
205
-
206
- **BibTeX:**
207
-
208
- [More Information Needed]
209
-
210
- **APA:**
211
-
212
- [More Information Needed]
213
-
214
- ## Glossary [optional]
215
-
216
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
217
-
218
- [More Information Needed]
219
-
220
- ## More Information [optional]
221
-
222
- [More Information Needed]
223
-
224
- ## Model Card Authors [optional]
225
-
226
- [More Information Needed]
227
-
228
- ## Model Card Contact
229
-
230
- [More Information Needed]
231
-
232
-
 
4
  - shibing624/alpaca-zh
5
  language:
6
  - zh
 
7
  tags:
8
  - LoRA
9
  - LLaMA
 
12
  - int8
13
  ---
14
 
15
+ # Model Card for llama-7b-alpaca-zh-20k
16
 
17
  <!-- Provide a quick summary of what the model is/does. -->
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  ## Uses
20
 
21
  <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
 
24
 
25
  <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
26
 
27
+ ```python
28
  from peft import PeftModel
29
  from transformers import GenerationConfig, LlamaForCausalLM, LlamaTokenizer
30
 
 
45
  max_memory=max_memory
46
  )
47
  ```