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

河南网站开发公司网站如何建立

河南网站开发公司,网站如何建立,福永网站设计多少钱,网上做兼职网站有哪些工作文档:官方文档 Data Agents 我这里就说下细节,我是 小兵我是在在服务器里部署的,不建议小的服务器部署,会GG了 1. 前置环境 因为DB-GPT 越来越强大了,只用pip来管理依赖包的话不太优雅,因此使用 uv 来管理…

文档:官方文档

Data Agents

我这里就说下细节,我是

小兵我是在在服务器里部署的,不建议小的服务器部署,会GG了

1. 前置环境

因为DB-GPT 越来越强大了,只用pip来管理依赖包的话不太优雅,因此使用 uv 来管理。我最近写的项目也再慢慢转 uv 了,也推荐大家慢慢转过来。本教程讲解以 代理模型 为例, 也就是 openai-proxy

1.1 uv 安装
 

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
当然我这里用到的是conda来进行虚拟环境
1.2项目拉取
git clone https://github.com/eosphoros-ai/DB-GPT.git
cd DB-GPT

 

弄好后,记得把sqlite3 的数据也弄好哦,特别提醒

拉取完后,我是本地部署的

1.3Local(本地模型):
uv sync --all-packages --extra "base" --extra "cuda121" --extra "hf" --extra "rag" --extra "storage_chromadb" --extra "quant_bnb" --extra "dbgpts"

安装完包后

可以提前把模型下载

git clone https://www.modelscope.cn/Qwen/Qwen2.5-14B-Instruct.gitgit clone https://hf-mirror.com/BAAI/bge-large-zh-v1.5.git

这里大概33G+,请耐心等待

2.最后

1步骤
cd E:\DB-GPT\

2进入环境
conda activate dbgpt_env_7

3.执行系统运行
uv run dbgpt start webserver --config .\configs\dbgpt-local-qwen.toml

这里提醒一下,local本地一定运行对应的配置文件

[system]
# Load language from environment variable(It is set by the hook)
language = "${env:DBGPT_LANG:-zh}"
api_keys = []
encrypt_key = "your_secret_key"# Server Configurations
[service.web]
host = "0.0.0.0"
port = 5670[service.web.database]
type = "sqlite"
path = "pilot/meta_data/dbgpt.db"[rag.storage]
[rag.storage.vector]
type = "chroma"
persist_path = "pilot/data"# Model Configurations
[models]
[[models.llms]]
name = "Qwen2.5-0.5B-Instruct"
provider = "hf"
# If not provided, the model will be downloaded from the Hugging Face model hub
# uncomment the following line to specify the model path in the local file system
# path = "the-model-path-in-the-local-file-system"
path = "models/Qwen2.5-0.5B-Instruct"[[models.embeddings]]
name = "BAAI/bge-large-zh-v1.5"
provider = "hf"
# If not provided, the model will be downloaded from the Hugging Face model hub
# uncomment the following line to specify the model path in the local file system
# path = "the-model-path-in-the-local-file-system"
path = "models/BAAI/bge-large-zh-v1.5"

配置文件根据实际的情况来改

特别注意

# Model Configurations
[models]
[[models.llms]]
name = "Qwen2.5-0.5B-Instruct"
provider = "hf"
# If not provided, the model will be downloaded from the Hugging Face model hub
# uncomment the following line to specify the model path in the local file system
# path = "the-model-path-in-the-local-file-system"
path = "models/Qwen2.5-0.5B-Instruct"[[models.embeddings]]
name = "BAAI/bge-large-zh-v1.5"
provider = "hf"
# If not provided, the model will be downloaded from the Hugging Face model hub
# uncomment the following line to specify the model path in the local file system
# path = "the-model-path-in-the-local-file-system"
path = "models/BAAI/bge-large-zh-v1.5"

这里的路径和模型名称一定要对上,否则无法加载

提示如果本地部署,内容不够建议32G以上,这是最少的。

http://www.dtcms.com/wzjs/209521.html

相关文章:

  • 顺的网站建设报价中国站长素材网
  • 四川电脑网站建设新站如何快速收录
  • 企业网络营销方案模板百度seo公司哪家好一点
  • 免费开源企业cms蚁百杭州网站seo优化
  • 河南住房和城乡建设厅网站特种沧州seo推广
  • 国内做网站建设知名的公司网站seo优化效果
  • 做网站是怎样赚钱的北京培训学校
  • 黄村网站建设报价线上招生引流推广方法
  • 金寨县建设规划局网站网络营销的特点主要包括什么
  • 用框架做网站如何居中新闻摘抄2022最新5篇
  • 网站维护合同范本最佳磁力搜索引擎
  • 百度做网站多少钱能做线上销售培训机构
  • wordpress 插件经验淘宝seo培训
  • 泰州建设局网站质监站磁力引擎
  • 域名解析网站建设焊工培训ppt课件
  • 建设网站时的故障分类视频号怎么付费推广
  • mac网站设计网站建设对企业品牌价值提升的影响
  • div css做网站云南今日头条新闻
  • 深圳网站设计 公司百度seo引流怎么做
  • 做外贸网站seo网络推广报价
  • 怎样找家做网站的公司营销网站建设门户
  • 重庆建网站推广重庆seo排名外包
  • 企业采购平台有哪几个知名快速排名优化
  • 网页设计色彩搭配seo专业实战培训
  • 重庆网站设计人员百度公司招聘官网
  • 网站推广的步骤博客网站注册
  • 手机app官方安装下载windows优化大师官网
  • 网站制作好以后怎么管理百度seo权重
  • 长沙软件开发公司广州seo公司推荐
  • 建站行业发展趋势英文seo是什么