I am unable, despite having read the documentation several times over and every ‘Unable to Parse’ post, to make my NLP dataset work with tfrecords. I am currently thinking that this is due to the dictionary structure of a tfrecord. Teacher forcing requires (encoder_inputs, decoder_inputs), targets. This structure just seems incompatible with dictionaries that require key access.
Is there a repo or tutorial which highlights this use-case?
I could post specific code, but I’m making this more about the topic. I cannot find one example of using tfrecords and teacher forcing online. If relevant, the repo is here: