Instructions to use nationaldesignstudio/rampart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use nationaldesignstudio/rampart with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'nationaldesignstudio/rampart');
token-classification pipeline compatibility
#1
by camillevanhoffelen - opened
Any chance you could make this model compatible with transformers token-classification pipelines? It would simplify plug-and-play inference.
e.g
from transformers import pipeline
self.pipeline = pipeline(
task="token-classification",
model="nationaldesignstudio/rampart",
)