Skip to main content

NSFW pipeline that classifies prompt, using a character embedding model

Project description

NSFW pipeline that classifies prompt, using a character embedding model

Feature | Description |
— | — |
Name | en_prompt_nsfw_pipeline_char_embed |
Version | 0.3.0 |
spaCy | >=3.0.0,<4.0.0 |
Default Pipeline | tok2vec, textcat |
Components | tok2vec, textcat |
Vectors | 514157 keys, 20000 unique vectors (300 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 | 88.96 |
CATS_MICRO_P | 90.14 |
CATS_MICRO_R | 90.14 |
CATS_MICRO_F | 90.14 |
CATS_MACRO_P | 90.68 |
CATS_MACRO_R | 87.93 |
CATS_MACRO_F | 88.96 |
CATS_MACRO_AUC | 98.29 |
TOK2VEC_LOSS | 7740.17 |
TEXTCAT_LOSS | 819.21 |

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_char_embed-0.3.0.tar.gz (33.5 MB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for en_prompt_nsfw_pipeline_char_embed-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2df0b8e5f2956e80652d3864469e919dc677c3f573f2bbc74996a97aa6198146
MD5 6273855113febe872407ec71ea9edd70
BLAKE2b-256 6b20e0d2e1a2329a454a292a13c2ff470a8b21f864336dbfaab7961fa22b29f3

See more details on using hashes here.

Supported by

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