Text Classification
Transformers.js
ONNX
Safetensors
Transformers
English
roberta
nlp
Eval Results (legacy)
text-embeddings-inference
Not-For-All-Audiences
How to use from the
Use from the
Transformers.js library
# Gated model: Login with a HF token with gated access permission
hf auth login
// npm i @huggingface/transformers
import { pipeline } from '@huggingface/transformers';

// Allocate pipeline
const pipe = await pipeline('text-classification', 'AdamCodd/distilroberta-nsfw-prompt-stable-diffusion');

Not-For-All-Audiences

This repository has been marked as containing sensitive content and may contain potentially harmful and sensitive information.

View model card