s3

Unable to add a fine-tune. Error:
https://developers.cloudflare.com/workers-ai/tutorials/fine-tune-models-with-autotrain

FILE_PARSE_ERROR: 'file' should be of valid safetensors type [code: 1000], quiting...


Receiving this when executing the following command:

npx wrangler ai finetune create @cf/mistral/mistral-7b-instruct-v0.2-lora warp-finetune-mistral folder_location


Folder contains adapter_config.json and adapter_model.safetensors.
I used autotrain on Huggingface to build these files: https://colab.research.google.com/github/huggingface/autotrain-advanced/blob/main/colabs/AutoTrain_LLM.ipynb
Cloudflare Docs
Fine tuning an AI model gives you the opportunity to add additional training data to the model. Workers AI allows for Low-Rank Adaptation, LoRA,
Was this page helpful?