RAG-lab / .env.example
mechark
paper-mate init
0e9a6da
raw
history blame contribute delete
563 Bytes
# Add your Hugging Face token here for local development
# For Hugging Face Spaces, set this as a secret in your Space settings
HUGGINGFACE_TOKEN=your_token_here
# Model configuration (HuggingFace model repo)
MODEL_NAME=mistralai/Mistral-7B-Instruct-v0.2
# Maximum tokens for the model
MODEL_MAX_TOKENS=512
# Temperature for the model
MODEL_TEMPERATURE=0.7
# Number of documents to retrieve before reranking
RETRIEVER_K_BEFORE_RERANK=80
# Number of documents to retrieve after reranking
RETRIEVER_K_AFTER_RERANK=4
# Retriever K constant
RETRIEVER_K_CONSTANT=60