-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
107 lines (100 loc) · 2.29 KB
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import os
TITLE_LIGHT = "hf daily"
TITLE_LIGHT_MONTHLY = "hf monthly"
TITLE_DARK = "hf nightly"
TITLE_DARK_MONTHLY = "hf moonly"
DATA_FILE = "hf_papers.json"
DELETED_DATA_FILE = "hf_deleted.json"
USER_FILE = "user.txt"
USER_REQUESTED_DATA = "user.json"
PAGE_FILE = "index.html"
LOG_FILE = "log.txt"
LOG_DIR = "./logs"
IMG_DIR = "./img"
DATA_DIR = "./d"
USER_DIR = "./u"
ASSETS_DIR = "./assets"
PAPER_PDF_DIR = os.path.join(ASSETS_DIR, "pdf")
PAPER_PDF_TITLE_IMG = os.path.join(PAPER_PDF_DIR, "title_img")
PAPER_JSON_DIR = os.path.join(ASSETS_DIR, "json")
PAPER_IMG_DATA_DIR = os.path.join(ASSETS_DIR, "img_data")
PAPER_PDF_IMAGE_STUB = "img/title_stub.png"
PDF_PARSING_TIMEOUT = 5 * 60
EXCLUDE_CATS = [
"#ai",
"#ml",
"#machinelearning",
"#machine-learning",
"#generative",
"#llm",
"#autoregressive",
"#classification",
"#generative_models",
"#human_computer_interaction",
"#nlp",
"#planning",
"#editing",
]
RENAME_CATS = {
"#multi-modal": "#multimodal",
"#transformer": "#transformers",
"#efficiency": "#optimization",
"#deployment": "#inference",
"#deploy": "#inference",
"#motion": "#3d",
"#mathematics": "#math",
"#humancomputerinteraction": "#interaction",
"#algorithm": "#algo",
"#algorithms": "#algo",
"#cnn": "#architecture",
"#prompt": "#prompts",
"#graph": "#graphs",
"#translation": "#machine_translation",
}
RENAME_TERMS = {
'БЯМ': 'LLM'
}
CATEGORIES = {
'#dataset': 0,
'#data': 0,
'#benchmark': 0,
'#agents': 0,
'#cv': 0,
'#rl': 0,
'#rlhf': 0,
'#rag': 0,
'#plp': 0,
'#inference': 0,
'#3d': 0,
'#audio': 0,
'#video': 0,
'#multimodal': 0,
'#math': 0,
'#multilingual': 0,
'#architecture': 0,
'#healthcare': 0,
'#training': 0,
'#robotics': 0,
'#agi': 0,
'#games': 0,
'#interpretability': 0,
'#reasoning': 0,
'#transfer_learning': 0,
'#graphs': 0,
'#ethics': 0,
'#security': 0,
'#optimization': 0,
'#survey': 0,
'#diffusion': 0,
'#alignment': 0,
'#story_generation': 0,
'#hallucinations': 0,
'#long_context': 0,
'#synthetic': 0,
'#machine_translation': 0,
'#leakage': 0,
'#open_source': 0,
'#small_models': 0,
'#science': 0,
'#low_resource': 0
}