Closed dipanjanS closed 3 years ago
I got exactly the same error
` from summarizer import Summarizer
body = 'Text body that you want to summarize with BERT' body2 = 'Something else you want to summarize with BERT' model = Summarizer() model(body) model(body2) `
AttributeError Traceback (most recent call last)
Hi with the latest version of
transformers
i.e3.1.0
I see the following error when I try to importSummarizer
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 with2.2.x
though.Any insights would be appreciated.
Just a few days back the update has been pushed to a branch 'small-updates'. Until it's merged into master branch you can install it using pip install git+https://github.com/dmmiller612/bert-extractive-summarizer.git@small-updates
Sounds great, thanks!
i have the same issue
Forgot to update this issue. This should be resolved. Let me know if any other issues arise.
Hi, have the same issue now
After update transformer
library to 2.2.x works fine
I am getting following error - "AttributeError: module transformers.models.big_bird has no attribute BigBirdTokenizer" While importing "from summarizer import Summarizer"
Hi with the latest version of
transformers
i.e3.1.0
I see the following error when I try to importSummarizer
Not sure if something broke because of changes to the base
transformer
library? Works fine with2.2.x
though.Any insights would be appreciated.