Skip to content

[Question]: LogitsProcessorList 缺少__iter__和extend方法 #9926

@yzhw9981

Description

@yzhw9981

请提出你的问题

https://github.com/PaddlePaddle/PaddleNLP/blob/release/2.8/paddlenlp/generation/logits_process.py#L38
这里有bug吧,这个LogitsProcessorList没有实现__iter__和extend方法呀,从generate传入LogitsProcessorList执行会报错

Metadata

Metadata

Assignees

Labels

questionFurther information is requestedstale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions