full fine-tuning code (draft)