mirror of https://github.com/THUDM/ChatGLM-6B
add pull_model.py
parent
9addb875ca
commit
8798563db9
|
@ -0,0 +1,2 @@
|
||||||
|
from transformers import AutoModel
|
||||||
|
model = AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True).half().cuda()
|
Loading…
Reference in New Issue