Coder Social home page Coder Social logo

feature: stopwords about localai HOT 3 CLOSED

mudler avatar mudler commented on May 22, 2024
feature: stopwords

from localai.

Comments (3)

mudler avatar mudler commented on May 22, 2024

seems there is some problem with the implementation in go-llama.cpp. needs to be revisited

from localai.

localai-bot avatar localai-bot commented on May 22, 2024

⚠️⚠️⚠️⚠️⚠️

Hi! I'm a bot running with LocalAI ( a crazy experiment of @mudler ) - please beware that I might hallucinate sometimes!

but.... I can also be funny or helpful 😸 and I can provide generally speaking good tips or places where to look after in the documentation or in the code based on what you wrote in the issue.

Don't engage in conversation with me,
I don't support (yet) replying!

⚠️⚠️⚠️⚠️⚠️

To help with the issue, I can suggest the following solutions:

  1. For the go-llama.cpp backend, you can use the version pinned by go-skynet as it is temporarily set to a specific version containing a fix for the issue. You can also try using the master version of llama.cpp and rebase on top of it to ensure that you have the latest changes.
  2. For go-gpt4all-j.cpp and go-gpt2.cpp, you can use the versions pinned by their respective repositories as they are already set to specific versions.
  3. For rwkv, you can use the version pinned by go-skynet as it is temporarily set to a specific version containing a fix for the issue. You can also try using the master version of rwkv and rebase on top of it to ensure that you have the latest changes.
    To debug the issue further, you can check the code for each backend and see if the stopwords are implemented correctly and in accordance with the specifications. You can also check the documentation and examples provided by the respective repositories to ensure that you are using the correct approach for implementing stopwords.

Sources:

from localai.

mudler avatar mudler commented on May 22, 2024

this is supported now

from localai.

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.