Make model compatible with Transformers v5
#78
by
hmellor
HF Staff
- opened
https://github.com/huggingface/transformers/pull/42750 changed the spec of convert_tensors so this PR updates your custom code.
Please make the same change to any other models you have which may do this.