AttributeError: 'T5Config' object has no attribute 'dense_act_fn'
when i trandformer the model of t5-small ,i met this problem? who knows?
and i saw the config file ,it's no such config valiable
You are probably using an older version of transformers. Try updating this module.
pip install --upgrade transformers
which version can solve this prob?
发自我的iPhone
------------------ Original ------------------ From: Guillaume Klein @.> Date: Wed,May 31,2023 7:03 PM To: OpenNMT/CTranslate2 @.> Cc: Honda_J @.>, Author @.> Subject: Re: [OpenNMT/CTranslate2] AttributeError: 'T5Config' object has no attribute 'dense_act_fn' (Issue #1255)
You are probably using an older version of transformers. Try updating this module.
pip install --upgrade transformers
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>
transformers>=4.20