Spaces:
Runtime error
Runtime error
chore: clean up
Browse files- src/about.py +0 -39
src/about.py
CHANGED
@@ -1,42 +1,3 @@
|
|
1 |
-
from dataclasses import dataclass
|
2 |
-
from enum import Enum
|
3 |
-
|
4 |
-
|
5 |
-
@dataclass
|
6 |
-
class Task:
|
7 |
-
name: str # qa, long_doc
|
8 |
-
|
9 |
-
@dataclass
|
10 |
-
class Metric:
|
11 |
-
name: str # ndcg_at_1
|
12 |
-
|
13 |
-
@dataclass
|
14 |
-
class Language:
|
15 |
-
name: str # en, zh
|
16 |
-
|
17 |
-
|
18 |
-
@dataclass
|
19 |
-
class Domain:
|
20 |
-
name: str # law, wiki
|
21 |
-
|
22 |
-
|
23 |
-
@dataclass
|
24 |
-
class EmbeddingModel:
|
25 |
-
full_name: str # jinaai/jina-embeddings-v2-en-base
|
26 |
-
org: str # jinaai
|
27 |
-
model: str # jina-embeddings-v2-en-base
|
28 |
-
size: int # size (millions of parameters)
|
29 |
-
dim: int # output dimensions
|
30 |
-
max_tokens: int # max tokens
|
31 |
-
model_type: str # open, proprietary, sentence transformers
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
NUM_FEWSHOT = 0 # Change with your few shot
|
36 |
-
# ---------------------------------------------------
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
# Your leaderboard name
|
41 |
TITLE = """<h1 align="center" id="space-title">AIR-Bench</h1>"""
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Your leaderboard name
|
2 |
TITLE = """<h1 align="center" id="space-title">AIR-Bench</h1>"""
|
3 |
|