-
Notifications
You must be signed in to change notification settings - Fork 939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add interactive prompt and port mode for dollyv2 #319
Add interactive prompt and port mode for dollyv2 #319
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's actually a nice example
Instead of std::cerr <<
use fprintf(stderr,
Will update the error handling. @ggerganov are you okay with me merging this for now and then coming up with a more generic implementation that we can apply to more models in separate PR? |
Sure. Can move the socket stuff in |
updated error printing is here while I think it will be a few days until I get around to do the socket stuff more generic: #337 I will also see if I can make it work with https://github.com/ggerganov/llama.cpp |
ref: #31
This is just an example of how interactive mode via
stdin
orport
could work.# Example command to start interactive port ./bin/dollyv2 -m ../../dolly-v2-3b/ggml-model-f16.bin --seed 1687951488 -ip 8081