daryl149 commited on
Commit
a34a399
1 Parent(s): dcbcf7a

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +203 -0
README.md ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # For reference on model card metadata, see the spec: https://github.com/huggingface/hub-docs/blob/main/modelcard.md?plain=1
3
+ # Doc / guide: https://huggingface.co/docs/hub/model-cards
4
+ {}
5
+ ---
6
+
7
+ # Llama Gaan 2 7B Chat HF Dutch
8
+
9
+ <!-- Provide a quick summary of what the model is/does. -->
10
+
11
+ This model is a finetuned version of [LLAMA 2 7B Chat](https://huggingface.co/daryl149/llama-2-7b-chat-hf) aiming for Dutch language support 🇳🇱.
12
+ Courtesy of [Mirage Studio](https://www.mirage-studio.io), home of MirageGPT: the private ChatGPT alternative.
13
+
14
+ [Sign up for the Generative AI NL meetup group while you're here!](https://www.meetup.com/generative-ai-nl/events/295248015/)
15
+ [![fancy AI banner](https://drive.google.com/uc?export=view&id=1OweCcQgtJ-VSFjT0IVFlNy5aQM3yZpsx 'Generative AI NL Meetup')](https://www.meetup.com/generative-ai-nl/)
16
+
17
+ ## Model Details
18
+ Epoch 5 checkpoint of llama-2-7b-chat-hf, finetuned to speak Dutch. [Find Epoch 1 here for completeness' sake, it's probably worse though.](https://huggingface.co/Mirage-Studio/llama-gaan-2-7b-chat-hf-dutch)
19
+
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** Mirage Studio
28
+ - **Model type:** Llama chat
29
+ - **Language(s) (NLP):** Dutch
30
+ - **License:** [Llama-2 License](https://github.com/facebookresearch/llama/blob/main/LICENSE)
31
+ - **Finetuned from model:** daryl149/llama-2-7b-chat-hf
32
+
33
+ ### Prompt template
34
+
35
+ ```
36
+ <s>[INST] <<SYS>>
37
+ System prompt
38
+ <</SYS>>
39
+
40
+ User prompt [/INST] Model answer </s>
41
+ ```
42
+
43
+ To continue a conversation
44
+
45
+ ```
46
+ [INST] <<SYS>>
47
+ You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature. If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
48
+ <</SYS>>
49
+
50
+ {prompt} [/INST] {model_reply} [INST] {prompt} [/INST]
51
+ ```
52
+ **N.B.** Set your pad_token_id=18610 in your generator, otherwise it returns gibberish.
53
+
54
+ ### Example usage
55
+ An example question you can ask:
56
+
57
+ Q: Kun je aangeven wat het belang van privacy is voor bedrijven?
58
+
59
+ A: Het belang van privacy voor bedrijven is dat ze hun klanten moeten beschermen tegen onverhoopt gebruik van persoonlijke gegevens die kunnen leiden tot verlies van privacy, strafrechtelijke problemen of reputatieschade. Bedrijven hebben de plicht om hun klanten te informeren over hoe hun gegevens worden gebruikt en welke middelen zijn beschikbaar om deze te beschermen. Bovendien moeten bedrijven zich aan de wetten houden die relevante privacybeveiligingsmaatregelen regelen, zoals GDPR (General Data Protection Regulation) in Europa. Privacy is essentieel voor het bouwen van betrouw en vertrouwen tussen bedrijven en hun klanten, waardoor bedrijven kunnen concurreren in een markt met strengere eisen. In het algemeen kan men zeggen dat privacy een cruciaal aspect is bij het ontwikkelen van succesvolle bedrijfsstrategies.
60
+
61
+
62
+ ### Model Sources [optional]
63
+
64
+ <!-- Provide the basic links for the model. -->
65
+
66
+ - **Repository:** [More Information Needed]
67
+ - **Paper [optional]:** [More Information Needed]
68
+ - **Demo [optional]:** [More Information Needed]
69
+
70
+ ## Uses
71
+
72
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
73
+ It's a Dutch speaking drop in replacement for `meta-llama/Llama-2-7b-chat-hf` and the non-waitlist mirror `daryl149/llama-2-7b-chat-hf`.
74
+
75
+ ### Direct Use
76
+
77
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
78
+
79
+ It's a Dutch speaking drop in replacement for `meta-llama/Llama-2-7b-chat-hf` and the non-waitlist mirror `daryl149/llama-2-7b-chat-hf`.
80
+
81
+ ### Downstream Use [optional]
82
+
83
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
84
+ Do use it for further finetuning and let us know!
85
+
86
+ ### Out-of-Scope Use
87
+
88
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
89
+ Don't be evil.
90
+
91
+ ## Bias, Risks, and Limitations
92
+
93
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
94
+ - It's not quite perfect Dutch yet, but a very promising start.
95
+
96
+ ### Recommendations
97
+
98
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
99
+
100
+
101
+ ## How to Get Started with the Model
102
+
103
+ If you already have a pipeline running llama 2 7B chat in huggingface format, just call this one instead.
104
+ **N.B.** Set pad_token_id=18610 in your generator, otherwise it returns gibberish.
105
+
106
+ ## Training Details
107
+
108
+ ### Training Data
109
+
110
+ <!-- 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. -->
111
+
112
+ [More Information Needed]
113
+
114
+ ### Training Procedure
115
+
116
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
117
+
118
+ #### Preprocessing [optional]
119
+
120
+ [More Information Needed]
121
+
122
+
123
+ #### Training Hyperparameters
124
+
125
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
126
+
127
+ #### Speeds, Sizes, Times [optional]
128
+
129
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
130
+ We reached 32 tokens/second on a V100S without trying anything fancy.
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
+ Yes.
177
+
178
+ ### Model Architecture and Objective
179
+
180
+ [More Information Needed]
181
+
182
+ ### Compute Infrastructure
183
+
184
+ V100S big boi instances, kindly sponsored by OVHCloud
185
+
186
+
187
+ #### Software
188
+
189
+ [More Information Needed]
190
+
191
+ **BibTeX:**
192
+
193
+ [More Information Needed]
194
+
195
+ **APA:**
196
+
197
+ [More Information Needed]
198
+
199
+ ## Model Card Contact
200
+
201
+ [More Information Needed]
202
+
203
+