Need help with OogaBooga's OpenAI Api - how to properly do an instruct completion with an LLAMA3.1 based model (GGUF) #6334
Unanswered
BigKid1973
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I'm trying to use the api using C# and I'm stuck for the lack of examples - or probably because I'm too stupid to find them.
I'm currently sending a json to the openai api of oobabooga:
The json looks about this (and its serialzed before I send it):
The problem I have is that if the loaded model has an instruct template in the gguf it complains that if have duplicated 'begin of text' . I assume thats because the gguf of the model seems to contain templates and that oogabooga seems to interpret my message. So how can use the API in some kind of "raw" mode - without ooga booga interpreting my message first ?
"Empty" template is a template I saved using the WebInterface (and it should be empty).
If I'm doing it wrong how SHOULD I use it ? Where can I find more info that is more oogabooga specific ?
Beta Was this translation helpful? Give feedback.
All reactions