Git Product home page Git Product logo

Comments (2)

zatevakhin avatar zatevakhin commented on June 6, 2024

Hey @TehNomad,

Thanks for giving me a heads-up about this problem. Could you provide some additional info?

  1. What LLM model are you using?
  2. What version of langchain are you on?
  3. Are specific prompts causing the issue, or are they all?

The more details, the better :)
Thanks!

from obsidian-local-llm.

simcop2387 avatar simcop2387 commented on June 6, 2024

@zatevakhin

I know this has been closed since there weren't any other details but I'm seeing the same thing today. I'm using mixtral 8x7b, and it was every prompt tested. I wasn't using llama-cpp server but instead i'm using oobabooga's text-generation-webui and their openai compatible api. It starts decoding and working fine as the response streams in but the response is built, but then fails at last token being generated for some reason.

If I disable "typewriter" mode so that it doesn't use the streaming api then it works completely fine.

I've captured the entire api call made when it fails:

{"prompt":"\n\n### Instructions: Let's write a story about a cat named Buzz \"Light-year\" Aldrin\nCome up with 5 story topics\n\n### Response:\n","stop":["###"],"max_tokens":256,"temperature":0.1,"repeat_penalty":1.1,"top_p":0.95,"top_k":40,"stream":true}

and the response from the server (as it was streamed, captured via wireshark), attached as a file because it's gigantic.
data_stream.txt

from obsidian-local-llm.

Related Issues (4)

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.