Skip to content

Commit fb41d9d

Browse files
committed
Add Full Leaderboard & Upload support (#27)
* Various architecture changes & clean-ups * Add support for leaderboards (as an API) & vocolab leaderboards * Add support for upload of submissions (pending backend service) ( from #25 )
1 parent f61c850 commit fb41d9d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+2193
-1418
lines changed

pyproject.toml

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,20 @@ name = "zerospeech-benchmarks"
33
readme = "README.md"
44
description = "Toolset for usage of the Zero Resource Challenge Benchmarks."
55
authors = [
6-
{name = "Nicolas Hamilakis", email="[email protected]"},
7-
{name = "CoML Team", email = "[email protected]"}
6+
{ name = "Nicolas Hamilakis", email = "[email protected]" },
7+
{ name = "CoML Team", email = "[email protected]" }
88
]
9-
license = {file = "LICENSE.txt"}
9+
license = { file = "LICENSE.txt" }
1010
requires-python = ">=3.8"
1111
keywords = [
1212
"speech", "machine-learning", "challenges",
1313
"research-tool", "benchmark-speech", "zerospeech"
1414
]
1515
classifiers = [
16+
"Programming Language :: Python :: 3.8",
17+
"Programming Language :: Python :: 3.9",
18+
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
1620
"Development Status :: 4 - Beta",
1721
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
1822
"Topic :: Scientific/Engineering :: Artificial Intelligence",
@@ -27,8 +31,26 @@ repository = "https://github.com/zerospeech/benchmarks"
2731

2832
[project.scripts]
2933
zrc = "zerospeech.startup:main"
34+
abxLS-csv = "zerospeech.leaderboards.exporters.abxLS:cmd"
35+
sLM21-csv = "zerospeech.leaderboards.exporters.sLM21:cmd"
36+
tde17-csv = "zerospeech.leaderboards.exporters.tde17:cmd"
37+
38+
39+
[project.entry-points.'vocolab_ext.leaderboards']
40+
zrc_leaderboards = "zerospeech.leaderboards.vocolab_ext:VocolabLeaderboardManager"
41+
3042

3143
[project.optional-dependencies]
44+
vocolab = [
45+
# todo migrate towards normal install when package is published
46+
"vocolab-extensions @ git+https://github.com/zerospeech/vocolab-ext.git#egg=vocolab_ext"
47+
]
48+
49+
tts019 = [
50+
# todo migrate towards pypi url once module is public
51+
"tts019-evaluator @ https://github.com/zerospeech/tts019-evaluator/archive/master.zip"
52+
]
53+
3254
abx = [
3355
"zerospeech-libriabx>=1.0.5"
3456
]
@@ -37,30 +59,32 @@ abx2 = [
3759
"virtual-dataset"
3860
]
3961
tde = [
40-
"zerospeech-tde>=2.0.2"
62+
"zerospeech-tde>=2.0.3"
4163
]
4264

4365
all = [
44-
"zerospeech-benchmarks[abx,tde,abx2]"
66+
# TDE
67+
"zerospeech-tde>=2.0.3",
68+
# ABX2
69+
"zerospeech-libriabx2>=0.9.8",
70+
"virtual-dataset",
71+
#
4572
]
4673

4774
dev = [
48-
"zerospeech-benchmarks[abx,tde]",
4975
"ipython",
5076
"jupyter",
5177
"pytest",
5278
"twine",
5379
"build"
5480
]
5581

56-
57-
5882
[build-system]
5983
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
6084
build-backend = "setuptools.build_meta"
6185

6286
[tool.setuptools.dynamic]
63-
dependencies = {file = ["requirements.txt"]}
87+
dependencies = { file = ["requirements.txt"] }
6488

6589
[tool.setuptools.packages.find]
6690
where = ["."]

zerospeech/benchmarks/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
from ._benchmarks import sLM_21, abx_LS, tde_17, abx_17, pros_audit
21
from .misc import BenchmarkList

zerospeech/benchmarks/_benchmarks/__init__.py

Whitespace-only changes.

zerospeech/benchmarks/_benchmarks/abx_17/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

zerospeech/benchmarks/_benchmarks/abx_LS/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

zerospeech/benchmarks/_benchmarks/abx_LS/leaderboard.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

zerospeech/benchmarks/_benchmarks/abx_LS/scores.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

zerospeech/benchmarks/_benchmarks/abx_LS/validators.py

Lines changed: 0 additions & 137 deletions
This file was deleted.

zerospeech/benchmarks/_benchmarks/pros_audit/__init__.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

zerospeech/benchmarks/_benchmarks/sLM_21/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)