当前位置: 首页> 健康> 养生 > 网站设计的软件_微信里的小程序找不到了_榆林市网站seo_湖南专业关键词优化

网站设计的软件_微信里的小程序找不到了_榆林市网站seo_湖南专业关键词优化

时间:2025/8/27 10:29:34来源:https://blog.csdn.net/chaihuasong/article/details/143432175 浏览次数:0次
网站设计的软件_微信里的小程序找不到了_榆林市网站seo_湖南专业关键词优化

参考地址:
https://github.com/hiyouga/LLaMA-Factory/blob/main/examples/README_zh.md#lora-微调

使用 Adam-mini 进行全参数训练
llamafactory-cli train examples/extras/adam_mini/qwen2_full_sft.yaml

qwen2_full_sft.yaml配置:

### model
model_name_or_path: /data/model/Qwen2.5-0.5B-Instruct### method
stage: sft
do_train: true
finetuning_type: full
use_adam_mini: true### dataset
dataset: alpaca_my_data
template: qwen
cutoff_len: 1024
max_samples: 1000
overwrite_cache: true
preprocessing_num_workers: 1### output
output_dir: saves/qwen2_5-0_5b/full/sft
logging_steps: 10
save_steps: 500
plot_loss: true
overwrite_output_dir: true### train
per_device_train_batch_size: 1
gradient_accumulation_steps: 8
learning_rate: 1.0e-5
num_train_epochs: 100.0
lr_scheduler_type: cosine
warmup_ratio: 0.1
bf16: true
ddp_timeout: 180000000### eval
val_size: 0.1
per_device_eval_batch_size: 1
eval_strategy: steps
eval_steps: 500

opencompass模型评测工具
opencompass$ python run.py --models vllm_merged_sft --datasets demo_gsm8k_chat_gen demo_math_chat_gen --debug

datasetversionmetricmodeqwen2.5-0.5b-instruct-hf
demo_gsm8k1d7fe4accuracygen39.06
demo_math393424accuracygen17.19
datasetversionmetricmodeqwen2.5-0.5b-instruct-vllm-local
demo_gsm8k1d7fe4accuracygen43.75
demo_math393424accuracygen20.31
datasetversionmetricmodeqwen2.5-0.5b-instruct-vllm-sft-merged
demo_gsm8k1d7fe4accuracygen37.50
demo_math393424accuracygen21.88
datasetversionmetricmodeinternlm2-chat-1.8b-hfqwen2-1.5b-instruct-hf
demo_gsm8k1d7fe4accuracygen32.8157.81
demo_math393424accuracygen14.0620.31
datasetversionmetricmodeqwen2.5-0.5b-instruct-vllm-sft
demo_gsm8k1d7fe4accuracygen4.69
demo_math393424accuracygen1.56
关键字:网站设计的软件_微信里的小程序找不到了_榆林市网站seo_湖南专业关键词优化

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: