Downloads · 30 days
81.6K
84% of all-time downloads
onnx-community/ModernBERT-base-nli-ONNX
ModernBERT-base-nli-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 tasksource/ModernBERT-base-nli. It was automatically converted and uploaded using this space.
Downloads · 30 days
81.6K
84% of all-time downloads
All-time downloads
96.8K
Public
Repo size
1.8 GB
Likes
3
Public
Click a slice to open those files.
.onnx1.9 GB · 100%
From the Hugging Face model README
This is an ONNX version of tasksource/ModernBERT-base-nli. 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: Text Classification with ModernBERT.
import { pipeline } from '@huggingface/transformers';
const classifier = await pipeline('text-classification', 'onnx-community/ModernBERT-base-nli-ONNX');
const output = await classifier('I love transformers!');