Update files for compatibility with transformers

#13
by guarin HF Staff - opened

Compatibility for upcoming transformers integration, see: https://github.com/huggingface/transformers/pull/46836

Changed files:

  • model.safetensors: (new) required for transformers. Identical to model-00001-of-000001.safetensors
  • preprocessor_config.json: (new) required for transformers
  • processor_config.json: (changed) set correct processor class UnlimitedOcrProcessor
  • config.json: (changed) set correct model type unlimited_ocr
  • modeling_unlimitedocr.py: (changed) set correct model type unlimited_ocr
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment