Spaces:
Running
Running
update
Browse files- app.py +10 -5
- requirements.txt +2 -1
app.py
CHANGED
@@ -4,10 +4,15 @@
|
|
4 |
|
5 |
"""
|
6 |
## TODO:
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
|
13 |
plots
|
@@ -201,7 +206,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
201 |
)
|
202 |
|
203 |
# start up 初始化
|
204 |
-
|
205 |
|
206 |
|
207 |
if __name__ == "__main__":
|
|
|
4 |
|
5 |
"""
|
6 |
## TODO:
|
7 |
+
- http get方式获取参数,
|
8 |
+
- 自启动
|
9 |
+
- iter_vocab 的 warmup
|
10 |
+
- add_special_token 开关
|
11 |
+
- theme 开关 light/dark
|
12 |
+
- token_id/tokens/bytes 开关
|
13 |
+
- 通过 javascript 添加 hover_text
|
14 |
+
-
|
15 |
+
|
16 |
|
17 |
|
18 |
plots
|
|
|
206 |
)
|
207 |
|
208 |
# start up 初始化
|
209 |
+
# user_input.update(user_input.value + "___")
|
210 |
|
211 |
|
212 |
if __name__ == "__main__":
|
requirements.txt
CHANGED
@@ -2,4 +2,5 @@ transformers>=4.21.1
|
|
2 |
sentencepiece
|
3 |
tiktoken
|
4 |
icetk
|
5 |
-
torch
|
|
|
|
2 |
sentencepiece
|
3 |
tiktoken
|
4 |
icetk
|
5 |
+
torch
|
6 |
+
zhon
|