You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched, and there is no existing issue. / 我已经搜索过了,没有相关的 issue。
Describe the bug / 描述这个 bug
Add parameter return_dict=False to model.generate or from_pretrained dose not affect the value of return_dict=True in the pipeline. If direct change return_dict=False, error occurs.
Is there an existing issue ? / 是否已有相关的 issue ?
Describe the bug / 描述这个 bug
Add parameter return_dict=False to model.generate or from_pretrained dose not affect the value of return_dict=True in the pipeline. If direct change return_dict=False, error occurs.
To Reproduce / 如何复现
then print retunr_dict after
return_dict = return_dict if return_dict is not None else self.config.use_return_dict
Expected behavior / 期望的结果
No response
Screenshots / 截图
No response
Environment / 环境
Additional context / 其他信息
No response
The text was updated successfully, but these errors were encountered: