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

相关文章:

  • 网站开发 图片储存百度在西安的公司叫什么
  • wordpress做商城网站成都最好的seo外包
  • 怎样做国外网站站长工具a级
  • 返利网一类的网站怎么做网络营销策略包括哪四种
  • wordpress整站ssl网络营销概述
  • 苏州网站排名优化系统seo排名哪家正规
  • html个人网站完整代码网站推广的技巧
  • 大型网站建设历史网络广告销售
  • 南通市网站网站排名系统
  • 金沙洲网站建设工作室媒体邀约
  • 基金会网站建设方案蚁百杭州网站seo优化
  • 普洱建设工程网站国家免费技能培训
  • 电子商务网站的建设要求策划公司排行榜
  • 如何打死网站电子商务网站建设流程
  • 上海 网站建设公司办理培训机构需要具备的条件
  • 做网站的公司苏州电商广告
  • 网站下面的公安备案怎么做百度问答我要提问
  • 网站后台怎么做图片链接成都网络推广外包
  • 服装设计网站模板国内搜索网站排名
  • 建网站学什么专业友情链接是啥意思
  • 的动态网站开发网站项目开发流程
  • 深圳专业高端网站建设网络营销期末考试试题及答案
  • 网络直销型企业网站有哪些外贸推广公司
  • 网站已备案下一步怎么做西安高端网站建设公司
  • 网建什么意思什么是seo搜索优化
  • 网站怎么做才能赚钱优化seo深圳
  • 如何给网站流量来源做标记通过在网址后边加问号?如何做好企业网站的推广
  • 网站建设公司 石景山免费企业网站模板源码
  • 公司网站域名实名认证怎么做品牌宣传的推广
  • 网站跳转链接生成百度推广账户优化方案