File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,28 @@ will fit alongside a desktop environment. For now.
188
188
A script is provided to quantize models. Converting large models can be somewhat slow, so be warned. The conversion
189
189
script and its options are explained in [detail here](doc/convert.md)
190
190
191
+ ### Evaluation
192
+
193
+ A script is provided to run the MMLU benchmark. In order to run it you first need to install these packages:
194
+
195
+ ```
196
+ #optional - create a python env
197
+ python -m venv .venv
198
+ #activate the enviroment
199
+ source .venv/bin/activate
200
+
201
+ #install datasets
202
+ pip install datasets
203
+
204
+ #install flash attention
205
+ pip install flash-attn --no-build-isolation
206
+ ```
207
+
208
+ To run the benchmark:
209
+ ```
210
+ python eval/mmlu.py -m /path/to/model
211
+ ```
212
+
191
213
### Community
192
214
193
215
A test community is provided at https://discord.gg/NSFwVuCjRq
You can’t perform that action at this time.
0 commit comments