You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only thing that I changed (apart from creating the pipeline and calling it) s the number of training steps so the training is faster.
In the last cell you can see the error:
ValueError: Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' 'truncation=True' to have batched tensors with the same length.
Hello! The fix for this was merged a few days ago: #10184
I recommend you install from source while no new version is available for Transformers (a new version should be out in ~2 weeks). Sorry for the inconvenience.
I just followed the token classification notebook and created a pipeline from the model I trained there. Here you can see the full notebook: https://colab.research.google.com/drive/1OzfFTgZwjxdIikbQ8lVJbA2SRF3IeJ5F?usp=sharing
The only thing that I changed (apart from creating the pipeline and calling it) s the number of training steps so the training is faster.
In the last cell you can see the error:
Who can help
The text was updated successfully, but these errors were encountered: