Using numerical data as input for Encoder


#1

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.


(Guillaume Klein) #2

Hi,

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.


#3

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


(Guillaume Klein) #4

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