ALQAMARI commited on
Commit
9fd1497
·
verified ·
1 Parent(s): a003ef0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -62,12 +62,13 @@ class MedicalKnowledgeTester:
62
  "max_length": 4096,
63
  "use_quantization": True,
64
  },
65
- "med_gemma": {
 
66
  "model_type": "decoder",
67
- "base_model": "google/med-gemma-2b", # Assumed base model, please verify
68
- "adapter_model": "ALQAMARI/med-gemma-summary-adapter", # Assumed adapter, please verify
69
  "max_length": 4096,
70
- "use_quantization": True, # Assumed quantization for efficiency
71
  }
72
  }
73
 
 
62
  "max_length": 4096,
63
  "use_quantization": True,
64
  },
65
+ # --- CORRECTED: Using the new 27B model and adapter ---
66
+ "medgemma-27b": {
67
  "model_type": "decoder",
68
+ "base_model": "google/medgemma-27b-text-it", # Corrected base model
69
+ "adapter_model": "ALQAMARI/medgemma-sbar-summary", # Corrected adapter [cite: 2]
70
  "max_length": 4096,
71
+ "use_quantization": True, # Quantization is essential for this model size
72
  }
73
  }
74