Text Classification
Transformers
TensorBoard
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use matiashoyl/modernbert-match-user-52995 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use matiashoyl/modernbert-match-user-52995 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="matiashoyl/modernbert-match-user-52995")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("matiashoyl/modernbert-match-user-52995") model = AutoModelForSequenceClassification.from_pretrained("matiashoyl/modernbert-match-user-52995", device_map="auto") - Notebooks
- Google Colab
- Kaggle
modernbert-match-user-52995
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: 2.3532
- Accuracy: 0.6577
- F1: 0.6006
- Precision: 0.5604
- Recall: 0.6577
- F1 Class 0: 0.4615
- F1 Class 1: 0.0
- F1 Class 2: 0.2353
- F1 Class 3: 0.1333
- F1 Class 4: 0.8258
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: 111
- 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.15 | 1.0 | 111 | 1.1608 | 0.6126 | 0.5608 | 0.5364 | 0.6126 | 0.3462 | 0.0 | 0.0 | 0.0 | 0.8369 |
| 0.9867 | 2.0 | 222 | 1.0965 | 0.6486 | 0.5300 | 0.4671 | 0.6486 | 0.3158 | 0.0 | 0.0 | 0.0 | 0.7931 |
| 0.9251 | 3.0 | 333 | 1.0204 | 0.6847 | 0.6233 | 0.6493 | 0.6847 | 0.3333 | 0.0 | 0.3333 | 0.25 | 0.8553 |
| 0.7544 | 4.0 | 444 | 1.1659 | 0.6126 | 0.5703 | 0.5617 | 0.6126 | 0.3158 | 0.0 | 0.3 | 0.1538 | 0.7922 |
| 0.3648 | 5.0 | 555 | 1.8058 | 0.5676 | 0.5443 | 0.5346 | 0.5676 | 0.2727 | 0.0 | 0.2143 | 0.1429 | 0.7724 |
| 0.3139 | 6.0 | 666 | 2.3532 | 0.6577 | 0.6006 | 0.5604 | 0.6577 | 0.4615 | 0.0 | 0.2353 | 0.1333 | 0.8258 |
Framework versions
- Transformers 4.49.0
- Pytorch 2.6.0
- Datasets 2.21.0
- Tokenizers 0.21.0
- Downloads last month
- 3
Model tree for matiashoyl/modernbert-match-user-52995
Base model
answerdotai/ModernBERT-base