Code Monkey home page Code Monkey logo

Comments (2)

cebtenzzre avatar cebtenzzre commented on September 26, 2024

This is an upstream issue with OpenHermes-2.5-neural-chat-v3-3-Slerp. It's a merge of OpenHermes-2.5-Mistral-7B and neural-chat-7b-v3-3.

Weyaxi claims you can use either prompt format, but neither the tokenizer_config.json nor the special_tokens_map.json correctly specifies the special tokens required by OpenHermes-2.5-Mistral-7B for ChatML as can be seen here.

Please test with a different model. You can report the issue with this model here, and use the neural-chat-7b-v3-3 prompt template for now.

edit: looks like this problem was already reported and closed as WONTFIX https://huggingface.co/Weyaxi/OpenHermes-2.5-neural-chat-v3-3-Slerp/discussions/5
So unless you want to modify the tokenizer config and convert the model yourself, you can't use ChatML with it. By inspecting the contents of the GGUF I have confirmed that TheBloke did not do this (there are no im_start/im_end tokens in the vocab), despite him repeating the bad recommendation from Weyaxi to use ChatML.

from gpt4all.

ThiloteE avatar ThiloteE commented on September 26, 2024

Ok thank you very much. It is a pity, because it is a great model. Looks like it is hard to support, if people try to use ChatML because of a bad recommendation in the model card and then realize it will not work.

from gpt4all.

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.