Giter VIP home page Giter VIP logo

Comments (4)

qmaolong avatar qmaolong commented on June 25, 2024 2

请问有解决相关问题吗?

from qanything.

HorizonPursuer avatar HorizonPursuer commented on June 25, 2024

Please Describe The Problem To Be Solved 感谢如此精彩的项目。出于效果比较的需要,我正在将这个代码尝试以gpt作为generator部署。

(Optional): Suggest A Solution 我看到scripts文件夹中的run_for_online脚本,功能上是支持api调用的模型参与部署的,所以我在此基础上尝试用这个文件去替换run_for_local来部署,理论上这样替换再docker build就能得到一个online版本的QAnything。但是我在docker build的过程中碰到了

COPY nltk_data /root/nltk_data
COPY paddleocr /root/.paddleocr
COPY qa_ensemble /opt/tritonserver/backends/qa_ensemble

https://github.dev/netease-youdao/QAnything/blob/65d84c693a7d8b2243f2b1eaac294246666f66f7/Dockerfile#L57-L59 这三个文件夹的缺失。其中我并不清楚qa_ensemble的由来,目前打算从现有的docker镜像中复制文件,但是直觉上说是不是有更好的方法来做到这件事情?因此提了这个issue来询问贵团队的解决方法,烦请解答!

这个run_for_online脚本需要所有服务全是API调用,而且有bug。运行run_for_online不需要docker build,只要把docker compose里的 command改了就行。我是通过改run_for_local实现的只换llm服务。

from qanything.

hellobiek avatar hellobiek commented on June 25, 2024

同问,其实就是如何构建自己的镜像,而不是每次都从官方下载。

from qanything.

dubeno avatar dubeno commented on June 25, 2024

是不是可以先运行它的镜像,然后把内容挂载到自己的目录,然后导出来

from qanything.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.