Hi,
I have a few questions about get_fields() function of inputters/inputter.py:
- Why is ‘include_lengths’ True for source and not for the target? I understand that it is passed to torchtext.data.Field object but I am not sure how and where it is being used later?
- Why are ‘bos’ and ‘eos’ added only to the target and not to the source?
- What are the indices field and where and how are they used?
Any suggestion would be much appreciated.
Regards.