Skip to main content

NSFW pipeline that classifies prompt, using a bag-of-words model

Feature | Description |
— | — |
Name | en_prompt_nsfw_pipeline_bow |
Version | 0.3.0 |
spaCy | >=3.0.0,<4.0.0 |
Default Pipeline | textcat |
Components | textcat |
Vectors | 0 keys, 0 unique vectors (0 dimensions) |
Sources | n/a |
License | UNLICENSED |
Author | [Jiayu Liu]() |

### Label Scheme

<details>

<summary>View label scheme (4 labels for 1 components)</summary>

Component | Labels |
— | — |
`textcat` | safe, cp, underage_safe, adult |

</details>

### Accuracy

Type | Score |
— | — |
CATS_SCORE | 89.45 |
CATS_MICRO_P | 90.45 |
CATS_MICRO_R | 90.45 |
CATS_MICRO_F | 90.45 |
CATS_MACRO_P | 90.27 |
CATS_MACRO_R | 88.71 |
CATS_MACRO_F | 89.45 |
CATS_MACRO_AUC | 97.92 |
TEXTCAT_LOSS | 347.75 |

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

en_prompt_nsfw_pipeline_bow-0.3.0.tar.gz (4.0 MB view details)

Uploaded Source

File details

Details for the file en_prompt_nsfw_pipeline_bow-0.3.0.tar.gz.

File metadata

File hashes

Hashes for en_prompt_nsfw_pipeline_bow-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c914c49cd8759a9f2b0bfde34a1791a971a703c49c612cfed26870f8ab33b6e7
MD5 dc22351a688ff27137958394d1d7ec22
BLAKE2b-256 c6879e53746632705c1ef5b10eb51d6b06e2b73de2143afa0675438089122865

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 file

0.2.0

1 file

0.1.1

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page