Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

.env 1.4 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  1. # Use .env.local to change these variables, or directly change your env
  2. # DO NOT EDIT THIS FILE WITH SENSITIVE DATA
  3. MONGODB_URL=#your mongodb URL here
  4. MONGODB_DB_NAME=chat-ui
  5. COOKIE_NAME=hf-chat
  6. PUBLIC_MAX_INPUT_TOKENS=1024
  7. PUBLIC_ORIGIN=#https://hf.co
  8. PUBLIC_MODEL_NAME=OpenAssistant/oasst-sft-6-llama-30b # public facing link
  9. PUBLIC_MODEL_ID=OpenAssistant/oasst-sft-6-llama-30b-xor # used to link to model page
  10. PUBLIC_DISABLE_INTRO_TILES=false
  11. PUBLIC_USER_MESSAGE_TOKEN=<|prompter|>
  12. PUBLIC_ASSISTANT_MESSAGE_TOKEN=<|assistant|>
  13. PUBLIC_SEP_TOKEN=<|endoftext|>
  14. PUBLIC_PREPROMPT="Below are a series of dialogues between various people and an AI assistant. The AI tries to be helpful, polite, honest, sophisticated, emotionally aware, and humble-but-knowledgeable. The assistant is happy to help with almost anything, and will do its best to understand exactly what is needed. It also tries to avoid giving false or misleading information, and it caveats when it isn't entirely sure about the right answer. That said, the assistant is practical and really does its best, and doesn't let caution get too much in the way of being useful."
  15. # [{"endpoint": "https://api-inference.huggingface.co/models/...", authorization: "Bearer hf_<token>", weight: 1}] to load balance
  16. # Eg if one endpoint has weight 2 and the other has weight 1, the first endpoint will be called twice as often
  17. MODEL_ENDPOINTS=`[]`
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...