Hi everyone, I have the question about how to integrate the checkpoint after finetuned the model finished into the base model using unsloth.
After I got the last Checkpoint from the finetuned. I added the checkpoint into the base model as follows in this code:
I'm not sure the step 3 for load adapter checkpoint in the code is correct or not? Because I got the answer that is not different from running the Phi4 base model normally.
Note:
I use the dataset for finetuning the model around 10k records as a format as follows:
<|im_start|>system<|im_sep|>You are a large language model specializing in Thai Language. Your job is to learn the structure of Thai language, consist of appropriate grammar, sentence structures, and connectors.<|im_end|>
<|im_start|>user<|im_sep|>คณิตศาสตร์<|im_end|>
<|im_start|>assistant<|im_sep|>คณิตศาสตร์ คือ วิชาที่ศึกษาเกี่ยวกับจำนวน ปริมาณ...<|im_end|>