当前位置: 首页 > 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
http://www.lqws.cn/news/133597.html

相关文章:

  • C++ 新特性详解:Lambda 表达式全解析(含实战案例)
  • Spring AI入门及案例、模型讲解、向量化和RAG等高级应用…
  • Elasticsearch中的监控(Monitoring)功能介绍
  • 3. 表的操作
  • cocos3.X的oops框架oops-plugin-excel-to-json改进兼容多表单导出功能
  • 《树数据结构解析:核心概念、类型特性、应用场景及选择策略》
  • 短剧+小说网盘搜索系统(支持全网网盘转存拉新)
  • 数组1 day7
  • Excel 透视表以及透视图应用(基础版)
  • day21 常见的降维算法
  • 怎么通过 jvmti 去 hook java 层函数
  • AI大模型学习三十二、飞桨AI studio 部署 免费Qwen3-235B与Qwen3-32B,并导入dify应用
  • 【Redis】笔记|第8节|大厂高并发缓存架构实战与优化
  • nginx配置
  • 2025 年最新 conda 和 pip 国内镜像源
  • JavaWeb简介
  • Python 2.7 退役始末:代码架构缺陷与社区演进路线图
  • Git Github Gitee GitLab
  • Codeforces Round 1027 (Div. 3)
  • [C]C语言日志系统宏技巧解析
  • PageHelper-分页插件
  • Python爬虫:trafilatura 的详细使用(快速提取正文和评论以及结构,转换为 TXT、CSV 和 XML)
  • 平面上的最接近点对
  • 每日算法 -【Swift 算法】三数之和
  • 机器翻译模型笔记
  • 【25-cv-06151】FOLDABLE MIRROR三面折叠镜专利维权案
  • MaskSearch:提升智能体搜索能力的新框架
  • 中级统计师-经济学基础知识-第一章 经济学基础
  • JAVA 集合进阶 01 - 05 双列集合
  • 八:操作系统设备管理之设备驱动程序