Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use FantenFluffy/fluffy-ModernBERT-distil with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FantenFluffy/fluffy-ModernBERT-distil with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="FantenFluffy/fluffy-ModernBERT-distil")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("FantenFluffy/fluffy-ModernBERT-distil") model = AutoModelForSequenceClassification.from_pretrained("FantenFluffy/fluffy-ModernBERT-distil", device_map="auto") - Notebooks
- Google Colab
- Kaggle
fluffy-ModernBERT-distil
This model is a fine-tuned version of answerdotai/ModernBERT-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.7898
- Accuracy: 0.9132
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: 2e-05
- train_batch_size: 16
- eval_batch_size: 32
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 313 | 1.3420 | 0.7184 |
| 1.6561 | 2.0 | 626 | 0.9532 | 0.8706 |
| 1.6561 | 3.0 | 939 | 0.8333 | 0.9045 |
| 0.7064 | 4.0 | 1252 | 0.7978 | 0.9126 |
| 0.5454 | 5.0 | 1565 | 0.7898 | 0.9132 |
Framework versions
- Transformers 4.57.0
- Pytorch 2.8.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.1
- Downloads last month
- 2
Model tree for FantenFluffy/fluffy-ModernBERT-distil
Base model
answerdotai/ModernBERT-base