We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llamafactory
FORCE_TORCHRUN=1 CUDA_VISIBLE_DEVICES=0 llamafactory-cli train examples/inference/Qwen2_vl_lora_sft.yaml
`model_name_or_path: Qwen/Qwen2-VL-7B-Instruct/ adapter_name_or_path: saves/Qwen2VL-7B-Instruct/lora/train_2024-10-21-v2/checkpoint-2000/
stage: sft do_predict: true finetuning_type: lora
eval_dataset: item_satisfy_data_1001_temp template: qwen2_vl cutoff_len: 1024 max_samples: 2 overwrite_cache: true preprocessing_num_workers: 1
output_dir: /mnt/nas/xuyufan/LLaMA-Factory/output/Qwen2-VL-7B-Instruct/train_2024-10-21/checkpoint-2000 overwrite_output_dir: true
per_device_eval_batch_size: 1 predict_with_generate: true ddp_timeout: 180000000 `
用finetune后的模型完成推理
有两个问题:
The text was updated successfully, but these errors were encountered:
增加 cutoff_len
Sorry, something went wrong.
No branches or pull requests
Reminder
System Info
llamafactory
version: 0.9.0Reproduction
FORCE_TORCHRUN=1 CUDA_VISIBLE_DEVICES=0 llamafactory-cli train examples/inference/Qwen2_vl_lora_sft.yaml
Qwen2_vl_lora_sft.yaml 内容如下
`model_name_or_path: Qwen/Qwen2-VL-7B-Instruct/
adapter_name_or_path: saves/Qwen2VL-7B-Instruct/lora/train_2024-10-21-v2/checkpoint-2000/
method
stage: sft
do_predict: true
finetuning_type: lora
dataset
eval_dataset: item_satisfy_data_1001_temp
template: qwen2_vl
cutoff_len: 1024
max_samples: 2
overwrite_cache: true
preprocessing_num_workers: 1
output
output_dir: /mnt/nas/xuyufan/LLaMA-Factory/output/Qwen2-VL-7B-Instruct/train_2024-10-21/checkpoint-2000
overwrite_output_dir: true
eval
per_device_eval_batch_size: 1
predict_with_generate: true
ddp_timeout: 180000000
`
Expected behavior
用finetune后的模型完成推理
Others
有两个问题:
The text was updated successfully, but these errors were encountered: