
# start of sentence token
SOS = '<S>'
# end of sentence token
EOS = '</S>'


# start of sentence token
SOS = chr(2)
# end of sentence token
EOS = chr(3)

Use separate characters for SOS and EOS
Use separate characters for SOS and EOS 