Closed harupy closed 2 years ago
In transformers 4.12.3, the attached code works.
After commenting out the changes made in https://github.com/huggingface/transformers/pull/14361, the attached code works in transformers 4.12.4.
cc @sgugger and @LysandreJik who reviewed & approved #14361
@harupy The offending PR has been reverted and a patch release has been deployed. We're working on a fix that will resolve the original issues without causing new ones, which will hopefully be deployed soon. In the meantime, your code should work as before!
@Rocketknight1 Got it, thanks!
Environment info
transformers
version: 4.12.4Who can help
Information
Model I am using (Bert, XLNet ...):
TFBert
The problem arises when using:
The tasks I am working on is:
To reproduce
Steps to reproduce the behavior:
Google Colab notebook
Expected behavior