AttributeError with latest version of Transformers
See original GitHub issueHi with the latest version of transformers
i.e 3.1.0
I see the following error when I try to import Summarizer
from summarizer import Summarizer
AttributeError: module 'transformers.utils.logging' has no attribute 'basicConfig'
Not sure if something broke because of changes to the base transformer
library?
Works fine with 2.2.x
though.
Any insights would be appreciated.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
python - AttributeError: module transformers has no attribute ...
My solution was to first edit the source code to remove the line that adds "TF" in front of the package as the...
Read more >What to do when you get an error - Hugging Face Course
In this section we'll look at some common errors that can occur when you're trying to generate predictions from your freshly tuned Transformer...
Read more >Killing Ticks - Beverly Wang - Medium
AttributeError: 'Version' object has no attribute 'major' ... (update packaging to its latest version); pip install transformers (reinstall transformers) ...
Read more >Install spaCy · spaCy Usage Documentation
pip install spacy[lookups,transformers] ... When updating to a newer version of spaCy, it's generally recommended to start with a clean virtual environment.
Read more >Version 0.24.2 — scikit-learn 1.2.0 documentation
April 2021 Changelog: sklearn.compose: compose.ColumnTransformer.get_feature_names does not call get_feature_names on transformers with an empty column ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, have the same issue now
After update
transformer
library to 2.2.x works fineI am getting following error - “AttributeError: module transformers.models.big_bird has no attribute BigBirdTokenizer” While importing “from summarizer import Summarizer”