fariliang commited on
Commit
92d25ce
·
1 Parent(s): f481c89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import mdtex2html
4
 
5
  import os
6
 
7
- tokenizer = AutoTokenizer.from_pretrained("batmanmodel", trust_remote_code=True)
8
- model = AutoModel.from_pretrained("batmanmodel", trust_remote_code=True).quantize(4).half().cuda()
9
  model = model.eval()
10
 
11
  """Override Chatbot.postprocess"""
 
4
 
5
  import os
6
 
7
+ tokenizer = AutoTokenizer.from_pretrained("THUDM/chatglm-6b-int4-qe", trust_remote_code=True)
8
+ model = AutoModel.from_pretrained("THUDM/chatglm-6b-int4-qe", trust_remote_code=True).half().cuda()
9
  model = model.eval()
10
 
11
  """Override Chatbot.postprocess"""