I used transfer learning on the facebook/detr-resnet-50 model, and fine-tuned it to my data set. I now have a “checkpoint-{run#}” folder, with the following files:
- config.json
- model.safetensors
- optimizer.pt
- preprocessor_config.json
- rng_state.pth
- scheduler.pt
- trainer_state.json
- training_args.bin
I’d like to transform this checkpoint into a CoreML model format. Transformers-to-coreml did not load. I have looked into Hugging Face Exporters, but have not found an example matching mine.