Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,47 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
## 简介
|
| 10 |
-
本项目用于展示一个文本生成模型的功能。
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: 3d Iou Challenge
|
| 3 |
+
emoji: 🥇
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: indigo
|
| 6 |
+
sdk: gradio
|
| 7 |
+
app_file: app.py
|
| 8 |
+
pinned: true
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
short_description: Duplicate this leaderboard to initialize your own!
|
| 11 |
+
sdk_version: 5.19.0
|
| 12 |
+
---
|
| 13 |
|
| 14 |
+
# Start the configuration
|
| 15 |
|
| 16 |
+
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).
|
| 17 |
|
| 18 |
+
Results files should have the following format and be stored as json files:
|
| 19 |
+
```json
|
| 20 |
+
{
|
| 21 |
+
"config": {
|
| 22 |
+
"model_dtype": "torch.float16", # or torch.bfloat16 or 8bit or 4bit
|
| 23 |
+
"model_name": "path of the model on the hub: org/model",
|
| 24 |
+
"model_sha": "revision on the hub",
|
| 25 |
+
},
|
| 26 |
+
"results": {
|
| 27 |
+
"task_name": {
|
| 28 |
+
"metric_name": score,
|
| 29 |
+
},
|
| 30 |
+
"task_name2": {
|
| 31 |
+
"metric_name": score,
|
| 32 |
+
}
|
| 33 |
+
}
|
| 34 |
+
}
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
Request files are created automatically by this tool.
|
| 38 |
+
|
| 39 |
+
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.
|
| 40 |
+
|
| 41 |
+
# Code logic for more complex edits
|
| 42 |
|
|
|
|
|
|
|
| 43 |
|
| 44 |
+
You'll find
|
| 45 |
+
- the main table' columns names and properties in `src/display/utils.py`
|
| 46 |
+
- the logic to read all results and request files, then convert them in dataframe lines, in `src/leaderboard/read_evals.py`, and `src/populate.py`
|
| 47 |
+
- the logic to allow or filter submissions in `src/submission/submit.py` and `src/submission/check_validity.py`
|