Giter VIP home page Giter VIP logo

Comments (7)

deep-diver avatar deep-diver commented on July 22, 2024 3

I am planning to add streaming feature soon! :)
in that case batch requests handling feature will be disabled (well will remain as an option)

from llm-as-chatbot.

deep-diver avatar deep-diver commented on July 22, 2024 3

check this out
: https://twitter.com/algo_diver/status/1638079375085305856?s=20

from llm-as-chatbot.

deep-diver avatar deep-diver commented on July 22, 2024 1

just updated the repository and experimentally running here
: https://notebookse.jarvislabs.ai/BuOu_VbEuUHb09VEVHhfnFq4-PMhBRVCcfHBRCOrq7c4O9GI4dIGoidvNf76UsRL

from llm-as-chatbot.

alexanderfrey avatar alexanderfrey commented on July 22, 2024

Can you elaborate on how you would implement it ? Maybe I can help. From what I understand it helps reducing the latency in a way such that the user wont have to wait until the full response is returned.

from llm-as-chatbot.

deep-diver avatar deep-diver commented on July 22, 2024

Thanks @alexanderfrey

Hugging Face library does not support streaming feature out of the box, so I thought I need a sort of money patch. Luckily, I found one from different open source project
: hyperonym/basaran#57

if it turns out hard for me to implement streaming feature in the current version, I will let you know!

from llm-as-chatbot.

deep-diver avatar deep-diver commented on July 22, 2024

@alexanderfrey

in the streaming, most of the parameters in GenerationConfig are not supported. Do you think you can make that happen?

from llm-as-chatbot.

alexanderfrey avatar alexanderfrey commented on July 22, 2024

let me have a look tonight. can not promise but definitely interested to contribute

from llm-as-chatbot.

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.