Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,17 +4,15 @@
|
|
| 4 |
#
|
| 5 |
# - LLM parser OFF by default (safe for HF Spaces)
|
| 6 |
# - Checkbox to enable LLM parser:
|
| 7 |
-
# "Enable LLM Parser (
|
| 8 |
-
# - Tri-Fusion + ML hybrid identification
|
| 9 |
-
# - Hybrid weighting
|
| 10 |
-
# * If ML >= 0.90 β 0.3 * Tri-Fusion + 0.7 * ML
|
| 11 |
-
# * Else β 0.5 * Tri-Fusion + 0.5 * ML
|
| 12 |
# - Confidence bands:
|
| 13 |
# <65% β Low Discrimination
|
| 14 |
# 65β79 β Acceptable Identification
|
| 15 |
# 80β89 β Good Identification
|
| 16 |
# β₯90 β Excellent Identification
|
| 17 |
-
# - RAG (
|
| 18 |
# - Commit-to-HF kept with all key artefacts
|
| 19 |
#
|
| 20 |
# TOP-5 TABLE (DECISION AID) RULE:
|
|
|
|
| 4 |
#
|
| 5 |
# - LLM parser OFF by default (safe for HF Spaces)
|
| 6 |
# - Checkbox to enable LLM parser:
|
| 7 |
+
# "Enable LLM Parser (Finetuned Flan-T5-baseextraction)"
|
| 8 |
+
# - Tri-Fusion + ML hybrid identification + RAG
|
| 9 |
+
# - Hybrid weighting & Gated Confidence
|
|
|
|
|
|
|
| 10 |
# - Confidence bands:
|
| 11 |
# <65% β Low Discrimination
|
| 12 |
# 65β79 β Acceptable Identification
|
| 13 |
# 80β89 β Good Identification
|
| 14 |
# β₯90 β Excellent Identification
|
| 15 |
+
# - RAG (Bart-Large) always enabled for top genera
|
| 16 |
# - Commit-to-HF kept with all key artefacts
|
| 17 |
#
|
| 18 |
# TOP-5 TABLE (DECISION AID) RULE:
|