陈俊杰
commited on
Commit
•
73a9525
1
Parent(s):
55d8e30
add file
Browse files- app.py +24 -0
- requirements.txt +109 -0
app.py
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import pandas as pd
|
3 |
+
|
4 |
+
# 模拟一些数据来表示排行榜
|
5 |
+
data = {
|
6 |
+
"模型名称": ["Model A", "Model B", "Model C"],
|
7 |
+
"作者": ["Alice", "Bob", "Charlie"],
|
8 |
+
"准确率": [0.95, 0.94, 0.93],
|
9 |
+
"召回率": [0.92, 0.91, 0.90],
|
10 |
+
"F1 分数": [0.93, 0.92, 0.91]
|
11 |
+
}
|
12 |
+
df = pd.DataFrame(data)
|
13 |
+
|
14 |
+
# 按照 F1 分数排序,确保最好的模型排在最前面
|
15 |
+
df = df.sort_values(by="F1 分数", ascending=False)
|
16 |
+
|
17 |
+
# 标题
|
18 |
+
st.title('模型排行榜')
|
19 |
+
|
20 |
+
# 描述
|
21 |
+
st.write("这是一个展示模型在特定任务上表现的排行榜。排名依据 F1 分数从高到低。")
|
22 |
+
|
23 |
+
# 显示数据表格
|
24 |
+
st.table(df)
|
requirements.txt
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
aiohttp==3.9.3
|
2 |
+
aiosignal==1.3.1
|
3 |
+
altair==5.3.0
|
4 |
+
annotated-types==0.6.0
|
5 |
+
anyio==4.3.0
|
6 |
+
archspec @ file:///croot/archspec_1697725767277/work
|
7 |
+
asttokens==2.4.1
|
8 |
+
attrs==23.2.0
|
9 |
+
blinker==1.8.2
|
10 |
+
boltons @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/boltons_1699240838368/work
|
11 |
+
Brotli @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/brotli-split_1699237319520/work
|
12 |
+
cachetools==5.3.3
|
13 |
+
certifi @ file:///private/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_3bzbkiv4h_/croot/certifi_1707229182618/work/certifi
|
14 |
+
cffi @ file:///private/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_b4nang6w_y/croot/cffi_1700254307954/work
|
15 |
+
charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
|
16 |
+
claude2openai==0.0.1
|
17 |
+
click==8.1.7
|
18 |
+
conda @ file:///private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_104cbbdti1/croot/conda_1708369123783/work
|
19 |
+
conda-content-trust @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/conda-content-trust_1699283351805/work
|
20 |
+
conda-libmamba-solver @ file:///croot/conda-libmamba-solver_1702997573971/work/src
|
21 |
+
conda-package-handling @ file:///private/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_3dblbw3die/croot/conda-package-handling_1700254361862/work
|
22 |
+
conda_package_streaming @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/conda-package-streaming_1699238858289/work
|
23 |
+
contourpy @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/contourpy_1701814001737/work
|
24 |
+
cryptography @ file:///private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_b1p0q5vizk/croot/cryptography_1702070293829/work
|
25 |
+
cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work
|
26 |
+
dataclasses==0.6
|
27 |
+
decorator==5.1.1
|
28 |
+
distro @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/distro_1701803554172/work
|
29 |
+
executing==2.0.1
|
30 |
+
fonttools==4.25.0
|
31 |
+
frozenlist==1.4.1
|
32 |
+
gitdb==4.0.11
|
33 |
+
GitPython==3.1.43
|
34 |
+
h11==0.14.0
|
35 |
+
httpcore==1.0.4
|
36 |
+
httpx==0.27.0
|
37 |
+
idna @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/idna_1699237644810/work
|
38 |
+
ipython==8.22.2
|
39 |
+
jedi==0.19.1
|
40 |
+
Jinja2==3.1.4
|
41 |
+
jsonpatch @ file:///tmp/build/80754af9/jsonpatch_1615747632069/work
|
42 |
+
jsonpointer==2.1
|
43 |
+
jsonschema==4.22.0
|
44 |
+
jsonschema-specifications==2023.12.1
|
45 |
+
kiwisolver==1.4.5
|
46 |
+
libmambapy @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/mamba-split_1701805498280/work/libmambapy
|
47 |
+
markdown-it-py==3.0.0
|
48 |
+
MarkupSafe==2.1.5
|
49 |
+
matplotlib @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/matplotlib-suite_1699241272749/work
|
50 |
+
matplotlib-inline==0.1.6
|
51 |
+
mdurl==0.1.2
|
52 |
+
menuinst @ file:///private/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_26a7xsau78/croot/menuinst_1706732941263/work
|
53 |
+
multidict==6.0.5
|
54 |
+
munkres==1.1.4
|
55 |
+
np==1.0.2
|
56 |
+
numpy @ file:///private/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_a51i_mbs7m/croot/numpy_and_numpy_base_1708638620867/work/dist/numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl#sha256=37afb6b734a197702d848df93bd67c10b52f6467d56e518950d84b6b1c949d27
|
57 |
+
openai==0.28.0
|
58 |
+
packaging @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/packaging_1699237023876/work
|
59 |
+
pandas==2.2.2
|
60 |
+
parso==0.8.3
|
61 |
+
pexpect==4.9.0
|
62 |
+
pillow @ file:///private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_e02b4k5qik/croot/pillow_1707233036487/work
|
63 |
+
platformdirs @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/platformdirs_1701803010714/work
|
64 |
+
pluggy @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/pluggy_1699237243543/work
|
65 |
+
prompt-toolkit==3.0.43
|
66 |
+
protobuf==4.25.3
|
67 |
+
ptyprocess==0.7.0
|
68 |
+
pure-eval==0.2.2
|
69 |
+
pyarrow==16.1.0
|
70 |
+
pycosat @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/pycosat_1699241479669/work
|
71 |
+
pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work
|
72 |
+
pydantic==2.6.4
|
73 |
+
pydantic_core==2.16.3
|
74 |
+
pydeck==0.9.1
|
75 |
+
Pygments==2.17.2
|
76 |
+
PyJWT==2.8.0
|
77 |
+
pyparsing==3.1.2
|
78 |
+
PySocks @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/pysocks_1699237568675/work
|
79 |
+
python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
|
80 |
+
pytz==2024.1
|
81 |
+
PyYAML==5.3.1
|
82 |
+
referencing==0.35.1
|
83 |
+
requests @ file:///private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_b3tnputioh/croot/requests_1707355573919/work
|
84 |
+
rich==13.7.1
|
85 |
+
rpds-py==0.18.1
|
86 |
+
ruamel.yaml @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/ruamel.yaml_1699241608430/work
|
87 |
+
scipy==1.12.0
|
88 |
+
setuptools==68.2.2
|
89 |
+
six @ file:///tmp/build/80754af9/six_1644875935023/work
|
90 |
+
slack_sdk==3.27.1
|
91 |
+
smmap==5.0.1
|
92 |
+
sniffio==1.3.1
|
93 |
+
stack-data==0.6.3
|
94 |
+
streamlit==1.34.0
|
95 |
+
tenacity==8.3.0
|
96 |
+
toml==0.10.2
|
97 |
+
toolz==0.12.1
|
98 |
+
tornado @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/tornado_1699243541634/work
|
99 |
+
tqdm @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/tqdm_1701805884490/work
|
100 |
+
traitlets==5.14.2
|
101 |
+
truststore @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/truststore_1701805928787/work
|
102 |
+
typing_extensions==4.10.0
|
103 |
+
tzdata==2024.1
|
104 |
+
urllib3 @ file:///private/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_aff2m3lasf/croot/urllib3_1707770561896/work
|
105 |
+
wcwidth==0.2.13
|
106 |
+
wheel==0.41.2
|
107 |
+
yarl==1.9.4
|
108 |
+
zhipuai==2.0.1
|
109 |
+
zstandard @ file:///Users/builder/cbouss/perseverance-python-buildout/croot/zstandard_1699238791645/work
|