cn91 commited on
Commit
e4cf87a
1 Parent(s): 3a52889

changed model

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -11,7 +11,9 @@ if USE_GPU and torch.cuda.is_available():
11
  else:
12
  device = torch.device('cpu')
13
 
14
- MODEL_NAME_CHINESE = "IDEA-CCNL/Erlangshen-DeBERTa-v2-186M-Chinese-SentencePiece"
 
 
15
 
16
  WORD_PROBABILITY_THRESHOLD = 0.02
17
  TOP_K_WORDS = 10
 
11
  else:
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
19
  TOP_K_WORDS = 10