Simplify processor_config.json for transformers v4.x compatibility
#6
by tomaarsen HF Staff - opened
Hello!
Pull Request overview
- Simplify processor_config.json for transformers v4.x compatibility
Details
When implementing https://huggingface.co/BAAI/BGE-VL-v1.5-zs, I noticed that the original Transformers v4.x code will get confused by the processor_config.json having an image_processor key. This PR removes that key again, which means this data is loaded from preprocessor_config.json instead, and now Transformers v4.x and v5+ should work. Apologies.
- Tom Aarsen
tomaarsen changed pull request status to open
JUNJIE99 changed pull request status to merged