Text Classification
Transformers
Safetensors
modernbert
Generated from Trainer
text-embeddings-inference
Instructions to use ashercn97/modernbert-rater-code-score-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ashercn97/modernbert-rater-code-score-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ashercn97/modernbert-rater-code-score-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ashercn97/modernbert-rater-code-score-v2") model = AutoModelForSequenceClassification.from_pretrained("ashercn97/modernbert-rater-code-score-v2") - Notebooks
- Google Colab
- Kaggle
modernbert-rater-code-score-v2
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: 0.8704
- Accuracy: 0.622
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: 0.00016
- train_batch_size: 128
- eval_batch_size: 128
- 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: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 34 | 0.9026 | 0.58 |
| No log | 2.0 | 68 | 0.8457 | 0.618 |
| No log | 3.0 | 102 | 0.8704 | 0.622 |
Framework versions
- Transformers 4.51.2
- Pytorch 2.4.1+cu124
- Datasets 3.5.0
- Tokenizers 0.21.1
- Downloads last month
- -
Model tree for ashercn97/modernbert-rater-code-score-v2
Base model
answerdotai/ModernBERT-base