Update json.config to account for beginning and end of document tokens
#18
by
ecdouglas
- opened
Currently, this model fails when you pass it a token length of 514 and set truncation=True, because two additional tokens are added (beginning and end of document). Truncating input strings at 512 will prevent this error from occuring.