Closed adi-hld closed 2 months ago
hi, that script runs QLoRA with bitsandbytes for quantization and it is not possible to quantize a quantized model. Please change the model to Qwen2-1.5B-Instruct.
This issue has been automatically marked as inactive due to lack of recent activity. Should you believe it remains unresolved and warrants attention, kindly leave a comment on this thread.
命令行: /mnt/workspace/Qwen2/examples/sft# bash finetune.sh -m /mnt/workspace/.cache/modelscope/hub/qwen/Qwen2-1___5B-Instruct-GPTQ-Int4 -d ../../../data.jsonl --deepspeed ds_config_zero2.json --use_lora True --q_lora True 使用镜像:modelscope环境 已经按照https://qwen.readthedocs.io/zh-cn/latest/training/SFT/example.html 安装了微调需要的模块 pip install peft deepspeed optimum accelerate 报错 _AttributeError: 'BitsAndBytesConfig' object has no attribute 'get_loadingattributes'