Comments (7)
This is related to the context limit, you can try to extend it.
catai config --edit nano
change the nCtx
to something bigger, for example 4096
export const SETTINGS_NODE_LLAMA = {
enableLogging: false,
nCtx: 4096,
nParts: -1,
seed: 0,
f16Kv: false,
logitsAll: false,
vocabOnly: false,
useMlock: false,
embedding: false,
useMmap: false,
nGpuLayers: 3,
};
from catai.
@ido-pluto How do you change the config
now, i have the same issue but looks like the config
command was removed, how to archive the same?
from catai.
You can change the config via the settings button in the webui
from catai.
@ido-pluto i just editted it to this, but it ignore my changes
{
"bind": "...",
"nCtx": 10000,
"n_ctx": 10000
}
from catai.
There is a configuration guide in the readme, check it out.
The option you are looking for is here:
https://withcatai.github.io/node-llama-cpp/api/type-aliases/LlamaContextOptions
from catai.
@ido-pluto i just added, but now i get this error
{
"bind": "...",
"contextSize": 10000,
"batchSize": 10000
}
GGML_ASSERT: /home/runner/work/node-llama-cpp/node-llama-cpp/llama/llama.cpp/ggml-backend.c:519: data != NULL && "failed to allocate buffer"
from catai.
This is too large, to reset the model you can simply delete and reinstall it
from catai.
Related Issues (20)
- Error on Win 11 HOT 4
- Alternate GUI won't load
- CatAI crashes when quitting a browser or when starting CatAI when a browser is already open. HOT 10
- Catastrophic - CatAI is completely broken (Segmentation fault core dumped fatal error) HOT 11
- Unable to install `catai` onto an ARM development board HOT 3
- How to pass computer resource information HOT 7
- Failed to load prebuilt binary for platform "linux" "arm64". HOT 4
- Error: The connection lost, check the server status and refresh the page. HOT 11
- cat dont send answer HOT 17
- configure website down HOT 2
- Does not work on ubuntu 22.04 & node 20 HOT 10
- logo in docs have 2 404 errors HOT 2
- Is there a way to specify a path where to store model ? HOT 3
- How to install and run catai from packages? HOT 1
- Otherbrain HF open data integration HOT 2
- How to use with cuda? HOT 5
- connectionError http://127.0.0.1:3000/assets/index-3673c735.js:39 HOT 1
- System_prompt HOT 2
- remote-catai does not work , should wait ws.on('open')
- Made a Discord bot for your project, still in development tho
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 catai.