Comments (2)
Is using the save/load functionality not working for you? It saves the model state and a json file for your history into a customizable folder. If this is not what you're looking for, can you explain what you are trying to do in more detail? I'm not quite understanding how your unified history is working and what might be incompatible.
https://github.com/SciSharp/LLamaSharp/blob/master/LLama/ChatSession.cs#L113
from llamasharp.
Is using the save/load functionality not working for you? It saves the model state and a json file for your history into a customizable folder. If this is not what you're looking for, can you explain what you are trying to do in more detail? I'm not quite understanding how your unified history is working and what might be incompatible.
https://github.com/SciSharp/LLamaSharp/blob/master/LLama/ChatSession.cs#L113
ChatGPT allows user to edit messages then AI regenerate it with different history, now I found that ChatSession is just for Show/Keeping track of messages, but doesn't affect the executor history, since executor remembers history as token list in '_embed_inps' and I can't edit this history and swap it like user would on message edit, since that means I need to recreate the executor and fill the history each time I press swap message button
like this, the four messages is just the same message but edited and each response doesn't remember it's previous, and keep track with edited history
from llamasharp.
Related Issues (20)
- [BUG]: Vulkan - bad output after a while HOT 3
- Ho can i get functions calls? HOT 7
- [BUG]: Null reference in AskAsync() HOT 1
- Error Loading LLAMA 3.1 llama_model_load: error loading model: done_getting_tensors: wrong number of tensors; expected 292, got 291[BUG]: HOT 4
- llamasharp provider for langchain.net is outdated HOT 2
- [BUG]: v0.14.0 hangs when initializing ModelParams HOT 3
- [BUG]: RTX 4080 - crash while loading Vulkan HOT 8
- [BUG]: Vulkan backend crash on model loading HOT 3
- [BUG]: Different continuation after restoring state HOT 1
- Improve `LLamaEmbedder` HOT 2
- [BUG]: KernelMemory.AskAsync() does not work - exception: object reference not set to an instance of an object HOT 25
- [BUG]: fatal error using gemma-2-2b-it HOT 3
- [BUG]: "The type or namespace 'Common' does not exist in the namespace 'LLama'" HOT 4
- Application Not Using GPU Despite Installing LlamaSharp.Backend.Cuda12 HOT 1
- [Feature]: Add development support for Dev Containers HOT 6
- How do i use RAG by kernel memory and Semantic kernel Handlebar Planner with llama3 HOT 3
- versioning issue HOT 11
- [BUG]: gemma-2-9b-it-GGUF - error loading model HOT 3
- [BUG]: Error when starting LLama Cuda11/12 HOT 6
- [BUG]: Second Response Empty when using Grammar HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llamasharp.