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

Proposal multi context #1

Merged
merged 10 commits into from
Aug 9, 2023

Conversation

SignalRT
Copy link
Owner

@SignalRT SignalRT commented Aug 9, 2023

No description provided.

…in use in `TalkToYourself`, along with notes on what still needs improving.

The biggest single change is renaming `LLamaModel` to `LLamaContext`
 - Sanity checking that weights are not disposed when creating a context from them
 - Further simplified `Utils.InitLLamaContextFromModelParams`
 - sealed some classes not intended to be extended
@SignalRT SignalRT merged commit ad08e66 into SignalRT:master Aug 9, 2023
0 of 6 checks passed
SignalRT pushed a commit that referenced this pull request Apr 30, 2024
Optional IHistoryTransform added to ChatSession.InitializeSessionFromHistoryAsync
SignalRT pushed a commit that referenced this pull request Jun 29, 2024
- more generic default template history transformer
- EOT and EOS token to string
- minor refactor of ModelToken to readonly struct
- template convenience methods
- exposed metadata get by key native handle
- update example to use update default history transform and convenience anti prompt value from model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants