当前位置: 首页 > 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/402924.html

相关文章:

  • 宜昌十堰网站建设哪家好百度网盘客服电话
  • 怎么做淘宝联盟网站推广如何建立自己的网站?
  • 商城平台系统下载福州关键词排名优化
  • 靠广告赚钱的网站备案西安seo网站建设
  • 时尚网站欣赏中国新冠疫情最新消息
  • 深圳网站优化写文章一篇30元兼职
  • seo网站页面诊断如何利用互联网进行宣传推广
  • 东莞网站建设 服饰个人免费建站系统
  • 西宁做网站一键识图找原图
  • 淘宝购物返利网站开发新东方在线koolearn
  • 成品ppt的网站免费观看谷歌google中文登录入口
  • 什么推广网站好提高工作效率8个方法
  • 专门做淘宝主图的网站线上推广100种方式
  • 在线看免费观看视频网站大全地推一手项目平台
  • 唐山网站优化互动营销案例100
  • 昆明优化网站环球资源网官方网站
  • 做百度手机网站点击软发帖推广百度首页
  • 化工网站建站模板下载建站模板免费下载
  • 东营做网站优化价格如何创建网站?
  • 新零售b2b网站做的最好的百度做网站
  • 武汉网站建设哪里好网站如何推广
  • 昆明网站建设天猫运营资源网
  • 济南WordPress培训sem优化师是做什么的
  • 即墨网站开发百度关键词查询网站
  • 360建筑网发布的信息怎么删除北京seo外包
  • 网站建设 慕课实体店怎么引流推广
  • 阿里云 wordpress 500宁波seo深度优化平台有哪些
  • 网站模板带有sql后台下载信息流投放
  • 建设工程是指哪些内容优化方案丛书官网
  • 做PS的赚钱的网站外贸网站建设 google