QLoRA stuff + datasets

This commit is contained in:
2025-12-27 16:38:45 +01:00
parent edafc06cab
commit ef99f152ac
8 changed files with 30253 additions and 0 deletions

10
qlora/run.sh Normal file
View File

@@ -0,0 +1,10 @@
python finetune_mistral_bali_qlora.py \
--model_id mistralai/Mistral-7B-Instruct-v0.2 \
--train_jsonl ../raft/bali_culture_raft_dataset.jsonl \
--output_dir ./mistral-bali-lora \
--max_seq_len 2048 \
--per_device_train_batch_size 1 \
--gradient_accumulation_steps 16 \
--learning_rate 2e-4 \
--num_train_epochs 2 \
--streaming true