atpaino/deep-text-corrector

How many steps does it need to run for to get decent results ?

ashavish opened this issue · 1 comments

Have run it for 30K steps, but I am not getting a corrected output. I get the same output as whats fed into the input.

Input : this is table
Output : this is table

I am expecting it to insert the article and give me "this is a table"
How many more steps should I run it for ?

Ok. the problem was corrective tokens was not getting passed when we run decode. Call the function get_corrective_tokens(data_reader, train_path) and get the corrective tokens and pass it to the decode function. Then it works