Skip to main content

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

Project description

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

Feature | Description |
— | — |
Name | en_prompt_nsfw_pipeline_bow |
Version | 0.2.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, underage_safe, adult, cp |

</details>

### Accuracy

Type | Score |
— | — |
CATS_SCORE | 88.53 |
CATS_MICRO_P | 89.10 |
CATS_MICRO_R | 89.10 |
CATS_MICRO_F | 89.10 |
CATS_MACRO_P | 88.99 |
CATS_MACRO_R | 88.19 |
CATS_MACRO_F | 88.53 |
CATS_MACRO_AUC | 97.50 |
TEXTCAT_LOSS | 399.18 |

Project details


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.2.0.tar.gz (3.2 MB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for en_prompt_nsfw_pipeline_bow-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6a84203a3571ab184055d9cc6c94460900422c34e6dee3ffe9190c50a539b31a
MD5 550ab274fba0a61d6ee2f0f79b1316cc
BLAKE2b-256 e7a828dad158d25d7cb761a764c0bd16e0b6018e3ec847e43f3fede7eabfe824

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page