Using numerical data as input for Encoder

Hello. Is there any simple way to set numeric data as input, or in other words, removing the embedding layer from the Encoder? My goal is to use time-series data as input for Data-to-Text generation, rather than text-to-text.

Any help would be appreciated. Thank you.


Which OpenNMT version are you currently using? OpenNMT-lua and OpenNMT-tf supports this out of the box. For OpenNMT-py, it should not be too complicated to support this.

I am using OpenNMT-py. I hope it will be supported soon for the pytorch version.
Thank you so much for your consideration.

I don’t know if anyone is working on this, maybe you should give it a shot.

1 Like