Text Classification
Transformers
TensorBoard
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use matiashoyl/modernbert-match-user-52209 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use matiashoyl/modernbert-match-user-52209 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="matiashoyl/modernbert-match-user-52209")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("matiashoyl/modernbert-match-user-52209") model = AutoModelForSequenceClassification.from_pretrained("matiashoyl/modernbert-match-user-52209", device_map="auto") - Notebooks
- Google Colab
- Kaggle
modernbert-match-user-52209
This model is a fine-tuned version of answerdotai/ModernBERT-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 1.5276
- Accuracy: 0.6042
- F1: 0.5930
- Precision: 0.5993
- Recall: 0.6042
- F1 Class 0: 0.5
- F1 Class 1: 0.1739
- F1 Class 2: 0.2143
- F1 Class 3: 0.32
- F1 Class 4: 0.8125
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: 4
- eval_batch_size: 4
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine_with_restarts
- lr_scheduler_warmup_steps: 144
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall | F1 Class 0 | F1 Class 1 | F1 Class 2 | F1 Class 3 | F1 Class 4 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1.2243 | 1.0 | 144 | 1.2740 | 0.5486 | 0.3887 | 0.3010 | 0.5486 | 0.0 | 0.0 | 0.0 | 0.0 | 0.7085 |
| 1.1098 | 2.0 | 288 | 1.1049 | 0.625 | 0.5564 | 0.5749 | 0.625 | 0.4103 | 0.0 | 0.25 | 0.1935 | 0.8191 |
| 0.8944 | 3.0 | 432 | 1.2152 | 0.6042 | 0.5648 | 0.5936 | 0.6042 | 0.3077 | 0.0769 | 0.1739 | 0.2857 | 0.8427 |
| 0.7962 | 4.0 | 576 | 1.1898 | 0.6111 | 0.5733 | 0.5518 | 0.6111 | 0.4571 | 0.0 | 0.1739 | 0.3243 | 0.8229 |
| 0.5699 | 5.0 | 720 | 1.5276 | 0.6042 | 0.5930 | 0.5993 | 0.6042 | 0.5 | 0.1739 | 0.2143 | 0.32 | 0.8125 |
Framework versions
- Transformers 4.49.0
- Pytorch 2.6.0
- Datasets 2.21.0
- Tokenizers 0.21.0
- Downloads last month
- 4
Model tree for matiashoyl/modernbert-match-user-52209
Base model
answerdotai/ModernBERT-base