Spaces:
Running
Running
tianleliphoebe
commited on
Commit
·
515479a
1
Parent(s):
bff72e3
add instruction
Browse files- .gitattributes +0 -35
- .gitignore +0 -13
- .idea/inspectionProfiles/profiles_settings.xml +0 -6
- .idea/vcs.xml +0 -6
- .idea/workspace.xml +28 -20
- .pre-commit-config.yaml +0 -53
- utils.py +1 -1
.gitattributes
DELETED
@@ -1,35 +0,0 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
29 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
32 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
-
scale-hf-logo.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.gitignore
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
auto_evals/
|
2 |
-
venv/
|
3 |
-
__pycache__/
|
4 |
-
.env
|
5 |
-
.ipynb_checkpoints
|
6 |
-
*ipynb
|
7 |
-
.vscode/
|
8 |
-
|
9 |
-
eval-queue/
|
10 |
-
eval-results/
|
11 |
-
eval-queue-bk/
|
12 |
-
eval-results-bk/
|
13 |
-
logs/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/inspectionProfiles/profiles_settings.xml
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
<component name="InspectionProjectProfileManager">
|
2 |
-
<settings>
|
3 |
-
<option name="USE_PROJECT_PROFILE" value="false" />
|
4 |
-
<version value="1.0" />
|
5 |
-
</settings>
|
6 |
-
</component>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/vcs.xml
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<project version="4">
|
3 |
-
<component name="VcsDirectoryMappings">
|
4 |
-
<mapping directory="" vcs="Git" />
|
5 |
-
</component>
|
6 |
-
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/workspace.xml
CHANGED
@@ -4,7 +4,14 @@
|
|
4 |
<option name="autoReloadType" value="SELECTIVE" />
|
5 |
</component>
|
6 |
<component name="ChangeListManager">
|
7 |
-
<list default="true" id="3d0b80a0-f37a-4c25-aff4-610e5e3fcce3" name="Changes" comment=""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
<option name="SHOW_DIALOG" value="false" />
|
9 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
10 |
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
@@ -16,27 +23,27 @@
|
|
16 |
<component name="MarkdownSettingsMigration">
|
17 |
<option name="stateVersion" value="1" />
|
18 |
</component>
|
19 |
-
<component name="ProjectColorInfo"
|
20 |
-
|
21 |
-
}
|
22 |
<component name="ProjectId" id="2gX10p1arR59WiAtOrsj8VKtUGi" />
|
23 |
<component name="ProjectViewState">
|
24 |
<option name="hideEmptyMiddlePackages" value="true" />
|
25 |
<option name="showLibraryContents" value="true" />
|
26 |
</component>
|
27 |
-
<component name="PropertiesComponent"
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
}
|
39 |
-
}
|
40 |
<component name="RdControllerToolWindowsLayoutState" isNewUi="true">
|
41 |
<layout>
|
42 |
<window_info id="Space Code Reviews" />
|
@@ -55,14 +62,14 @@
|
|
55 |
<window_info anchor="bottom" id="File Transfer" />
|
56 |
<window_info anchor="bottom" id="Python Console" />
|
57 |
<window_info anchor="bottom" id="Version Control" order="0" />
|
58 |
-
<window_info anchor="bottom" id="Problems View" order="
|
59 |
-
<window_info active="true" anchor="bottom" id="Terminal" order="
|
60 |
-
<window_info anchor="bottom" id="Services" order="
|
61 |
<window_info anchor="right" id="Endpoints" />
|
62 |
<window_info anchor="right" id="SciView" />
|
63 |
<window_info anchor="right" id="Meet New UI" side_tool="true" />
|
64 |
<window_info anchor="right" content_ui="combo" id="Notifications" order="0" weight="0.25" />
|
65 |
-
<window_info anchor="right" id="Database" order="
|
66 |
</layout>
|
67 |
</component>
|
68 |
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
@@ -74,6 +81,7 @@
|
|
74 |
<option name="presentableId" value="Default" />
|
75 |
<updated>1715828891136</updated>
|
76 |
<workItem from="1715828895296" duration="8493000" />
|
|
|
77 |
</task>
|
78 |
<servers />
|
79 |
</component>
|
|
|
4 |
<option name="autoReloadType" value="SELECTIVE" />
|
5 |
</component>
|
6 |
<component name="ChangeListManager">
|
7 |
+
<list default="true" id="3d0b80a0-f37a-4c25-aff4-610e5e3fcce3" name="Changes" comment="">
|
8 |
+
<change beforePath="$PROJECT_DIR$/.gitattributes" beforeDir="false" />
|
9 |
+
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" />
|
10 |
+
<change beforePath="$PROJECT_DIR$/.idea/inspectionProfiles/profiles_settings.xml" beforeDir="false" />
|
11 |
+
<change beforePath="$PROJECT_DIR$/.idea/vcs.xml" beforeDir="false" />
|
12 |
+
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" />
|
13 |
+
<change beforePath="$PROJECT_DIR$/.pre-commit-config.yaml" beforeDir="false" />
|
14 |
+
</list>
|
15 |
<option name="SHOW_DIALOG" value="false" />
|
16 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
17 |
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
|
23 |
<component name="MarkdownSettingsMigration">
|
24 |
<option name="stateVersion" value="1" />
|
25 |
</component>
|
26 |
+
<component name="ProjectColorInfo">{
|
27 |
+
"associatedIndex": 2
|
28 |
+
}</component>
|
29 |
<component name="ProjectId" id="2gX10p1arR59WiAtOrsj8VKtUGi" />
|
30 |
<component name="ProjectViewState">
|
31 |
<option name="hideEmptyMiddlePackages" value="true" />
|
32 |
<option name="showLibraryContents" value="true" />
|
33 |
</component>
|
34 |
+
<component name="PropertiesComponent">{
|
35 |
+
"keyToString": {
|
36 |
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
37 |
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
38 |
+
"WebServerToolWindowFactoryState": "false",
|
39 |
+
"git-widget-placeholder": "main",
|
40 |
+
"node.js.detected.package.eslint": "true",
|
41 |
+
"node.js.detected.package.tslint": "true",
|
42 |
+
"node.js.selected.package.eslint": "(autodetect)",
|
43 |
+
"node.js.selected.package.tslint": "(autodetect)",
|
44 |
+
"vue.rearranger.settings.migration": "true"
|
45 |
}
|
46 |
+
}</component>
|
47 |
<component name="RdControllerToolWindowsLayoutState" isNewUi="true">
|
48 |
<layout>
|
49 |
<window_info id="Space Code Reviews" />
|
|
|
62 |
<window_info anchor="bottom" id="File Transfer" />
|
63 |
<window_info anchor="bottom" id="Python Console" />
|
64 |
<window_info anchor="bottom" id="Version Control" order="0" />
|
65 |
+
<window_info anchor="bottom" id="Problems View" order="1" />
|
66 |
+
<window_info active="true" anchor="bottom" id="Terminal" order="2" visible="true" weight="0.3299107" />
|
67 |
+
<window_info anchor="bottom" id="Services" order="3" />
|
68 |
<window_info anchor="right" id="Endpoints" />
|
69 |
<window_info anchor="right" id="SciView" />
|
70 |
<window_info anchor="right" id="Meet New UI" side_tool="true" />
|
71 |
<window_info anchor="right" content_ui="combo" id="Notifications" order="0" weight="0.25" />
|
72 |
+
<window_info anchor="right" id="Database" order="1" weight="0.25" />
|
73 |
</layout>
|
74 |
</component>
|
75 |
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
|
|
81 |
<option name="presentableId" value="Default" />
|
82 |
<updated>1715828891136</updated>
|
83 |
<workItem from="1715828895296" duration="8493000" />
|
84 |
+
<workItem from="1715915529487" duration="921000" />
|
85 |
</task>
|
86 |
<servers />
|
87 |
</component>
|
.pre-commit-config.yaml
DELETED
@@ -1,53 +0,0 @@
|
|
1 |
-
# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
|
2 |
-
#
|
3 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
-
# you may not use this file except in compliance with the License.
|
5 |
-
# You may obtain a copy of the License at
|
6 |
-
#
|
7 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
-
#
|
9 |
-
# Unless required by applicable law or agreed to in writing, software
|
10 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
-
# See the License for the specific language governing permissions and
|
13 |
-
# limitations under the License.
|
14 |
-
|
15 |
-
default_language_version:
|
16 |
-
python: python3
|
17 |
-
|
18 |
-
ci:
|
19 |
-
autofix_prs: true
|
20 |
-
autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'
|
21 |
-
autoupdate_schedule: quarterly
|
22 |
-
|
23 |
-
repos:
|
24 |
-
- repo: https://github.com/pre-commit/pre-commit-hooks
|
25 |
-
rev: v4.3.0
|
26 |
-
hooks:
|
27 |
-
- id: check-yaml
|
28 |
-
- id: check-case-conflict
|
29 |
-
- id: detect-private-key
|
30 |
-
- id: check-added-large-files
|
31 |
-
args: ['--maxkb=1000']
|
32 |
-
- id: requirements-txt-fixer
|
33 |
-
- id: end-of-file-fixer
|
34 |
-
- id: trailing-whitespace
|
35 |
-
|
36 |
-
- repo: https://github.com/PyCQA/isort
|
37 |
-
rev: 5.12.0
|
38 |
-
hooks:
|
39 |
-
- id: isort
|
40 |
-
name: Format imports
|
41 |
-
|
42 |
-
- repo: https://github.com/psf/black
|
43 |
-
rev: 22.12.0
|
44 |
-
hooks:
|
45 |
-
- id: black
|
46 |
-
name: Format code
|
47 |
-
additional_dependencies: ['click==8.0.2']
|
48 |
-
|
49 |
-
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
50 |
-
# Ruff version.
|
51 |
-
rev: 'v0.0.267'
|
52 |
-
hooks:
|
53 |
-
- id: ruff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
utils.py
CHANGED
@@ -135,7 +135,7 @@ CITATION_BUTTON_TEXT = r"""@article{Li2024LongcontextLS,
|
|
135 |
|
136 |
SUBMIT_INTRODUCTION = """# Submit on LongICL Leaderboard Introduction
|
137 |
|
138 |
-
## ⚠ Please note that you need to submit the json file with following format:
|
139 |
|
140 |
```json
|
141 |
{
|
|
|
135 |
|
136 |
SUBMIT_INTRODUCTION = """# Submit on LongICL Leaderboard Introduction
|
137 |
|
138 |
+
## ⚠ Please note that you need to submit the json file with following format (Only include the highest score among 1/2/3/4/5 rounds for each dataset):
|
139 |
|
140 |
```json
|
141 |
{
|