Alina Lozovskaia commited on
Commit
d1e0a09
1 Parent(s): 3e83c57

updated python to 3.12.1

Browse files
Files changed (5) hide show
  1. .gitignore +1 -0
  2. poetry.lock +0 -0
  3. pyproject.toml +7 -6
  4. requirements.txt +5 -5
  5. src/display/utils.py +1 -1
.gitignore CHANGED
@@ -10,6 +10,7 @@ __pycache__/
10
  .python-version
11
  .profile_app.python
12
  *pstats
 
13
 
14
  eval-queue/
15
  eval-results/
 
10
  .python-version
11
  .profile_app.python
12
  *pstats
13
+ poetry.lock
14
 
15
  eval-queue/
16
  eval-results/
poetry.lock DELETED
The diff for this file is too large to render. See raw diff
 
pyproject.toml CHANGED
@@ -13,6 +13,7 @@ line_length = 119
13
  line-length = 119
14
 
15
  [tool.poetry]
 
16
  name = "open-llm-leaderboard"
17
  version = "0.1.0"
18
  description = ""
@@ -20,23 +21,23 @@ authors = []
20
  readme = "README.md"
21
 
22
  [tool.poetry.dependencies]
23
- python = "3.10.0"
24
  apscheduler = "3.10.1"
25
  black = "23.11.0"
26
  click = "8.1.3"
27
  datasets = "2.14.5"
28
  huggingface-hub = ">=0.18.0"
29
- matplotlib = "3.7.1"
30
- numpy = "1.24.2"
31
- pandas = "2.0.0"
32
  plotly = "5.14.1"
33
  python-dateutil = "2.8.2"
34
  requests = "2.28.2"
35
  sentencepiece = "^0.2.0"
36
  tqdm = "4.65.0"
37
- transformers = "4.39.0"
38
  tokenizers = ">=0.15.0"
39
- gradio-space-ci = {git = "https://huggingface.co/spaces/Wauplin/gradio-space-ci", rev = "0.2.1"}
40
  gradio = "4.9.0"
41
  isort = "^5.13.2"
42
  ruff = "^0.3.5"
 
13
  line-length = 119
14
 
15
  [tool.poetry]
16
+ package-mode = false
17
  name = "open-llm-leaderboard"
18
  version = "0.1.0"
19
  description = ""
 
21
  readme = "README.md"
22
 
23
  [tool.poetry.dependencies]
24
+ python = "3.12.1"
25
  apscheduler = "3.10.1"
26
  black = "23.11.0"
27
  click = "8.1.3"
28
  datasets = "2.14.5"
29
  huggingface-hub = ">=0.18.0"
30
+ matplotlib = "3.8.4"
31
+ numpy = "1.26.0"
32
+ pandas = "2.2.2"
33
  plotly = "5.14.1"
34
  python-dateutil = "2.8.2"
35
  requests = "2.28.2"
36
  sentencepiece = "^0.2.0"
37
  tqdm = "4.65.0"
38
+ transformers = "4.40.0"
39
  tokenizers = ">=0.15.0"
40
+ gradio-space-ci = {git = "https://huggingface.co/spaces/Wauplin/gradio-space-ci", rev = "0.2.3"}
41
  gradio = "4.9.0"
42
  isort = "^5.13.2"
43
  ruff = "^0.3.5"
requirements.txt CHANGED
@@ -3,14 +3,14 @@ black==23.11.0
3
  click==8.1.3
4
  datasets==2.14.5
5
  huggingface-hub>=0.18.0
6
- matplotlib==3.7.1
7
- numpy==1.24.2
8
- pandas==2.0.0
9
  plotly==5.14.1
10
  python-dateutil==2.8.2
11
  requests==2.28.2
12
  sentencepiece
13
  tqdm==4.65.0
14
- transformers==4.39.0
15
  tokenizers>=0.15.0
16
- gradio-space-ci @ git+https://huggingface.co/spaces/Wauplin/gradio-space-ci@0.2.3 # CI !!!
 
3
  click==8.1.3
4
  datasets==2.14.5
5
  huggingface-hub>=0.18.0
6
+ matplotlib==3.8.4
7
+ numpy==1.26.0
8
+ pandas==2.2.2
9
  plotly==5.14.1
10
  python-dateutil==2.8.2
11
  requests==2.28.2
12
  sentencepiece
13
  tqdm==4.65.0
14
+ transformers==4.40.0
15
  tokenizers>=0.15.0
16
+ gradio-space-ci @ git+https://huggingface.co/spaces/Wauplin/gradio-space-ci@0.2.3 # CI !!!
src/display/utils.py CHANGED
@@ -37,7 +37,7 @@ class Tasks(Enum):
37
  # These classes are for user facing column names,
38
  # to avoid having to change them all around the code
39
  # when a modif is needed
40
- @dataclass
41
  class ColumnContent:
42
  name: str
43
  type: str
 
37
  # These classes are for user facing column names,
38
  # to avoid having to change them all around the code
39
  # when a modif is needed
40
+ @dataclass(frozen=True)
41
  class ColumnContent:
42
  name: str
43
  type: str