-
I am new in LLM topic, sorry for dumb questions, can i somehow to train already pretrained model (force it to act like character) and could someone to share example how to embed documents, calendar activity, etc ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can try to engineer a prompt (as long as it may be) that contains all the relevant instructions to achieve what you want on existing models without training them for your specific use case. This library handles many tricks for you so you can use it with a model without engineering a long prompt by yourself to achieve what you need. You may be interested in using function calling to let a model dynamically fetch information and perform actions or JSON schema grammar to force a model to respond in a format you can use programmatically. |
Beta Was this translation helpful? Give feedback.
llama.cpp
doesn't support training a model at the moment; you can only use existing models converted into the GGUF format with it and this library.You can try to engineer a prompt (as long as it may be) that contains all the relevant instructions to achieve what you want on existing models without training them for your specific use case.
This is much easier in most cases, but a long prompt may take up a lot of the context, shrinking the space left for generation.
This library handles many tricks for you so you can use it with a model without engineering a long prompt by yourself to achieve what you need.
It also contains some workarounds to avoid having to tell the model what you want a…