HHousen / TransformerSum

Models to perform neural summarization (extractive and abstractive) using machine learning transformers and a tool to convert abstractive summarization datasets to the extractive task.
https://transformersum.rtfd.io
GNU General Public License v3.0
428 stars 58 forks source link

'--data_type' is not accepted when running main.py (extractive mode) #72

Closed marinapinzhakova closed 2 years ago

marinapinzhakova commented 2 years ago

Hi! I am trying to run training for an extractive model, yet main.py keeps throwing this error: "extractive|ERROR> Data is going to be processed, but you have not specified an output format. Set --data_type to the desired format." I am passing --data_type='txt' as an argument. The data I'm using is a custom dataset pre-processed with convert_to_extractive.py script, it is in .json files as the script outputs. Thanks in advance! :)