|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LLM_MODEL_TYPE=hftgi |
|
|
|
OPENLLM_SERVER_URL=http://localhost:64300 |
|
|
|
HFTGI_SERVER_URL=https://enabled-factually-cougar.ngrok-free.app |
|
|
|
OPENAI_API_KEY= |
|
|
|
|
|
OPENAI_MODEL_NAME= |
|
|
|
|
|
HF_EMBEDDINGS_DEVICE_TYPE= |
|
HF_PIPELINE_DEVICE_TYPE= |
|
|
|
|
|
|
|
|
|
|
|
|
|
DISABLE_MODEL_PRELOADING=true |
|
CHAT_HISTORY_ENABLED=false |
|
SHOW_PARAM_SETTINGS=false |
|
SHARE_GRADIO_APP=false |
|
|
|
|
|
HF_EMBEDDINGS_MODEL_NAME="hkunlp/instructor-large" |
|
|
|
|
|
NUMBER_OF_CPU_CORES= |
|
|
|
HUGGINGFACE_AUTH_TOKEN= |
|
|
|
USING_TORCH_BFLOAT16=true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HUGGINGFACE_MODEL_NAME_OR_PATH="meta-llama/Llama-2-7b-chat-hf" |
|
|
|
|
|
|
|
|
|
STABLELM_MODEL_NAME_OR_PATH="OpenAssistant/stablelm-7b-sft-v7-epoch-3" |
|
|
|
MOSAICML_MODEL_NAME_OR_PATH="mosaicml/mpt-7b-instruct" |
|
|
|
FALCON_MODEL_NAME_OR_PATH="tiiuae/falcon-7b-instruct" |
|
|
|
GPT4ALL_J_MODEL_PATH="../models/llama-2-7b-chat.ggmlv3.q4_K_M.bin" |
|
GPT4ALL_J_DOWNLOAD_LINK=https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/resolve/main/llama-2-7b-chat.ggmlv3.q4_0.bin |
|
|
|
GPT4ALL_MODEL_PATH="../models/ggml-nous-gpt4-vicuna-13b.bin" |
|
GPT4ALL_DOWNLOAD_LINK=https://gpt4all.io/models/ggml-nous-gpt4-vicuna-13b.bin |
|
|
|
LLAMACPP_MODEL_PATH="../models/llama-2-7b-chat.ggmlv3.q4_K_M.bin" |
|
LLAMACPP_DOWNLOAD_LINK=https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/resolve/main/llama-2-7b-chat.ggmlv3.q4_K_M.bin |
|
|
|
CTRANSFORMERS_MODEL_PATH="../models/llama-2-7b-chat.ggmlv3.q4_K_M.bin" |
|
CTRANSFORMERS_DOWNLOAD_LINK=https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGML/resolve/main/llama-2-7b-chat.ggmlv3.q4_K_M.bin |
|
|
|
\CHAT_QUESTION="What's the capital city of Malaysia?" |
|
QA_QUESTION="What's deep learning?" |
|
|
|
QUESTIONS_FILE_PATH="./data/questions.txt" |
|
|
|
TOKENIZERS_PARALLELISM=true |
|
|
|
|
|
CHUNCK_SIZE=1024 |
|
CHUNK_OVERLAP=64 |
|
SOURCE_PATH="data/pdfs/smu_lib_html/" |
|
PDF_FILE_BASE_URL= |
|
|
|
|
|
FAISS_INDEX_PATH="data/smu_lib_index/" |
|
|
|
|
|
RUN_TELEGRAM_BOT=false |
|
TELEGRAM_API_TOKEN= |
|
|
|
|
|
export PORT=64300 |
|
|
|
export NGROK_AUTHTOKEN= |
|
export NGROK_EDGE= |
|
|
|
export HUGGINGFACE_HUB_CACHE=$HOME/.cache/huggingface/hub/ |
|
export HUGGING_FACE_HUB_TOKEN= |
|
|