Comments (9)
So it took me a while to notice the correlation but I did some tests and am now sure about this: Pressing the reload button (which let's the model replace it's answer by a new one) does delete the whole context. This means that it forgets everything that was spoken before the last prompt (which obviously leads to hallucinations).
Ahh OK that makes sense, I was starting to suspect something like that is going on. I'll look into it.
from maid.
Yeah this is turning out to be a bigger issue than i expected. Might take a while
from maid.
In a quick test, deleting this line, it successfully works during regeneration.
Context wasn't lost, and the regenerate response was aligned.
Yes but the point of regeneration is the previous context needs to be deleted because its creating a new branch from the previous message, then the context needs to be regenerated and added in. i know how to do this part the problem is its causing a memory error.
from maid.
I'm unable to test at the moment; can someone try removing this line?
from maid.
I'm unable to test at the moment; can someone try removing this line?
https://github.com/Mobile-Artificial-Intelligence/maid/blob/dc44cfd1b7d2db947d21caa38ed9cd9decdbbbdb/lib/providers/session.dart#L146C7-L146C8
no thats not it, its because the messages arnt being passed into it properly. I can fix that but it ends up causing another issue with llama.cpp
from maid.
So you've tried it ?
from maid.
So you've tried it ?
No i havnt tried it but i know what it does and i know its not what is causing the error
from maid.
In a quick test, deleting this line, it successfully works during regeneration.
Context wasn't lost, and the regenerate response was aligned.
from maid.
I did my test and can confirm that this is fixed.
from maid.
Related Issues (20)
- model url dosnt update when loading model. HOT 3
- Add popup's and loading indicators for confusing areas of application
- OpenAI API Url field doesn't save HOT 4
- Entered in error
- Doesn't work on budget phone? But should... HOT 3
- Adaptive Icon HOT 7
- Phi-3 models support in local generation (llama.cpp) HOT 3
- [Android] Can't delete characters
- ollama not using api key HOT 12
- Custom user image? HOT 1
- Renaming chats is not working correctly HOT 1
- publish to F-Droid HOT 1
- No notification that the model list has updated HOT 4
- Character cards not saving correctly. On android only
- Loading any file required permissions to be given in the application settings manually. HOT 4
- minP is not in the documented in supported APIs.
- APP process only runs on CPU7 on Android device HOT 5
- What things incomplete for iOS? HOT 2
- Documentation Improvements (getting started guide, benchmarks) HOT 4
- Feature Request: Custom Openai endpoints 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 maid.