Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ else:
|
|
12 |
device = torch.device('cpu')
|
13 |
|
14 |
#MODEL_NAME_CHINESE = "IDEA-CCNL/Erlangshen-DeBERTa-v2-186M-Chinese-SentencePiece"
|
15 |
-
MODEL_NAME_CHINESE =
|
16 |
|
17 |
|
18 |
WORD_PROBABILITY_THRESHOLD = 0.02
|
|
|
12 |
device = torch.device('cpu')
|
13 |
|
14 |
#MODEL_NAME_CHINESE = "IDEA-CCNL/Erlangshen-DeBERTa-v2-186M-Chinese-SentencePiece"
|
15 |
+
MODEL_NAME_CHINESE = "IDEA-CCNL/Erlangshen-DeBERTa-v2-97M-CWS-Chinese"
|
16 |
|
17 |
|
18 |
WORD_PROBABILITY_THRESHOLD = 0.02
|