Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
ayushi0430
commited on
Commit
•
f5705c5
1
Parent(s):
a4a4c60
update readme
Browse files- README.md +6 -7
- src/about.py +1 -1
README.md
CHANGED
@@ -14,21 +14,20 @@ license: apache-2.0
|
|
14 |
|
15 |
To run this code locally:
|
16 |
|
17 |
-
1. Change the environment variables in `src/env`
|
18 |
|
19 |
-
2.
|
20 |
```
|
21 |
-
./start.sh RUN_MODE="LOCAL" LOCAL_MODEL_NAME="<any huggingface model you want to try>"
|
22 |
|
23 |
Eg:
|
24 |
./start.sh RUN_MODE="LOCAL" LOCAL_MODEL_NAME="hf-internal-testing/tiny-random-gpt2"
|
25 |
```
|
26 |
-
This does not upload/download any requests/results files.
|
27 |
-
|
28 |
|
29 |
### Adhoc evaluation:
|
30 |
|
31 |
-
To
|
32 |
```
|
33 |
-
./run-adhoc.sh
|
34 |
```
|
|
|
|
14 |
|
15 |
To run this code locally:
|
16 |
|
17 |
+
1. Change the environment variables in `src/env` to add your API keys.
|
18 |
|
19 |
+
2. To run the backend server + UI locally, run the following command:
|
20 |
```
|
21 |
+
./start.sh RUN_MODE="LOCAL" LOCAL_MODEL_NAME="<any huggingface or openai model you want to try>"
|
22 |
|
23 |
Eg:
|
24 |
./start.sh RUN_MODE="LOCAL" LOCAL_MODEL_NAME="hf-internal-testing/tiny-random-gpt2"
|
25 |
```
|
|
|
|
|
26 |
|
27 |
### Adhoc evaluation:
|
28 |
|
29 |
+
To run only the backend server locally to quickly get the evaluation results, run the following command:
|
30 |
```
|
31 |
+
./run-adhoc.sh LOCAL_MODEL_NAME="<any huggingface or openai model you want to try>"
|
32 |
```
|
33 |
+
This will still allow you to save your benchmarking results in the folder `output-data`.
|
src/about.py
CHANGED
@@ -175,7 +175,7 @@ f"How would you score the model's answer compared to the gold answer (using the
|
|
175 |
## Reproducibility
|
176 |
1. Clone this repo by following the steps provided [here.](https://huggingface.co/spaces/lamini/leaderboard?clone=true)
|
177 |
|
178 |
-
2. Now change the environment variables in `src/env` to add your
|
179 |
|
180 |
There are 2 ways to run this code locally:
|
181 |
|
|
|
175 |
## Reproducibility
|
176 |
1. Clone this repo by following the steps provided [here.](https://huggingface.co/spaces/lamini/leaderboard?clone=true)
|
177 |
|
178 |
+
2. Now change the environment variables in `src/env` to add your API keys.
|
179 |
|
180 |
There are 2 ways to run this code locally:
|
181 |
|