-
Notifications
You must be signed in to change notification settings - Fork 431
Allow user to define the string to concatenate the role name and prompt in DefaultHistoryTransform #322
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
Comments
I'm new to the space of LLMs and was trying to get Llama 3 to run. At first, I copied the chat example in the readme but got some random odd behavior like run off prompts and gibberish replies or replies to older queries interleaved with others -- all sorts of whack. I then tried running with phi-3 and got weirdness there too. I finally came across the example from #708 and things started working for Llama. This made me realize I needed a transform for phi3 as well and ended up creating one for it and things have been working much better. All that's to say, is it worth it to provide a variant of I might be conflating a few issues or just using the tools incorrectly but figured I'd bring it up after a weekend of debugging as a total newcomer to the space 😅 |
Yes, what you are talking about is often called |
I'd be happy to help with development if possible. Let me know if there's any existing design or if you're interested in seeing a PR to attempt a first pass. |
HI, sorry for the late reply. A bit busy these days. It will be great if you'd like to contribute for it! I haven't had a design of it yet but here're something I will consider.
Please let me know if you need any help. |
This issue has been automatically marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days. |
Currently in
DefaultHistoryTransform
we use ":" by defualt to connect the role name and the prompt. However in some language, ":" is not a commonly used string, for example, Chinese. In some other conditions, users may just want to use a self-defined connector. Therefore we'd better allow user to define the connector themselves.The text was updated successfully, but these errors were encountered: