Giter Site home page Giter Site logo

Comments (9)

jklj077 avatar jklj077 commented on June 13, 2024 3

Do not interchange Qwen(1.0) and Qwen1.5 codes or model weights, as they are fundamentally incompatible. For implementing streaming responses with transformers, consult the official documentation at: https://qwen.readthedocs.io/en/latest/inference/chat.html#streaming-mode.

请勿混用Qwen(1.0)与Qwen1.5的代码或模型权重,因为它们之间根本不兼容。若需使用transformers实现流式响应,请参阅官方文档:https://qwen.readthedocs.io/zh-cn/latest/inference/chat.html#streaming-mode

from qwen1.5.

connermo avatar connermo commented on June 13, 2024

+1

from qwen1.5.

hffei avatar hffei commented on June 13, 2024

+1

from qwen1.5.

seamoon224 avatar seamoon224 commented on June 13, 2024

+1

from qwen1.5.

seamoon224 avatar seamoon224 commented on June 13, 2024

问题应该是在于chat_stream方法做了改动,在原来第一版的qwen的modeling_qwen.py的QWenLMHeadModel类中,有chat_stream方法,但qwen-1.5B还没有开放modeling_qwen.py文件...

from qwen1.5.

Panda-ka avatar Panda-ka commented on June 13, 2024

问题应该是在于chat_stream方法做了改动,在原来第一版的qwen的modeling_qwen.py的QWenLMHeadModel类中,有chat_stream方法,但qwen-1.5B还没有开放modeling_qwen.py文件...

请问目前有什么解决方案吗?

from qwen1.5.

dliting avatar dliting commented on June 13, 2024

+1

from qwen1.5.

zhangfan-algo avatar zhangfan-algo commented on June 13, 2024

我也遇到 怎么办呢

from qwen1.5.

dliting avatar dliting commented on June 13, 2024

+1

from qwen1.5.

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.