transformers compatibility shim