mlm-pytorch icon indicating copy to clipboard operation
mlm-pytorch copied to clipboard

Don’t know how to ingest data to use the model

Open vionwinnie opened this issue 4 years ago • 1 comments
trafficstars

In the markdown, you mentioned loss=trainer(data) . As a new user, I’m still figuring out how to use the models with custom data. Maybe I can add a toy_problem.py as examples and create a PR? Would really appreciate your help with this.

vionwinnie avatar Jun 01 '21 18:06 vionwinnie

yeah @lucidrains can you provide some insight as to how should we feed the data? I assume I have to construct a data generator to load each line of my dataset, convert it to integers and feed it as-it-is. am I correct?

neel04 avatar Jun 03 '21 18:06 neel04