metadata
title: Sentiment Classification API
emoji: ๐
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
pinned: false
Sentiment Classification API (Route C โ Ensemble)
Log-averaged BERTweet + twitter-roberta ensemble with per-class threshold offsets. Serves a Flask API compatible with the case-manual template.
Endpoints
GET /โ returns model metadata.POST /โ classifies a batch of documents.
Request
{"items": [{"id": "test", "text": "I love this product!"}]}
Response
{"items": [{"id": "test", "label": 1}]}
Labels: -1 = Negative, 0 = Neutral, 1 = Positive.