Closed muyuuuu closed 2 years ago
I don't think this script works for any other model than BERT as it relies on assumptions that the subwords token have the prefix ##.
transformers=4.5.0
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Environment info
transformers
version: 4.7.0Who can help
Models:
Library:
Model hub:
Examples:
Information
Model I am using roberta:
The problem arises when using:
The tasks I am working on is:
this script has been right:
but got error:
error info is :
Expected behavior
how to fix it up?