project / README.md
kabylake's picture
commit
7bd11ed
|
raw
history blame contribute delete
No virus
540 Bytes
## Prerequisites
* Tested on Linux (Ubuntu 22.04) and macOS (Apple Silicon).
* Python 3.10
### Before
You should install requirements.txt, and unzip `documents/falcon-refinedweb.zip` into the `documents/falcon-refinedweb` folder.
### Create document embeddings
```bash
python -m app.main index -c config/config.js
```
### Predict on the dataset
```bash
python -m app.main predict -c config/config.js -m config/openai.js
```
### Evaluate the dataset
```bash
python -m app.main evaluate -c config/config.js -m config/openai.js
```