Skip to content

Has anyone writting Alpaca or CodeLlama ChatPromptWrapper's? #96

Closed Answered by giladgd
jparismorgan asked this question in Q&A
Discussion options

You must be logged in to vote

@jparismorgan You're welcome to contribute these wrappers via a new PR :)
See the development guide to develop node-llama-cpp.
You can find the list of ChatPromptWrappers under src/chatWrappers.

It's worth noting that I'm working right now on #85, which will introduce a major refactor that'll change many things, but adding more ChatPromptWrappers shouldn't conflict with the changes I'm doing.

Regarding Alpace, you can use GeneralChatPromptWrapper and customize the instructionName and responseName of it as you like.
Regarding CodeLlama, what you're looking for is LlamaChatPromptWrapper.
I'm not sure what's the right ChatPromptWrapper for the other models you mentioned here, though.

You can…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jparismorgan
Comment options

Answer selected by giladgd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants