How to use har1/hs2-model with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'har1/hs2-model');
Set base model to "Hate-speech-CNERG/malayalam-codemixed-abusive-MuRI"
· Sign up or log in to comment