Open
Description
Bug description
Dear Lightning,
I'm attempting to follow a medium tutorial using my own dataset. I have downgraded lightning due to a suggestion on issue #1915. On step 3 of the tutorial, the fine-tuning step using litgpt, I receive the message "error: cannot unpack non-iterable ActionTypeHint object".
I am on Version 0.5.7 of litgpt and have train.json as well as the checkpoints/mistralai/Mistral-7B-Instruct-v0.3 folders in my working directory
Thus far, I have tried:
- Reading the finetune_lora readme
- installing litgpt[all] as suggested in your documentation, since the medium article only installed litgpt
- modifying the command in the medium article according to the documentation i.e. using:
litgpt finetune_lora checkpoints/mistralai/Mistral-7B-Instruct-v0.3 --data JSON --data.json_path train.json --data.val_split_fraction 0.2 --out_dir out/custom-model
- Creating the output directories [either finetuned (medium article), or out/custom-model (documentation)] ahead of running the commands
Appreciate any help that you can provide.
What operating system are you using?
Linux
LitGPT Version
Version: 0.5.7