Spaces:
Running
Running
Update classification.py
Browse files
modules/classification.py
CHANGED
|
@@ -1,12 +1,9 @@
|
|
| 1 |
import logging
|
| 2 |
import re
|
| 3 |
from utils.models import get_llm_model, get_nlp_model
|
| 4 |
-
from utils.performance import PerformanceTracker
|
| 5 |
|
| 6 |
logger = logging.getLogger("misinformation_detector")
|
| 7 |
|
| 8 |
-
performance_tracker = PerformanceTracker()
|
| 9 |
-
|
| 10 |
def classify_with_llm(query, evidence):
|
| 11 |
"""
|
| 12 |
Classification function that evaluates evidence against a claim
|
|
|
|
| 1 |
import logging
|
| 2 |
import re
|
| 3 |
from utils.models import get_llm_model, get_nlp_model
|
|
|
|
| 4 |
|
| 5 |
logger = logging.getLogger("misinformation_detector")
|
| 6 |
|
|
|
|
|
|
|
| 7 |
def classify_with_llm(query, evidence):
|
| 8 |
"""
|
| 9 |
Classification function that evaluates evidence against a claim
|