zephyr-chat / .env.local
nsarrazin's picture
nsarrazin HF staff
Update .env.local
3592038 verified
# 'name', 'userMessageToken', 'assistantMessageToken' are required
MODELS=`[
{
"name": "HuggingFaceH4/zephyr-7b-beta",
"promptExamples": [
{
"title": "Python Fibonacci",
"prompt": "How can I write a Python function to generate the nth Fibonacci number?"
}, {
"title": "What is a meme?",
"prompt": "What is a meme, and what's the history behind this word?"
}, {
"title": "Regex",
"prompt": "Create a regex to extract dates from logs"
}
],
"endpoints": [
{
"type": "tgi",
"url": "http://127.0.0.1:8080"
}
],
"parameters": {
"temperature": 0.7,
"top_p": 0.95,
"repetition_penalty": 1.2,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 1024,
"stop": ["</s>", "<|>"]
}
}
]`
PUBLIC_ORIGIN=https://huggingfaceh4-zephyr-chat.hf.space
PUBLIC_SHARE_PREFIX=https://huggingfaceh4-zephyr-chat.hf.space
PUBLIC_APP_NAME=${APP_NAME} # name used as title throughout the app
PUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_ASSETS
PUBLIC_APP_COLOR=blue # can be any of tailwind colors: https://tailwindcss.com/docs/customizing-colors#default-color-palette