AmberLJC commited on
Commit
d85b3de
2 Parent(s): d135385 624d5c4
.gitignore CHANGED
@@ -1,3 +1,5 @@
1
  **/.DS_Store
2
  .envrc
3
  pyrightconfig.json
 
 
 
1
  **/.DS_Store
2
  .envrc
3
  pyrightconfig.json
4
+ .idea
5
+ .DS_Store
README.md CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  # ML.ENERGY Leaderboard
2
 
3
  ## Devs
 
1
+ ---
2
+ title: ML.ENERGY Leaderboard
3
+ python_version: 3.9
4
+ app_file: app.py
5
+ sdk: gradio
6
+ sdk_version: 3.23.0
7
+ pinned: false
8
+ ---
9
+
10
  # ML.ENERGY Leaderboard
11
 
12
  ## Devs
spit-fight-website/leaderboard.py → app.py RENAMED
@@ -5,8 +5,8 @@ from huggingface_hub.hf_api import SpaceInfo
5
  import matplotlib.pyplot as plt
6
  import plotly.express as px
7
 
8
- model_perf_table = 'tables/test.csv'
9
- logo_path = 'img/image.png'
10
 
11
 
12
  def get_blocks_party_spaces():
@@ -31,7 +31,7 @@ def create_scatter(x, y, z):
31
  # fig = plt.figure()
32
  # ax = fig.add_subplot()
33
  fig, ax = plt.subplots()
34
-
35
  ax.scatter(list(df[x]),list(df[y]))
36
  for i, label in enumerate(list(df['model'])):
37
  ax.text(list(df[x])[i],list(df[y])[i],str(label))
 
5
  import matplotlib.pyplot as plt
6
  import plotly.express as px
7
 
8
+ model_perf_table = "data/test.csv"
9
+ logo_path = "img/image.png"
10
 
11
 
12
  def get_blocks_party_spaces():
 
31
  # fig = plt.figure()
32
  # ax = fig.add_subplot()
33
  fig, ax = plt.subplots()
34
+
35
  ax.scatter(list(df[x]),list(df[y]))
36
  for i, label in enumerate(list(df['model'])):
37
  ax.text(list(df[x])[i],list(df[y])[i],str(label))
{spit-fight-website → assets}/img/image.png RENAMED
File without changes
{spit-fight-website/tables → data}/test.csv RENAMED
File without changes
requirements.txt CHANGED
@@ -1,5 +1,7 @@
1
  zeus-ml==0.4.0
2
  fastchat==0.2.14
3
- einops==0.6.1
4
- tyro==0.5.3
5
  rwkv==0.7.5
 
 
 
 
 
1
  zeus-ml==0.4.0
2
  fastchat==0.2.14
 
 
3
  rwkv==0.7.5
4
+ einops
5
+ tyro
6
+ plotpy
7
+ gradio
sharegpt/.DS_Store DELETED
Binary file (6.15 kB)
 
spit-fight-website/.DS_Store DELETED
Binary file (6.15 kB)
 
spit-fight-website/.idea/.gitignore DELETED
@@ -1,3 +0,0 @@
1
- # Default ignored files
2
- /shelf/
3
- /workspace.xml
 
 
 
 
spit-fight-website/.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>
 
 
 
 
 
 
 
spit-fight-website/.idea/misc.xml DELETED
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7" project-jdk-type="Python SDK" />
4
- </project>
 
 
 
 
 
spit-fight-website/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/spit-fight-website.iml" filepath="$PROJECT_DIR$/.idea/spit-fight-website.iml" />
6
- </modules>
7
- </component>
8
- </project>
 
 
 
 
 
 
 
 
 
spit-fight-website/.idea/spit-fight-website.iml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="PYTHON_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- </component>
8
- </module>
 
 
 
 
 
 
 
 
 
spit-fight-website/img/.DS_Store DELETED
Binary file (6.15 kB)