serge

A web interface for chatting with Alpaca through llama.cpp. Fully dockerized, with an easy to use API.

APACHE-2.0 License

Stars
5.6K
Committers
32

Bot releases are visible (Hide)

serge - 0.1.1

Published by nsarrazin over 1 year ago

Changelog

Fixed a bug with the release where you couldn't build the image locally
Fixed the wrong python version in the docker image
Fixed PR workflow that wasn't releasing tagged images properly

What's Changed

Full Changelog: https://github.com/nsarrazin/serge/compare/0.1.0...0.1.1

serge - 0.1.0 - Moar Models

Published by nsarrazin over 1 year ago

Changelog

Quite a few things, but in no particular order:

  • We got rid of the custom wrapper around llama.cpp and we now use the awesome python bindings provided by llama-cpp-python.
  • We also got rid of MongoDB, now Redis is used to handle the chat history using a wrapper provided by langchain. Getting rid of MongoDB means Serge should now be fully compatible with older CPUs that don't support AVX instructions 🎉 Please file a bug report if you still have compatibility issues with your specific hardware.
  • We cleaned up the UI a bit and made the colors more uniform all around.
  • We added the ability to delete an already downloaded model.
  • Speaking of models, we added support for the open assistant models as well as Vicuna. They should be available from the download page in Serge.
  • As a result of those changes, plus some work by @gaby the final image should now be a lot lighter.
  • We fixed a bug related to passing the temperature parameter in the UI. Thanks @agronholm and welcome!

And we're finally bumping the version to 0.1, since we got rid of MongoDB it seemed like the right time.

What's Changed

New Contributors

Full Changelog: https://github.com/nsarrazin/serge/compare/0.0.5...0.1.0

serge - Serge 0.0.5 - Mostly Maintenance

Published by nsarrazin over 1 year ago

Updates

Mostly a housekeeping update, here are the things of note:

  • @gaby introduced dependabot, and a new github action allowing us to create docker images for incoming PRs! This will let us test without having to pull everything locally, which should be great.
  • @snxraven added a new button to start a new chat with the same parameters as the current chat, which will save you the trouble of reinputting the same parameters every time.
  • @johncadengo fixed a bug where the context window length wasn't being passed properly, this should allow for longer chats if you increase the context window in the UI.
  • We're up to date with the latest llama.cpp changes, which should bring improved performance and hardware compatibility.

What's Changed

New Contributors

Full Changelog: https://github.com/nsarrazin/serge/compare/0.0.4...0.0.5

serge - Serge 0.0.4 - GPT4All Support

Published by nsarrazin over 1 year ago

Cool things added:

  • GPT4All support has been added! You can just grab it from the download manager.
  • Improved support for CPUs with AVX but no AVX2 support
  • Hitting ctrl+enter lets you send messages
  • Files added to the /usr/src/app/weights folder will now be automatically picked up

What's Changed

New Contributors

Full Changelog: https://github.com/nsarrazin/serge/compare/0.0.3...0.0.4

serge - Serge 0.0.3! Now with a download manager.

Published by nsarrazin over 1 year ago

Get started

docker run -d -v weights:/usr/src/app/weights -v datadb:/data/db/ -p 8008:8008 ghcr.io/nsarrazin/serge:latest

And that's literally it. Just open http://localhost:8008/ to see the available models.

What's Changed

New Contributors

Full Changelog: https://github.com/nsarrazin/serge/compare/0.0.2...0.0.3

serge - 0.0.2

Published by nsarrazin over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/nsarrazin/serge/compare/0.0.1...0.0.2

serge - Serge 0.0.1

Published by nsarrazin over 1 year ago

What's Changed

First release! Let's see if the github actions work.

New Contributors

Full Changelog: https://github.com/nsarrazin/serge/commits/0.0.1