We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def gpt_model(self, texts=None): if texts is None: texts = ['今天新情很好', '你找到你最喜欢的工作,我也很高心。'] m = GptCorrector("../model/chatglm3-6b-csc-chinese-lora") res = m.correct_batch(texts) print('MacBert4CSC模型', texts, '=>', res) return res[0]['target']
使用 gpt 模型报错少了 config 文件,下载链接中也没有 config https://huggingface.co/shibing624/chatglm3-6b-csc-chinese-lora/tree/main
The text was updated successfully, but these errors were encountered:
看下usage: https://huggingface.co/shibing624/chatglm3-6b-csc-chinese-lora#usage-huggingface-transformers
Sorry, something went wrong.
感谢作者
No branches or pull requests
使用 gpt 模型报错少了 config 文件,下载链接中也没有 config https://huggingface.co/shibing624/chatglm3-6b-csc-chinese-lora/tree/main
The text was updated successfully, but these errors were encountered: