Views
No views yet
distilbert-base-uncased on game-specific examples (gross food humour allowed; slurs/threats blocked).| Label | Meaning |
|---|---|
allowed | Silly/gross food humour (e.g. cockroach salad) |
blocked | Profanity, hate, threats, sexual content |
TEXT_MODERATION_PROVIDER=local-model # uses ml/text-moderation/output/modelHUGGINGFACE_INFERENCE_ENDPOINT to the endpoint URL in web/.envThe sharedhf-inferencerouter does not host custom Hub models — only a curated catalog.
1from transformers import pipeline
2clf = pipeline("text-classification", model="dshirls/food-truck-moderation-v1")
3clf("cockroach salad") # allowed
4clf("fuck you cake") # blocked