Giter Site home page Giter Site logo

Comments (6)

junjzhang avatar junjzhang commented on June 3, 2024 1

@mzh1996 我解决了,在请求时使用 skip_special_tokens=False

from qwen1.5.

JustinLin610 avatar JustinLin610 commented on June 3, 2024

参考readme的用例,直接使用vllm,要用apply_chat_template给输入封上chatml格式

from qwen1.5.

mzh1996 avatar mzh1996 commented on June 3, 2024

apply_chat_template

感谢

from qwen1.5.

junjzhang avatar junjzhang commented on June 3, 2024

@mzh1996 请问你\n\n\n问题解决了吗,我在vllm中使用了chatml的template还是会有这个问题

from qwen1.5.

mzh1996 avatar mzh1996 commented on June 3, 2024

@mzh1996 请问你\n\n\n问题解决了吗,我在vllm中使用了chatml的template还是会有这个问题

@junjzhang 暂时没解决,我觉得我还是没成功套上chatml模板

from qwen1.5.

mzh1996 avatar mzh1996 commented on June 3, 2024

@junjzhang 牛的,不过感觉可能咱们用的方式还是不对(比如template的加载),按理来说不应该这样的。我尝试硬在prompt构造时加上You are a helpful assistant的那个模板,效果改善不少

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.