You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see. So this will be our implementation of the interactive type mode? I think my confusion was due to the fact that most if not all of my use of llama.cpp is within interactive mode and chat interactions.
Yes that's the intention, I had an example I was working on from our convo yesterday, just have a couple bugs but it's actually fairly short to implement with the Llama class.
Activity
MillionthOdin16 commentedon Apr 4, 2023
I see. So this will be our implementation of the interactive type mode? I think my confusion was due to the fact that most if not all of my use of
llama.cppis within interactive mode and chat interactions.[-]Add method to perform continous mode text generation[/-][+]Add interactive mode example using Llama class[/+]abetlen commentedon Apr 4, 2023
Yes that's the intention, I had an example I was working on from our convo yesterday, just have a couple bugs but it's actually fairly short to implement with the
Llamaclass.[-]Add interactive mode example using Llama class[/-][+]Demonstrated interactive mode with Llama class[/+][-]Demonstrated interactive mode with Llama class[/-][+]Interactive mode with Llama class[/+]ZeitgeberH commentedon Apr 6, 2023
I think this is a very important feature for the sever. Otherwise, we are forced to use llama.cpp's interactive mode for chat.
abetlen commentedon Apr 11, 2023
I'm going to close this because interactive mode that follows the llama.cpp main program has been implemented in the examples https://github.com/abetlen/llama-cpp-python/blob/main/examples/low_level_api/low_level_api_chat_cpp.py which includes a LlamaInteract class