axolotlai/axolotl-cloud:main-latest
that you want installed on your Pod.
axolotlai/axolotl-cloud:main-latest
image as your Template image.runpodctl
installed with a Pod-scoped API key. To send a file
lora.yaml
configuration file under the datasets
key. Axolotl will automatically download the dataset during the preprocessing step.
Review the configuration file in detail and make any adjustments to your file as needed.
Now update your Runpod machine’s requirement and preprocess your data.
lora.yml
configuration file with your dataset path and other training settings. You can use any of the examples in the examples
folder as a starting point.lora.yml
file. The training time will depend on factors like your model size, dataset size, and GPU type. Be prepared to wait a while, especially for larger models and datasets.
Once training is complete, we can move on to testing our fine-tuned model through inference.
merge_lora
script.
merge_lora
script.
Run the following command:
huggingface-cli
.huggingface-cli upload
command to upload your merged model to the repository.