Text Classification
Transformers.js
ONNX
English
roberta
distilroberta
sentiment
emotion
twitter
reddit
Instructions to use Chi-Bi/emotion-text-classifier-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Chi-Bi/emotion-text-classifier-onnx with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'Chi-Bi/emotion-text-classifier-onnx');
Download tokenizer.json from Chi-Bi/emotion-text-classifier-onnx: direct link, hf CLI and curl.
- Browser
- Download file 2.21 MB
-
https://huggingface.co/Chi-Bi/emotion-text-classifier-onnx/resolve/main/tokenizer.json
- Command line
-
hf download hf://Chi-Bi/emotion-text-classifier-onnx/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Chi-Bi/emotion-text-classifier-onnx/resolve/main/tokenizer.json
2.21 MB
File too large to display, you can check the raw version instead.