LLMServer / main /resources /config.yaml
AurelioAguirre's picture
Removed api prefix
c755479
raw
history blame
610 Bytes
server:
host: "0.0.0.0"
port: 8001
model:
base_path: "."
generation:
max_new_tokens: 500
do_sample: true
temperature: 0.2
repetition_penalty: 1.1
defaults:
#model_name: "huihui-ai/Llama-3.2-3B-Instruct-abliterated"
model_name: "microsoft/Phi-3.5-mini-instruct"
folders:
models: "main/models"
cache: "main/.cache"
logs: "main/logs"
logging:
level: "DEBUG" # DEBUG, INFO, WARNING, ERROR, CRITICAL
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
file: "llm_api.log"
api:
version: "v1"
prefix: ""
cors:
origins: ["*"]
credentials: true