Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,15 +18,12 @@ To run the benchmark locally on any open dataset that's formatted appropriately,
|
|
| 18 |
By default, it's assumed that a server compatible with the OpenAI API (such as one deployed with VLLM) is used. If you use a different setup, you need to add your own APIModelBase in src/evaluate/util.py.
|
| 19 |
|
| 20 |
Example commands for generating answers:
|
| 21 |
-
|
| 22 |
-
|
| 23 |
```
|
| 24 |
export OPENAI_API_KEY=<your_token>
|
| 25 |
python3 -m src.evaluate.generate_answers --hostname https://api.openai.com/v1 --model-name gpt-3.5-turbo --model-openai gpt-4o --chunk-size 100
|
| 26 |
```
|
| 27 |
-
|
| 28 |
-
- for synchronous generation:
|
| 29 |
-
|
| 30 |
```
|
| 31 |
python3 -m src.evaluate.generate_answers --hostname https://api.openai.com/v1 --model-name gpt-3.5-turbo --model-openai gpt-4o --sync
|
| 32 |
```
|
|
|
|
| 18 |
By default, it's assumed that a server compatible with the OpenAI API (such as one deployed with VLLM) is used. If you use a different setup, you need to add your own APIModelBase in src/evaluate/util.py.
|
| 19 |
|
| 20 |
Example commands for generating answers:
|
| 21 |
+
for asynchronous generation:
|
|
|
|
| 22 |
```
|
| 23 |
export OPENAI_API_KEY=<your_token>
|
| 24 |
python3 -m src.evaluate.generate_answers --hostname https://api.openai.com/v1 --model-name gpt-3.5-turbo --model-openai gpt-4o --chunk-size 100
|
| 25 |
```
|
| 26 |
+
for synchronous generation:
|
|
|
|
|
|
|
| 27 |
```
|
| 28 |
python3 -m src.evaluate.generate_answers --hostname https://api.openai.com/v1 --model-name gpt-3.5-turbo --model-openai gpt-4o --sync
|
| 29 |
```
|