--- library_name: transformers.js base_model: - facebook/bart-large-mnli --- # bart-large-mnli (ONNX) This is an ONNX version of [facebook/bart-large-mnli](https://huggingface.co/facebook/bart-large-mnli). It was automatically converted and uploaded using [this space](https://huggingface.co/spaces/onnx-community/convert-to-onnx). ## Usage (Transformers.js) If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@huggingface/transformers) using: ```bash npm i @huggingface/transformers ``` **Example:** Natural Language Inference (NLI) classification. ```js import { pipeline } from '@huggingface/transformers'; const classifier = await pipeline('text-classification', 'onnx-community/bart-large-mnli-ONNX'); const output = await classifier('I love transformers!'); ```