当前位置: 首页 > news >正文

DPO算法微调实战

代码地址见文末

1. 环境配置

conda create --name florence python=3.11
conda activate florence
nvcc --version
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ transformers
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ peft tqdm Levenshtein
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ pandas numpy
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ tqdm einops timm
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ Pillow supervision
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web

相关文章:

  • 【仿生机器人】刀剑神域——爱丽丝苏醒计划,需求文档
  • SIP、SAP、SDP、mDNS、SSH、PTP
  • 5分钟了解JVM运行时数据区域
  • [leetcode ] 5.29week | dp | 组合数学 | 图 | 打家劫舍
  • grep命令常见用法
  • Dataguard switchover遇到ORA-19809和ORA-19804报错的问题处理
  • C# 从 ConcurrentDictionary 中取出并移除第一个元素
  • GRU 参数梯度推导与梯度消失分析
  • LeetCode-934. 最短的桥
  • PPTAGENT:让PPT生成更智能
  • 在 Spring Boot 中使用 WebFilter:实现请求拦截、日志记录、跨域处理等通用逻辑!
  • C++多态与继承实战解析
  • GDB的调试
  • 11. 试学内容-如何理解隔离性2(原理)
  • Android 颜色百分比对照
  • C#编程过程中变量用中文有啥影响?
  • 23树与左倾红黑树
  • 飞算JavaAI 炫技赛重磅回归!用智能编码攻克老项目重构难题
  • SpringCloudAlibaba微服务架构
  • 《T/CI 404-2024 医疗大数据智能采集及管理技术规范》全面解读与实施分析
  • 网站开发公司市场/疫情最严重的三个省
  • 网站域名变更怎么查询/关键词优化排名用什么软件比较好
  • 石家庄网站建设电商/广州百度seo优化排名
  • wordpress 图片 旋转/aso优化师主要是干嘛的
  • 邢台做网站推广的地方/阿里云建站
  • 专门做二手手机的网站吗/策划方案