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
是否能支持4.37.2 的transformers
The text was updated successfully, but these errors were encountered:
你好,
我在README里添加了如何在其他版本transformers中使用OPERA的步骤here,你可以参考一下。
Sorry, something went wrong.
你好, 我在README里添加了如何在其他版本transformers中使用OPERA的步骤here,你可以参考一下。
在4.40版本的transformers中尝试了,调不通,版本相差较大的,感觉有些函数新版本里也没有用了,很难调通
你好, 我在README里添加了如何在其他版本transformers中使用OPERA的步骤here,你可以参考一下。 在4.40版本的transformers中尝试了,调不通,版本相差较大的,感觉有些函数新版本里也没有用了,很难调通
你好,请问调通了吗,我debug发现主要的问题是不同版本的transformers库里面对于past_key_value等参数的更新步骤不一致,在4.37.2 以上的transformers执行forward函数时会立即更新所有model_kwarg参数,并且原代码中的model_kwargs_tmp = model_kwargs.copy()似乎是一个浅拷贝,model_kwarg和model_kwargs_tmp两者的更新情况是一致的
No branches or pull requests
是否能支持4.37.2 的transformers
The text was updated successfully, but these errors were encountered: