- 博客(3)
- 收藏
- 关注
原创 GRPO强化学习: TypeError: GRPOTrainer._get_train_sampler() takes 1 positional argument but 2 were given
使用trl库进行GPRO强化学习的时候,在trainer.train()的时候一直报错TypeError: GRPOTrainer._get_train_sampler() takes 1 positional argument but 2 were given,发现是transformers库的版本太高了,原来的版本是。,transformers库版本太高了,版本降为4.51.3(
2025-06-19 16:57:50
523
原创 dify docker部署 console/api/setup 502 Bad Gateway
的现象,F12查看网络请求发现console/api/setup 502 Bad Gateway。修改EXPOSE_NGINX_PORT端口,然后部署,访问对应的url会出现卡在。
2025-03-14 09:41:25
1549
2
原创 moduleResolution为bundler,VSCode无法识别库文件
Cannot find module ‘@mui/material’. Did you mean to set the ‘moduleResolution’ option to ‘node’, or to add aliases to the ‘paths’ option?
2025-02-22 16:15:13
587
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人