Giter Club home page Giter Club logo

Comments (7)

remixer-dec avatar remixer-dec commented on June 18, 2024 1

Thank you, I was using /clear and /config. Currently everything works fine, I'll try to get more info if this happens again.

from continue.

sestinj avatar sestinj commented on June 18, 2024

Good catch, this is an easy fix. The next version I release today will have this update

And I'll look for the command problem—do you remember which of the commands you were using?

from continue.

sestinj avatar sestinj commented on June 18, 2024

if you were using clear while only the welcome message was showing, we previously would replace it immediately, which could be what you were experiencing

from continue.

remixer-dec avatar remixer-dec commented on June 18, 2024

Possible.

Just noticed that Continue uses system message not exactly as I expected (the model expects prompt in specific format, but it just adds system message into <System> part instead of replacing the whole prompt), where should I look, to configure custom prompt format?

изображение

from continue.

sestinj avatar sestinj commented on June 18, 2024

Could you share which model class you are using? (e.g. GGML, Ollama, etc...)

It's actually misleading that it says "exact prompt" here, and I need to update that. The <System>/<User> things here are just for display and we actually format in the expected llama2 format behind the scenes (just need to make this transparent)

And I've only added this to the LlamaCpp class so far, but will soon add to all of them: You can edit the chat template by changing the parameter: template_messages: Callable[[List[ChatMessage]], str] = code_llama_template_messages to a custom callback function. The ones we use by default are here

from continue.

remixer-dec avatar remixer-dec commented on June 18, 2024

Got it, thank you. I am using GGML class.

from continue.

sestinj avatar sestinj commented on June 18, 2024

Ok, good to know. In that case, the messages, including system, are just passed as json objects, so there isn't much room for error (or customization, it's up to the other server to do the formatting). I'm going to close this issue as the main problem is resolved. And if the second one comes up again I think it would probably be good to have a separate issue. Feel free to reopen if needed!

from continue.

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.