Spaces:
Sleeping
Sleeping
| # .env.template — copy to .env and fill values | |
| # === Model Configuration === | |
| MEDASR_MODEL_ID=google/medasr | |
| MEDGEMMA_4B_MODEL_ID=google/medgemma-1.5-4b-it | |
| MEDGEMMA_27B_MODEL_ID=google/medgemma-27b-text-it | |
| HF_TOKEN=hf_xxxxxxxxxxxxxxxxxxxx | |
| QUANTIZE_4BIT=true | |
| USE_FLASH_ATTENTION=true | |
| # === FHIR Configuration === | |
| FHIR_SERVER_URL=http://localhost:8080/fhir | |
| USE_MOCK_FHIR=true | |
| FHIR_TIMEOUT_S=10 | |
| # === Application Configuration === | |
| APP_HOST=0.0.0.0 | |
| APP_PORT=7860 | |
| LOG_LEVEL=INFO | |
| MAX_AUDIO_DURATION_S=1800 | |
| PIPELINE_TIMEOUT_S=120 | |
| DOC_GEN_MAX_TOKENS=2048 | |
| DOC_GEN_TEMPERATURE=0.3 | |
| # === Fine-tuning (optional, Phase 4) === | |
| WANDB_API_KEY= | |
| WANDB_PROJECT=clarke-finetuning | |
| LORA_RANK=16 | |
| LORA_ALPHA=32 | |
| LORA_DROPOUT=0.05 | |
| TRAINING_EPOCHS=3 | |
| LEARNING_RATE=2e-4 | |
| BATCH_SIZE=2 | |
| GRAD_ACCUM_STEPS=8 | |
| MAX_SEQ_LENGTH=4096 | |