Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Remove junk from readme.
Browse files
README.md
CHANGED
|
@@ -13,9 +13,10 @@ sdk_version: 5.19.0
|
|
| 13 |
|
| 14 |
# Start the configuration
|
| 15 |
|
| 16 |
-
Most of the variables to change for a default leaderboard are in `src/env.py`
|
| 17 |
|
| 18 |
Results files should have the following format and be stored as json files:
|
|
|
|
| 19 |
```json
|
| 20 |
{
|
| 21 |
"config": {
|
|
@@ -36,23 +37,9 @@ Results files should have the following format and be stored as json files:
|
|
| 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 |
You'll find
|
| 44 |
-
- The main table
|
| 45 |
- The logic to read all results and request files, then convert them in dataframe lines, in `src/populate.py`
|
| 46 |
-
- The logic to allow or filter submissions in `src/submission/submit.py`.
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
# Setting up the environment
|
| 50 |
-
If you encounter issues with SentencePiece package, see this thread:
|
| 51 |
-
https://github.com/google/sentencepiece/issues/1083
|
| 52 |
-
|
| 53 |
-
Specifically:
|
| 54 |
-
```
|
| 55 |
-
brew install cmake pkg-config
|
| 56 |
-
export CMAKE_POLICY_VERSION_MINIMUM=3.5
|
| 57 |
-
pip install sentencepiece --no-cache-dir
|
| 58 |
-
```
|
|
|
|
| 13 |
|
| 14 |
# Start the configuration
|
| 15 |
|
| 16 |
+
Most of the variables to change for a default leaderboard are in `src/env.py` and `src/about.py`.
|
| 17 |
|
| 18 |
Results files should have the following format and be stored as json files:
|
| 19 |
+
|
| 20 |
```json
|
| 21 |
{
|
| 22 |
"config": {
|
|
|
|
| 37 |
|
| 38 |
Request files are created automatically by this tool.
|
| 39 |
|
|
|
|
|
|
|
| 40 |
# Code logic for more complex edits
|
| 41 |
|
| 42 |
You'll find
|
| 43 |
+
- The main table columns names and properties in `src/display/utils.py`
|
| 44 |
- The logic to read all results and request files, then convert them in dataframe lines, in `src/populate.py`
|
| 45 |
+
- The logic to allow or filter submissions in `src/submission/submit.py`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|