AIDC-AI/Ovis

How to finetune the model?

Closed this issue · 1 comments

any script for fully finetuning and lora finetuning?

You can modify the parameters ovis_pretrained_path and dataset_names in the following script to finetune Ovis1.5: https://github.com/AIDC-AI/Ovis/blob/main/scripts/v1_5/Ovis1.5-Llama3-8B-S3.sh. Specifically, ovis_pretrained_path should be set to the local directory of Ovis 1.5 checkpoints (which can be downloaded from https://huggingface.co/AIDC-AI/Ovis1.5-Llama3-8B/tree/main).