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

响应式网站做法高明网站建设报价

响应式网站做法,高明网站建设报价,商业网站规划,wordpress 注册 攻击文章目录 1 项目概述#xff08;必写#xff09;#xff1a;2 技术方案与实施步骤2.1 模型选择#xff08;必写#xff09;#xff1a;2.2 数据的构建#xff1a;2.3 功能整合#xff08;进阶#xff09;#xff1a; 3 实施步骤#xff1a;3.1 环境搭建#xff08;… 文章目录 1 项目概述必写2 技术方案与实施步骤2.1 模型选择必写2.2 数据的构建2.3 功能整合进阶 3 实施步骤3.1 环境搭建必写3.2 代码实现必写3.2.1 chat_agent3.2.2 界面 4 项目成果与展示4.1 应用场景展示(必写)4.2 功能演示必写 NVIDIA AI-AGENT夏季训练营 项目名称AI-AGENT夏季训练营 — RAG智能对话机器人 报告日期2024年8月18日 项目负责人赵志远 1 项目概述必写 在这部分介绍项目的整体情况包括项目的应用场景与亮点 本项目目的是根据建筑表面的混凝土缺陷照片利用AI提出对应的解决方案。可以使用在建筑的验收、检测和修复中。本项目使用多模态技术对混凝土缺陷的照片进行识别根据识别出的缺陷种类利用RAG技术对混凝土的修复方法进行增强检索。 2 技术方案与实施步骤 技术方案和实施步骤 使用microsoft/phi-3-vision-128k-instruct对图片进行识别。得到混凝土表面缺陷的种类。 使用RAG技术根据识别出的种类在自定义的文本数据库中找到合适的修复方法。 利用大模型输出结果。 2.1 模型选择必写 详细描述项目采用的技术方案包括大模型的选择理由、RAG模型的优势分析。 图片识别模型采用了microsoft/phi-3-vision-128k-instruct其是当前最先进的图片模型之一经过大量的预训练具有卓越的图片理解能力。 Retrieval-augmented Generation (RAG) 是一种将信息检索与生成模型结合的方法。 RAG有如下优势 增强的知识获取 降低幻觉效应 精确性与上下文相关性 处理长文档与复杂查询 高效资源利用 多领域应用 大语言模型采用的meta/llama-3.1-405b-instruct具有开源和准确度高的优点。 2.2 数据的构建 对混凝土表面各种缺陷的处理方法进行整理为.txt文件并使用langchain.vectorstores FAISS 进行向量化。 2.3 功能整合进阶 使用图片识别、RAG技术生成一个agent来输出混凝土表面缺陷的处理。 3 实施步骤 3.1 环境搭建必写 描述开发环境的搭建过程包括必要的软件、库的安装与配置。 环境使用了NVIDIA的 AI Foundation Endpoints 环境。 import os import base64 from operator import itemgetterimport matplotlib.pyplot as plt import numpy as npfrom langchain_nvidia_ai_endpoints import ChatNVIDIA from langchain_core.output_parsers import StrOutputParser from langchain_core.prompts import ChatPromptTemplate from langchain.schema.runnable import RunnableLambda from langchain.schema.runnable.passthrough import RunnableAssign from langchain_core.runnables import RunnableBranch from langchain_core.runnables import RunnablePassthrough from langchain.chains import ConversationChain from langchain.memory import ConversationBufferMemory from langchain.vectorstores import FAISS from langchain.text_splitter import CharacterTextSplitter import faiss3.2 代码实现必写 3.2.1 chat_agent def chart_agent(image_b64, user_input, text):# Convert image to base64image_b64 image2b64(image_b64)# Image reading using the modelimage_reading ChatNVIDIA(modelmicrosoft/phi-3-vision-128k-instruct)result image_reading.invoke(fIdentifying types of concrete defects: img srcdata:image/png;base64,{image_b64} /)# Initialize the LLM for generating repair suggestionsllm ChatNVIDIA(modelmeta/llama-3.1-405b-instruct)# Assuming store is provided and is correctretriever store.as_retriever()# Define the prompt template including image analysis result and contextprompt ChatPromptTemplate.from_messages([(system,Based on the image analysis and the following context, provide repair suggestions.\nImage Analysis\n{image_result}\n/Image Analysis\nDocuments\n{context}\n/Documents),(user, {question}),])# Invoke the chain with all the necessary inputsresult_text prompt.invoke({context: retriever,image_result: result.content,question: user_input})# Run the LLM to get the final repair suggestionsfinal_result llm.invoke(result_text)return final_result3.2.2 界面 import gradio as gr multi_modal_chart_agent gr.Interface(fnchart_agent,inputs[gr.Image(labelUpload image, typefilepath), text],outputs[text],titleMulti Modal chat agent,descriptionMulti Modal chat agent,allow_flaggingnever)multi_modal_chart_agent.launch(debugTrue, shareFalse, show_apiFalse, server_port5001, server_name0.0.0.0)4 项目成果与展示 4.1 应用场景展示(必写) 机器人主要应用在建筑表面的检测、评估和修复。 4.2 功能演示必写 UI界面
http://www.hkea.cn/news/14423984/

相关文章:

  • 自己做网站投放有流量么深圳市建设中心官网网址
  • 深圳建设个网站制作图片网站
  • 网站名称收录重庆在线高校平台登录
  • 泉州专门制作网站做网站的软件工程师
  • 顺义网站做的比较好的公司佛山网站建设网站制作公司
  • 关于旅游的网站建设目的做设计有必要买素材网站会员
  • 做python项目的网站医疗机构 网站备案
  • flash网站建地方的网站前景
  • 网站图片设置隐私保护怎么下载dw不会写代码能建立网站吗
  • 网站建设案例欣赏怎么在网上推广产品
  • 做ppt图片用的网站有哪些问题文章网站是怎么做的
  • 外贸优化网站制作甘家口网站建设
  • 新乡网站建设加盟电话公众号平台文章wordpress
  • ag亚游平台网站开发wordpress云典
  • 网站开发合同下载泸州小程序定制开发
  • 个人网站学生作业资源分享网站怎么做
  • 什么网站可以做片头成品网站源码
  • 浙江网站建设设计大连html5开发
  • 网站开发引发的官司wordpress下载教程
  • 做实验的网站九江网站建设优化公司
  • wordpress前台视频上传长沙seo
  • wordpress中英文插件seo营销专员
  • c2c网站 多钱东莞做网站需要避免这些因素
  • iis网站批量导入莞城发布最新通告
  • 成都科技网站建设费淘宝天猫优惠券网站建设费用
  • 北京上云科技网站建设视觉设计网
  • 怎么样做网站代cms 导航网站
  • 网站排名易下拉系统12306网站建设投标书
  • 曹县网站开发微商城是怎么做的
  • 青岛微网站开发网站开发实例百度云