Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use ePeryy/sexist_detection_text_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ePeryy/sexist_detection_text_v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ePeryy/sexist_detection_text_v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ePeryy/sexist_detection_text_v2") model = AutoModelForSequenceClassification.from_pretrained("ePeryy/sexist_detection_text_v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
sexist_detection_text_v2
This model is a fine-tuned version of answerdotai/ModernBERT-base. It consists in an updated version of 'sexist_detection_text_data_v1', a model to automatically detect sexist phrases in English texts.
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.6216 | 1.0 | 3369 | 0.3150 | 0.8609 |
| 0.4424 | 2.0 | 6738 | 0.3510 | 0.8814 |
| 0.2443 | 3.0 | 10107 | 0.6728 | 0.8857 |
| 0.0847 | 4.0 | 13476 | 1.0521 | 0.8838 |
| 0.0332 | 5.0 | 16845 | 1.2159 | 0.8839 |
Framework versions
- Transformers 5.22.1
- Pytorch 2.14.1+cu130
- Datasets 4.8.5
- Tokenizers 0.23.3
- Downloads last month
- 62
Model tree for ePeryy/sexist_detection_text_v2
Base model
answerdotai/ModernBERT-base