Models to perform neural summarization (extractive and abstractive) using machine learning transformers and a tool to convert abstractive summarization datasets to the extractive task.
We get the following error after installing the environment with conda env create --file environment.yml:
Traceback (most recent call last):
File "/home/ec2-user/transformersum/src/main.py", line 434, in <module>
main(main_args)
File "/home/ec2-user/transformersum/src/main.py", line 74, in main
model = summarizer(hparams=args)
File "/home/ec2-user/transformersum/src/abstractive.py", line 123, in __init__
self.tokenizer.add_tokens(self.rouge_sentence_split_token)
File "/home/ec2-user/anaconda3/envs/transformersum/lib/python3.9/site-packages/torch/nn/modules/module.py", line 778, in __getattr__
raise ModuleAttributeError("'{}' object has no attribute '{}'".format(
torch.nn.modules.module.ModuleAttributeError: 'AbstractiveSummarizer' object has no attribute 'tokenizer'
Wondering if this is related to package version inconsistencies or something else? Cheers.
Hello,
https://transformersum.readthedocs.io/en/latest/abstractive/training.html#example does not seem to work.
We get the following error after installing the environment with
conda env create --file environment.yml
:Wondering if this is related to package version inconsistencies or something else? Cheers.