File size: 139 Bytes
3f712ba
 
9768cd8
3f712ba
1
2
3
4

from transformers import pipeline
nlp = pipeline('text2text-generation',model ='THUDM/chatglm-6b',trust_remote_code=True)
# response = nlp