Instructions to use Alnusjaponica/toxicity-classification-multi-class with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Alnusjaponica/toxicity-classification-multi-class with Transformers:
# Load model directly from transformers import AutoTokenizer, ToxicSentenceClassifier tokenizer = AutoTokenizer.from_pretrained("Alnusjaponica/toxicity-classification-multi-class") model = ToxicSentenceClassifier.from_pretrained("Alnusjaponica/toxicity-classification-multi-class") - Notebooks
- Google Colab
- Kaggle
toxicity-classification-multi-class
This model is a fine-tuned version of line-corporation/line-distilbert-base-japanese on the Japanese toxicity dataset. It achieves the following results on the evaluation set:
- Loss: 0.2642
- Roc Auc: 0.8447
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 8.133692392125703e-06
- train_batch_size: 16
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 20
Framework versions
- Transformers 4.34.0
- Pytorch 2.0.1
- Datasets 2.14.5
- Tokenizers 0.14.0
- Downloads last month
- 14
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support