Skip to content
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

Automatically render user, assistant, system, special tokens #8

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

rlouf
Copy link
Member

@rlouf rlouf commented Jul 30, 2024

Follows #6 and closes #3. We introduce a new data structure to hold the models' special tokens.

Note that chat templates are so idiosyncratic that I am not sure this is going to be useful in practice. I should probably focus on #4.

@rlouf rlouf added the enhancement New feature or request label Jul 30, 2024
@rlouf rlouf self-assigned this Jul 30, 2024
@rlouf rlouf changed the title Automatically render user, assistant, system, tool use, rag special tokens Automatically render user, assistant, system, special tokens Jul 31, 2024
@rlouf rlouf marked this pull request as ready for review July 31, 2024 08:25
@rlouf rlouf merged commit b47c9ba into dottxt-ai:master Jul 31, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide generic chat-specific variables
1 participant