Jacqueline Garrahan commited on
Commit
cc9cdc4
·
unverified ·
1 Parent(s): 313be29

Check in the readme

Browse files
Files changed (1) hide show
  1. README.md +8 -4
README.md CHANGED
@@ -13,13 +13,19 @@ license: mit
13
 
14
  Most of the variables to change for a default leaderboard are in `src/env.py` (replace the path for your leaderboard) and `src/about.py` (for tasks).
15
 
 
 
 
 
 
 
 
 
16
  Results files should have the following format and be stored as json files:
17
  ```json
18
  {
19
  "config": {
20
- "model_dtype": "torch.float16", # or torch.bfloat16 or 8bit or 4bit
21
  "model_name": "path of the model on the hub: org/model",
22
- "model_sha": "revision on the hub",
23
  },
24
  "results": {
25
  "task_name": {
@@ -34,8 +40,6 @@ Results files should have the following format and be stored as json files:
34
 
35
  Request files are created automatically by this tool.
36
 
37
- If you encounter problem on the space, don't hesitate to restart it to remove the create eval-queue, eval-queue-bk, eval-results and eval-results-bk created folder.
38
-
39
  # Code logic for more complex edits
40
 
41
  You'll find
 
13
 
14
  Most of the variables to change for a default leaderboard are in `src/env.py` (replace the path for your leaderboard) and `src/about.py` (for tasks).
15
 
16
+
17
+ ## Testing the leaderboard
18
+ The following will launch the leaderboard app at [http://127.0.0.1:7860](http://127.0.0.1:7860).
19
+ ```bash
20
+ GRADIO_SERVER_PORT=7860 gradio app.py
21
+ ```
22
+
23
+
24
  Results files should have the following format and be stored as json files:
25
  ```json
26
  {
27
  "config": {
 
28
  "model_name": "path of the model on the hub: org/model",
 
29
  },
30
  "results": {
31
  "task_name": {
 
40
 
41
  Request files are created automatically by this tool.
42
 
 
 
43
  # Code logic for more complex edits
44
 
45
  You'll find