Skip to content

Commit 01d01a1

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 65d4087 + 7fad4f3 commit 01d01a1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,28 @@ will fit alongside a desktop environment. For now.
188188
A script is provided to quantize models. Converting large models can be somewhat slow, so be warned. The conversion
189189
script and its options are explained in [detail here](doc/convert.md)
190190
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+
191213
### Community
192214
193215
A test community is provided at https://discord.gg/NSFwVuCjRq

0 commit comments

Comments
 (0)