A small compatibility shim for the transformers library
