drdeveloper88's picture
Upload WorldDisasterLM-8B source code: FastAPI backend, training pipeline, 11-language support
495526b
Raw
History Blame Contribute Delete
514 Bytes
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8", extra="ignore")
project_name: str = "WorldDisasterLM"
environment: str = "development"
log_level: str = "INFO"
api_host: str = "0.0.0.0"
api_port: int = 8000
allowed_origins: str = "http://localhost:5173"
base_model: str = "meta-llama/Llama-3.1-8B-Instruct"
model_path: str = ""
settings = Settings()