代码补全

#12
by NSSSJSS - opened

请问代码补全的prompt格式应该怎样设置?

Knowledge Engineering Group (KEG) & Data Mining at Tsinghua University org
edited Jul 16

代码补全可以参考这个实现:https://huggingface.co./THUDM/codegeex4-all-9b/blob/8c4ec1d2f2888412640825a7aa23355939a8f4c6/tokenization_chatglm.py#L336

手动拼接的格式也已经更新在README中。

感谢回复,了解了

Sign up or log in to comment