CoolFace
Modelpublic

onnx-community/ModernBERT-base-nli-ONNX

sourceHugging Faceupdated 1y agoView on Hugging Face
3likes3.6kdownloads
Model Card

ModernBERT-base-nli (ONNX)

This is an ONNX version of tasksource/ModernBERT-base-nli. It was automatically converted and uploaded using this space.

Usage (Transformers.js)

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

bash
npm i @huggingface/transformers

Example: Text Classification with ModernBERT.

js
import { pipeline } from '@huggingface/transformers';

const classifier = await pipeline('text-classification', 'onnx-community/ModernBERT-base-nli-ONNX');
const output = await classifier('I love transformers!');