shibing624 / textgen

TextGen: Implementation of Text Generation models, include LLaMA, BLOOM, GPT2, BART, T5, SongNet and so on. 文本生成模型,实现了包括LLaMA,ChatGLM,BLOOM,GPT2,Seq2Seq,BART,T5,UDA等模型的训练和预测,开箱即用。
Apache License 2.0
937 stars 109 forks source link

ImportError: cannot import name 'ChatGlmModel' from 'textgen' #32

Closed 888yyh closed 1 year ago

888yyh commented 1 year ago

how to solve,thx

shibing624 commented 1 year ago

git clone https://github.com/shibing624/textgen.git cd textgen python setup.py install