Spaces:
Sleeping
Sleeping
Update analyzer.py
Browse files- analyzer.py +2 -8
analyzer.py
CHANGED
|
@@ -1,12 +1,6 @@
|
|
| 1 |
"""
|
| 2 |
-
analyzer.py —
|
| 3 |
-
|
| 4 |
-
Strategy:
|
| 5 |
-
1. Download & introspect best_multimodal.pt to discover actual architecture.
|
| 6 |
-
2. Use SVM per-modality models as the PRIMARY source for per-stream scores
|
| 7 |
-
(they are self-contained sklearn pipelines with their own vectorizer).
|
| 8 |
-
3. If SVMs unavailable, fall back to heuristic per-stream analysis.
|
| 9 |
-
4. Use multimodal model's overall logit only for the global score + label.
|
| 10 |
"""
|
| 11 |
|
| 12 |
import re
|
|
|
|
| 1 |
"""
|
| 2 |
+
analyzer.py — Misinformation Detection & Public Engagement.
|
| 3 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"""
|
| 5 |
|
| 6 |
import re
|