Skip to content

'ElectraModel' object has no attribute 'transformer' #200

Discussion options

You must be logged in to vote

おそらくspacy-transformers v1.1.0で関連部分のupdateがあったためだと考えられます。
https://github.com/explosion/spacy-transformers/releases
暫定的な対処としてspacy-transformersのバージョンを1.0.6に戻す必要があります。
pip install -U "spacy-transformers==1.0.6"

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by hiroshi-matsuda-rit
Comment options

You must be logged in to vote
1 reply
@hiroshi-matsuda-rit
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant