nsfw_text_detection

62
1
license:apache-2.0
by
acaciabengo
Other
OTHER
New
62 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary

AI model with specialized capabilities.

Code Examples

Limitationspythontransformers
from transformers import pipeline

repo = 'acaciabengo/nsfw_text_detection'

classifier = pipeline("text-classification", model=repo)

# Get all scores 

all_scores = classifier("This is some text.", top_k=None)

nsfw_score = next(item['score'] for item in all_scores if item['label'] == 'LABEL_1')

print(f"NSFW Probability: {nsfw_score}")

Deploy This Model

Production-ready deployment in minutes

Together.ai

Instant API access to this model

Fastest API

Production-ready inference API. Start free, scale to millions.

Try Free API

Replicate

One-click model deployment

Easiest Setup

Run models in the cloud with simple API. No DevOps required.

Deploy Now

Disclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.