Update tasks/text.py
Browse files- tasks/text.py +3 -3
tasks/text.py
CHANGED
@@ -11,7 +11,7 @@ from .utils.emissions import tracker, clean_emissions_data, get_space_info
|
|
11 |
|
12 |
router = APIRouter()
|
13 |
|
14 |
-
DESCRIPTION = "
|
15 |
ROUTE = "/text"
|
16 |
|
17 |
@router.post(ROUTE, tags=["Text Task"],
|
@@ -20,8 +20,8 @@ async def evaluate_text(request: TextEvaluationRequest):
|
|
20 |
"""
|
21 |
Evaluate text classification for climate disinformation detection.
|
22 |
|
23 |
-
Current Model:
|
24 |
-
- Makes
|
25 |
- Used as a baseline for comparison
|
26 |
"""
|
27 |
# Get space info
|
|
|
11 |
|
12 |
router = APIRouter()
|
13 |
|
14 |
+
DESCRIPTION = "Logistic Regression Baseline"
|
15 |
ROUTE = "/text"
|
16 |
|
17 |
@router.post(ROUTE, tags=["Text Task"],
|
|
|
20 |
"""
|
21 |
Evaluate text classification for climate disinformation detection.
|
22 |
|
23 |
+
Current Model: Logistic Regression Baseline
|
24 |
+
- Makes Logistic Regression predictions from the label space (0-7)
|
25 |
- Used as a baseline for comparison
|
26 |
"""
|
27 |
# Get space info
|