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.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment