GithubHelp home page GithubHelp logo

[Question]: FAQ模型部署成功以后,经过异常捕获处理后,在多轮次问答过程中,出现一次成功一次失败的现象。 about paddlenlp HOT 39 CLOSED

songjunming13 avatar songjunming13 commented on May 30, 2024
[Question]: FAQ模型部署成功以后,经过异常捕获处理后,在多轮次问答过程中,出现一次成功一次失败的现象。

from paddlenlp.

Comments (39)

songjunming13 avatar songjunming13 commented on May 30, 2024

请问现在有结果吗?

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

在使用FAQ模型的时候,做好异常处理以后,向模型提问一个问题返回一个正确结果,再次提问问题出现一次异常,然后再返回正确结果,再出现异常 请问这个怎么了?应该怎么处理呢?

from paddlenlp.

michaelowenliu avatar michaelowenliu commented on May 30, 2024

@songjunming13 你好,收到你的问题和邮件。能否把这个issue里遇到的问题完善下,包括issue的title,这样方便相关研发同学快速定位和解决,谢谢。

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

__
首次问答结果返回
第二次问答结果返回

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024
Snipaste_2024-03-29_09-43-14 红线上面内容对应返回结果正确的那张图片,红线下方对应反馈结果错误的那张照片

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

ZHUI avatar ZHUI commented on May 30, 2024

嗯嗯,你好,请问您使用的代码是哪一个目录的?方便发一下链接吗?

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

您好,谢谢您的关注,已经向您发送了邮箱,阐述了问题了,以及您所需要的文件,如有不足之处望您在详细说明 谢谢

from paddlenlp.

ZHUI avatar ZHUI commented on May 30, 2024

请问您的邮件发到哪个地址了?

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024
发送的邮箱地址 这个邮件发送再这个邮箱了?里面有一个问题文档说明,还有源码文件,以及一个遇到问题的演示视频,希望能够减少您的麻烦

from paddlenlp.

ZHUI avatar ZHUI commented on May 30, 2024

嗯嗯,收到了👌

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

@您好, 已提交修复的PR:#8214 , 然后按照这样设置一下:

retriever11 = DensePassageRetriever(
    document_store=document_store11,
    query_embedding_model="rocketqa-zh-dureader-query-encoder",
    passage_embedding_model="rocketqa-zh-dureader-query-encoder",
    max_seq_len_query=64,
    max_seq_len_passage=256,
    batch_size=16,
    use_gpu=False,
    embed_title=False,
    _static_mode=False
)

类似错误issue:PaddlePaddle/Paddle#33831

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

我测试了几次,没什么问题了。

image

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

把我最新合入的pr拉一下,重新安装一下pipelines

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

对的,源码安装最新版本

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024
2

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

贴一下你的环境,可以使用如下的命令把你的python包输出到requirements.txt里面

pip freeze > requirements.txt

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

requirements.txt
这个是新搭建环境的.txt文件

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

我没有找到您的faiss,这是我的faiss版本,仅供参考:

faiss-cpu                      1.7.4

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

这个是操作详细步骤的文档
wenti.docx

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

源码安装:

cd PaddleNLP/pipelines
pip install -e .

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

按照这样更新环境的话,又出现了一个错误。
10

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

模型现在已经跑通了,但是就是完成了这一步以后,以后还是没有解决
226

把我最新合入的pr拉一下,重新安装一下pipelines

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

_static_mode=False 把静态图关掉

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

你确定你装上去了?下载最新的pipelines源代码,把原来的pipelines卸载掉,重新安装

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

可以留个微信联系方式,我帮您看一下环境

from paddlenlp.

songjunming13 avatar songjunming13 commented on May 30, 2024

from paddlenlp.

w5688414 avatar w5688414 commented on May 30, 2024

已私下远程解决

from paddlenlp.

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.