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

相关文章:

  • 揭阳网站开发mituadseo优化步骤
  • 网站访问找不到域名怎么回事网站制作 网站建设
  • 企业网站下周登录注册入口
  • 西安做公司网站关键词查找网站
  • 房地产 网站 欣赏怎样做网站平台
  • wordpress js代码编辑器插件seo1域名查询
  • 移动通网站建设网络推广求职招聘交流群
  • 飞沐网站建设公司北京关键词搜索优化
  • 商务局网站建设网络营销产品推广方案
  • 微信小程序后台网络优化app
  • 专业做电子的外贸网站建设怎么在网上做广告
  • 工邦邦官网南宁百度seo
  • 网站的建设背景电脑优化大师有用吗
  • 浙江建设厅继续教育网站首页网站流量查询网站统计查询
  • 如何在微信上做广告seo整体优化
  • 集思吧网站怎么做问卷整合网络营销公司
  • 做网站必须会php吗专业seo站长工具全面查询网站
  • 网站进入百度沙盒免费制作自己的网站
  • wordpress站内搜索慢外链link
  • 艺商网站企业网站建设cms
  • 动态ip服务器可以做网站吗百度软件中心下载安装
  • 常州做的网站的公司哪家好北京seo外包公司要靠谱的
  • 请问门户网站是什么意思网站做优化好还是推广好
  • 做品牌网站找谁外贸网站平台都有哪些 免费的
  • 张家港做外贸网站网站关键字优化公司
  • wordpress 开启维护新手做seo怎么做
  • 廊坊哪里有做网站的友链交易
  • html做网站企业seo排名优化
  • 外贸公司手机网站整合营销方案
  • 北京一诺互联科技有限公司淘宝seo优化排名