Comments (2)
For me its working since release, here is the local.env:
MONGODB_URL=mongodb://localhost:27017
USE_LOCAL_WEBSEARCH=true
PUBLIC_APP_ASSETS=chatui
HF_ACCESS_TOKEN=hf_none
PUBLIC_APP_DESCRIPTION="ChatGPT But Open Source!"
PUBLIC_APP_NAME=ChatGPT
MODELS=`[
{
"name": "Llama-3",
"description": "Meta Llama3 is a great overall model",
"preprompt": "This is a conversation between User and Llama, a friendly chatbot. Llama is helpful, kind, honest, good at writing, and never fails to answer any requests immediately and with precision.",
"promptExamples": [
{
"title": "Write an email from bullet list",
"prompt": "As a restaurant owner, write a professional email to the supplier to get these products every week: \n\n- Wine (x10)\n- Eggs (x24)\n- Bread (x12)"
}, {
"title": "Code a snake game",
"prompt": "Code a basic snake game in python and give explanations for each step."
}, {
"title": "Assist in a task",
"prompt": "How do I make a delicious lemon cheesecake?"
}
],
"tokenizer" : "philschmid/meta-llama-3-tokenizer",
"parameters": {
"temperature": 0.2,
"top_p": 0.95,
"repetition_penalty": 1.0,
"top_k": 50,
"truncate": 4096,
"max_new_tokens": 4096,
"stop": ["<|eot_id|>"]
},
"endpoints": [
{
"type": "ollama",
"url" : "http://127.0.0.1:11434",
"ollamaName" : "llama3:instruct"
}]
}
]`
from chat-ui.
Hi,
I also could make it work with the latest release and a similar local.env - particularly with that stop-word in it. Right now I am having an issue, that it stops sometimes too early - but I don't know yet what the source is (could also be API-side not frontend). I didn't try that tokenizer yet though.
from chat-ui.
Related Issues (20)
- Fresh local install cannot search for any topic HOT 7
- SELF_SIGNED_CERT_IN_CHAIN HOT 2
- Feature Request: Manage model through UI instead of updating .env.local HOT 4
- Feature Request: Add Firebase Authentication HOT 2
- Websearch not working HOT 4
- Misspelt envvar: "LLM_SUMMERIZATION" HOT 1
- ERROR: Exception in ASGI application HOT 1
- Application Error on Azure web app after successful deployment
- Option to turn on/off playwright (adblocker). HOT 10
- Assistant feature: Send user query as part of template variable GET request HOT 2
- chatUI requests the llamacpp server by a hardcoded address HOT 1
- Unable to build via Docker: "An Error Occurred" HOT 2
- Warning: To load an ES module in Azure environment HOT 3
- "404 Resource Not Found" when using Azure OpenAI model endpoint HOT 2
- Preventing users from going to other pages during generation. HOT 3
- 400 (no body) trying to reach openai compatible server HOT 2
- [v0.9.1] Error: "Cannot resolve directory $env" HOT 2
- "Sign in with 🤗 Hugging Face" button for login modal can look strange at narrow widths HOT 2
- Adding husky to the project so it lints pre-commit HOT 2
- Error when evaluating SSR module error after following setup 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 chat-ui.