chatglm-6b-int4 / demo_pipeline.py
NewBreaker's picture
auto git
9768cd8
raw
history blame contribute delete
No virus
139 Bytes
from transformers import pipeline
nlp = pipeline('text2text-generation',model ='THUDM/chatglm-6b',trust_remote_code=True)
# response = nlp