Git Product home page Git Product logo

Comments (1)

SuperUserNameMan avatar SuperUserNameMan commented on September 22, 2024 1
  1. Is it possible to specify a preferred language in the settings? During communication I have to repeat several times to write in my native language. This happens with many or most models. They either forget what they talked about in the chat (I mean within the chat, not about the adjacent chat, I understand that there is no connection between them, the models forget what they said within the same chat) or forget the language setting.

Here is my trick : Into the settings, I modify the prompt template to include a "Veuillez répondre en français." instruction (which means, "Please, answer in french") after the %1.

For instance, with Llama3, the prompt template becomes :

<|start_header_id|>user<|end_header_id|>

%1
Veuillez répondre en français.
<|eot_id|><|start_header_id|>assistant<|end_header_id|>

%2<|eot_id|>

With Phi-3, it would be :

<|user|>
%1
Veuillez répondre en français.<|end|>
<|assistant|>
%2<|end|>

If you want to keep a version of the model with the original prompt, just press the clone button before modifying the prompt template.

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.