Using the Trainer API with a timm model
I’m trying to use theTrainerAPI to finetune atimmmodel. I basically want to dopeft/examples/image_classification/image_classification_timm_peft_lora.ipynb at main · huggingface/peft · GitHubbut without having to write a custom pytorch training loop. I just want to use theTrainerAPI.Is the best way to achieve this, simply to convert thetimmmodel into a Pytorch model using this conversionscript, and then upload it to the hub?