Update app.py
Browse files
app.py
CHANGED
|
@@ -62,12 +62,13 @@ class MedicalKnowledgeTester:
|
|
| 62 |
"max_length": 4096,
|
| 63 |
"use_quantization": True,
|
| 64 |
},
|
| 65 |
-
|
|
|
|
| 66 |
"model_type": "decoder",
|
| 67 |
-
"base_model": "google/
|
| 68 |
-
"adapter_model": "ALQAMARI/
|
| 69 |
"max_length": 4096,
|
| 70 |
-
"use_quantization": True, #
|
| 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 |
|