An open API service indexing awesome lists of open source software.

https://github.com/aeovac/toxicity-model

Personnal training
https://github.com/aeovac/toxicity-model

ai classification python pytorch toxicity

Last synced: about 2 months ago
JSON representation

Personnal training

Awesome Lists containing this project

README

          

# Toxicity Classifier Model

A minimalist neural network for toxicity detection in text.

[Toxicity Dataset by Surge AI](https://github.com/surge-ai/toxicity/)

### Overview

This repo is a lightweight PyTorch-based model designed to classify text as toxic or non-toxic. It leverages a SentencePiece tokenizer and an LSTM-based architecture for efficient training on textual data.

Ensure you have Python 3.8+ and the required libraries installed:
```bash
pip install torch sentencepiece pandas scikit-learn numpy
```