Terry Zhang
commited on
Commit
·
8589546
1
Parent(s):
320940c
change model to tfidf xgb
Browse files- tasks/text.py +1 -1
tasks/text.py
CHANGED
@@ -48,7 +48,7 @@ def tree_classifier(test_dataset: dict, model: str):
|
|
48 |
@router.post(ROUTE, tags=["Text Task"],
|
49 |
description=DESCRIPTION)
|
50 |
async def evaluate_text(request: TextEvaluationRequest,
|
51 |
-
model: str = "
|
52 |
"""
|
53 |
Evaluate text classification for climate disinformation detection.
|
54 |
|
|
|
48 |
@router.post(ROUTE, tags=["Text Task"],
|
49 |
description=DESCRIPTION)
|
50 |
async def evaluate_text(request: TextEvaluationRequest,
|
51 |
+
model: str = "tfidf_xgb"):
|
52 |
"""
|
53 |
Evaluate text classification for climate disinformation detection.
|
54 |
|