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

安装llama_factory

第一版:

  • nvidia-smi
  • git clone https://github.com/hiyouga/LLaMA-Factory.git
  • cd LLaMA-Factory/

  • llamafactory-cli train examples/train_lora/llama3_lora_sft.yaml

  • pip install --upgrade huggingface_hub

  • llamafactory-cli webui

  • llamafactory-cli webui --share

  • llamafactory-cli train examples/train_lora/llama3_lora_sft.yaml

  • huggingface-cli login

  • git lfs instsll

  • sudo apt install git-lfs

  • llamafactory-cli train examples/train_lora/llama3_lora_sft.yaml

  • nvidia-smi

  • pip list

  • pip install transformers==4.36.2

  • llamafactory-cli train examples/train_lora/llama3_lora_sft.yaml

  • pip install transformers==4.41.2

  • llamafactory-cli train examples/train_lora/llama3_lora_sft.yaml

  • pip uninstall torch torchvision torchaudio

  • coda create -n llm python==3.10.6

  • conda create -n llm python==3.10.6

  • pip install -e ".[torch,metrics]"

  • llamafactory-cli train examples/train_lora/llama3_lora_sft.yaml

第二版:

nvidia-smi

 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

sh Miniconda3-latest-Linux-x86_64.sh 

source .bashrc

python --version

ls

sh Miniconda3-latest-Linux-x86_64.sh

source .bashrc

git clone https://github.com/hiyouga/LLaMA-Factory.git

conda create -n llm python==3.10.6

conda activate llm

cd LLaMA-Factory/

pip install -e ".[torch,metrics]"

pip install --upgrade huggingface_hub

huggingface-cli login

llamafactory-cli train examples/train_lora/llama3_lora_sft.yaml

sudo apt install git-lfs

git clone https://huggingface.co/meta-llama/Meta-Llama-3-8B

相关文章:

  • HttpUtils工具类
  • base64字符串空格问题
  • 【智能算法】目标检测算法
  • doris集群物理部署保姆级教程
  • 深入理解 RabbitMQ、RocketMQ等常⽤的消息中间件进⾏消息的异步数据处理
  • 使用 PHP 和 Selenium WebDriver 实现爬虫
  • 数据质量管理-可访问性管理
  • 从零搭建Prometheus到Grafana告警推送
  • Ansible自动化部署
  • pdf拆分,pdf拆分在线使用,pdf拆分多个pdf
  • 主干网络篇 | YOLOv5/v7 更换骨干网络之 MobileNetV3 | 基于神经网络搜索的轻量级网络
  • Ubuntu20.04安装vimplus插件
  • 多任务学习和迁移学习的原理
  • Windows传统DOS路径有效性检测(资源篇)
  • 服务器是否稳定怎么看
  • AHK 中 = 和 == 等比较运算符的用法
  • GitUp, 你不可错过的秀外慧中的git工具
  • gulp 教程
  • iOS 颜色设置看我就够了
  • JDK9: 集成 Jshell 和 Maven 项目.
  • leetcode386. Lexicographical Numbers
  • Linux编程学习笔记 | Linux IO学习[1] - 文件IO
  • Mac 鼠须管 Rime 输入法 安装五笔输入法 教程
  • mongodb--安装和初步使用教程
  • Node.js 新计划:使用 V8 snapshot 将启动速度提升 8 倍
  • passportjs 源码分析
  • Spring Cloud(3) - 服务治理: Spring Cloud Eureka
  • Spring声明式事务管理之一:五大属性分析
  • 对象管理器(defineProperty)学习笔记
  • 高度不固定时垂直居中
  • 普通函数和构造函数的区别
  • 前端路由实现-history
  • 三栏布局总结
  • 设计模式(12)迭代器模式(讲解+应用)
  • 使用putty远程连接linux
  • 数组大概知多少
  • 学习使用ExpressJS 4.0中的新Router
  • [地铁译]使用SSD缓存应用数据——Moneta项目: 低成本优化的下一代EVCache ...
  • ​sqlite3 --- SQLite 数据库 DB-API 2.0 接口模块​
  • ​如何在iOS手机上查看应用日志
  • $.proxy和$.extend
  • (16)Reactor的测试——响应式Spring的道法术器
  • (2022版)一套教程搞定k8s安装到实战 | RBAC
  • (delphi11最新学习资料) Object Pascal 学习笔记---第8章第2节(共同的基类)
  • (Python) SOAP Web Service (HTTP POST)
  • (Qt) 默认QtWidget应用包含什么?
  • (附程序)AD采集中的10种经典软件滤波程序优缺点分析
  • (附源码)springboot人体健康检测微信小程序 毕业设计 012142
  • (汇总)os模块以及shutil模块对文件的操作
  • (力扣记录)1448. 统计二叉树中好节点的数目
  • (四)linux文件内容查看
  • (一)Spring Cloud 直击微服务作用、架构应用、hystrix降级
  • (一)插入排序
  • (已更新)关于Visual Studio 2019安装时VS installer无法下载文件,进度条为0,显示网络有问题的解决办法
  • (转)可以带来幸福的一本书