atpaino / deep-text-corrector

Deep learning models trained to correct input errors in short, message-like text
Apache License 2.0
1.23k stars 266 forks source link

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

Closed ashavish closed 5 years ago

ashavish commented 5 years ago

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 ?

ashavish commented 5 years ago

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