Comments (7)
so do you mean you're setting user alias to <|im_start|> and you're also enabling the chatml toggle? the user alias effectively does the same thing as the chatml toggle exact you can specify a custom prefix so if you're enabling chatml and adding in the chatml prefix as the user alias what its probably doing would look like this:
<|im_start|><|im_start|>user prompt<|im_start|><|im_start|>assistant prompt?
from maid.
so do you mean you're setting user alias to <|im_start|> and you're also enabling the chatml toggle? the user alias effectively does the same thing as the chatml toggle exact you can specify a custom prefix so if you're enabling chatml and adding in the chatml prefix as the user alias what its probably doing would look like this:
<|im_start|><|im_start|>user prompt<|im_start|><|im_start|>assistant prompt?
This bug is older than the toggle and it happens independently of the State of the toggle. You are right if the toggle works as intended, it would make it double which is bad, thanks for clarifying that. But the question is why is the crash happening? Maybe it's the length of the string for the aliases together that's limited some how?
from maid.
And a follow up question, if the chatml toggle is working as intended, why isn't that crashing the app?
from maid.
so do you mean you're setting user alias to <|im_start|> and you're also enabling the chatml toggle? the user alias effectively does the same thing as the chatml toggle exact you can specify a custom prefix so if you're enabling chatml and adding in the chatml prefix as the user alias what its probably doing would look like this:
<|im_start|><|im_start|>user prompt<|im_start|><|im_start|>assistant prompt?This bug is older than the toggle and it happens independently of the State of the toggle. You are right if the toggle works as intended, it would make it double which is bad, thanks for clarifying that. But the question is why is the crash happening? Maybe it's the length of the string for the aliases together that's limited some how?
It could be related to #210, the core of that issue is a buffer overflow is occurring when i try to inject the context. Perhaps its causing a similar issue
from maid.
And a follow up question, if the chatml toggle is working as intended, why isn't that crashing the app?
I havnt tested the chatml so im not sure if it does work.
from maid.
so do you mean you're setting user alias to <|im_start|> and you're also enabling the chatml toggle? the user alias effectively does the same thing as the chatml toggle exact you can specify a custom prefix so if you're enabling chatml and adding in the chatml prefix as the user alias what its probably doing would look like this:
<|im_start|><|im_start|>user prompt<|im_start|><|im_start|>assistant prompt?This bug is older than the toggle and it happens independently of the State of the toggle. You are right if the toggle works as intended, it would make it double which is bad, thanks for clarifying that. But the question is why is the crash happening? Maybe it's the length of the string for the aliases together that's limited some how?
It could be related to #210, the core of that issue is a buffer overflow is occurring when i try to inject the context. Perhaps its causing a similar issue
Hmm, I see. The thing is I can have very long preprompts, and they don't crash the app. So it seems to have to do with either the substring "<|im_start|>" itself or the way aliases are handled. Because otherwise my long preprompt should be the factor that crashes the app but it doesn't (and even with an empty preprompt, double <|im_start|> leads to crash).
from maid.
This issue is possibly also fixed now
from maid.
Related Issues (20)
- 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
- User image switcher is broken
- Remote ollama settings are not saved
- Some suggestions
- App gets soft locked when there's issues reaching API server HOT 2
- Option to remove hard coded system prompt info
- After the new version all local models are unavailable, what ever you ask it will talk about a different topic and is completely uncommunicative. HOT 2
- Only the latest character gets saved HOT 1
- Open ai API link changes on restart HOT 2
- TTS feature request! HOT 1
- Failed to load dynamic library 'maid.dll'. HOT 1
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.