File size: 540 Bytes
7bd11ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

## 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
```