distilbert-sst-2-int8
Text Classification • HuggingFaceDistilled BERT model that was finetuned on SST-2 for sentiment classification
Usage
Workers - TypeScript
Python
curl
Parameters
Input
-
text
string min 1The text that you want to classify
Output
-
items
object-
score
numberConfidence score indicating the likelihood that the text belongs to the specified label
-
label
stringThe classification label assigned to the text (e.g., 'POSITIVE' or 'NEGATIVE')
-
API Schemas
The following schemas are based on JSON Schema