patil-suraj / question_generation

Neural question generation using transformers
MIT License
1.1k stars 346 forks source link

How can i get this to work with transformer 4.x #111

Open eQX8HNMTU2 opened 1 year ago

eQX8HNMTU2 commented 1 year ago

for some reason the newer transformer model is not working on the question generation part.

for some text

On his cap, Mario's emblem represents him in the interfaces of many of the games in which he has appeared. Mario is depicted as a portly plumber who lives with Luigi, his younger, taller brother, in the fictional Land of Mushroom Kingdom. The original Mario Bros depicted Mario and Luigi as Italians in New York, 19 with television shows and films specifying them as coming from the city of Brooklyn. Mario's lonehood, in which he was transported by a stork to the mushroom kingdom, was first presented in Super Mario World 2 Yoshi's Island. In a 2005 interview, Miyamoto stated that Mario was about 24 to 25 years old, 59 and Nintendo Power stated that his birthday is 11 October.

i get

failed to index <pad> Mario's emblem in On his cap, Mario's emblem represents him in the interfaces of many of the games in which he has appeared.
failed to index <pad> Luigi in Mario is depicted as a portly plumber who lives with Luigi, his younger, taller brother, in the fictional Land of Mushroom Kingdom.
failed to index <pad> 19 in The original Mario Bros depicted Mario and Luigi as Italians in New York, 19 with television shows and films specifying them as coming from the city of Brooklyn.
failed to index <pad> Yoshi's Island in Mario's lonehood, in which he was transported by a stork to the mushroom kingdom, was first presented in Super Mario World 2 Yoshi's Island.
failed to index <pad> 11 October in In a 2005 interview, Miyamoto stated that Mario was about 24 to 25 years old, 59 and Nintendo Power stated that his birthday is 11 October.

and have currently no idea why.

eQX8HNMTU2 commented 1 year ago

woudl there be some way i can make use of it in transformer 4.x?