[Bug]: [question generation] template 3 NameError: name 'tokenizer' is not defined #3634
Closed
1 task done
Labels
bug
Something isn't working
软件环境
重复问题
错误描述
\paddlenlp\taskflow\question_generation.py", line 194, in _convert_example source = '这是一个问题生成任务,根据提供的答案和上下文,来生成问题。' + title + tokenizer.sep_token + '上下文:' + source NameError: name 'tokenizer' is not defined
这里代码有问题,template 3 写了一个没定义的tokenizer。unittest要跟进啊百度gg们。
The text was updated successfully, but these errors were encountered: