-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
System Info
N/A
Information
- Docker
- The CLI directly
Tasks
- An officially supported command
- My own modifications
Reproduction
I'm trying to understand whether special tokens (i.e. BOS and EOS) are added and suppressed on tokenization and decoding.
Encoding:
- I searched for add_special_tokens in the repo and I don't see anywhere this is being set to true when tokenizing. So, it seems that there are no EOS tokens automatically added.
Decoding:
- I searched for skip_special_tokens and it seems that here on line 541 that indeed BOS and EOS are being supressed.
Is this understanding correct?
Expected behavior
If possible, could the default tokenization strategy be described on the ReadMe so users know what to expect?
hadifar
Metadata
Metadata
Assignees
Labels
No labels