Downloads · 30 days
12
24% of all-time downloads
IsGarrido/gender_classifier_en_modernbert_base
gender_classifier_en_modernbert_base 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
12
24% of all-time downloads
All-time downloads
49
Public
Parameters
150M
598 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors598 MB · 99%
From the Hugging Face model README
This model was fine-tuned to classify text into: male, female, neutral
| Metric | Value |
|---|---|
| loss | 0.2923 |
| accuracy | 0.9330 |
| f1 | 0.9326 |
| precision | 0.9332 |
| recall | 0.9332 |
| runtime | 27.4919 |
| samples_per_second | 218.2460 |
| steps_per_second | 3.4190 |
| 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.'))