Instructions to use Xenova/bart-large-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/bart-large-mnli with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('zero-shot-classification', 'Xenova/bart-large-mnli');
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
---
|
| 2 |
-
library_name:
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
https://huggingface.co/facebook/bart-large-mnli with ONNX weights to be compatible with Transformers.js.
|
|
|
|
| 1 |
---
|
| 2 |
+
library_name: transformers.js
|
| 3 |
+
pipeline_tag: zero-shot-classification
|
| 4 |
---
|
| 5 |
|
| 6 |
https://huggingface.co/facebook/bart-large-mnli with ONNX weights to be compatible with Transformers.js.
|