Downloads · 30 days
13
38% of all-time downloads
IsGarrido/gender_classifier_en_modernbert_large
gender_classifier_en_modernbert_large is a text classification model from IsGarrido. Use it when you need a label for a piece of text. It is set up for transformers.
This model was fine-tuned to classify text into: male, female, neutral
Downloads · 30 days
13
38% of all-time downloads
All-time downloads
34
Public
Parameters
396M
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 100%
From the Hugging Face model README
This model was fine-tuned to classify text into: male, female, neutral
| Metric | Value |
|---|---|
| loss | 0.3275 |
| accuracy | 0.9385 |
| f1 | 0.9382 |
| precision | 0.9387 |
| recall | 0.9386 |
| runtime | 16.8968 |
| samples_per_second | 355.0970 |
| steps_per_second | 22.1940 |
| epoch | 3.0000 |
from transformers import pipeline
# Load the model directly from this folder or HF Hub
classifier = pipeline('text-classification', model='.')
print(classifier('She is a great engineer.'))