ictnlp-wshugen / annotated-transformer_codes

A partial runnable code repo for annotated-transformer
20 stars 15 forks source link

Train with custom dataset #6

Open Haruo195 opened 4 years ago

Haruo195 commented 4 years ago

Hi, I am pretty new here. I would like to know how do we provide the dataset instead of using the one that comes with the library. I have a parallel corpus that is stored in two text files as source.txt and target.txt. I see all the annotated transformer model use the dataset that comes with the library and not with a custom dataset. Please provide a link or tutorial so that I can modify my dataset in order to feed into this model. Many Thanks.