Downloads · 30 days
248
3% of all-time downloads
onnx-community/bert-tiny-finetuned-sms-spam-detection-ONNX
bert-tiny-finetuned-sms-spam-detection-ONNX is a text classification model from onnx-community. Use it when you need a label for a piece of text. It is set up for transformers.js.
This is an ONNX version of mrm8488/bert-tiny-finetuned-sms-spam-detection. It was automatically converted and uploaded using this space.
Downloads · 30 days
248
3% of all-time downloads
All-time downloads
7.9K
Public
Repo size
76.2 MB
Likes
0
Public
Click a slice to open those files.
.onnx80.7 MB · 99%
From the Hugging Face model README
This is an ONNX version of mrm8488/bert-tiny-finetuned-sms-spam-detection. It was automatically converted and uploaded using this space.
If you haven't already, you can install the Transformers.js JavaScript library from NPM using:
npm i @huggingface/transformers
Example: Classify SMS messages as spam or not spam.
import { pipeline } from '@huggingface/transformers';
const classifier = await pipeline('text-classification', 'onnx-community/bert-tiny-finetuned-sms-spam-detection-ONNX');
const output = await classifier('I love transformers!');