Edit model card

danskbert_2_ND

This model is a fine-tuned version of vesteinn/DanskBERT on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.2974
  • F1-score: 0.8976

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: 5e-05
  • train_batch_size: 8
  • eval_batch_size: 8
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 10

Training results

Training Loss Epoch Step Validation Loss F1-score
No log 1.0 224 0.2974 0.8976
No log 2.0 448 0.5017 0.8172
0.3411 3.0 672 0.4929 0.8504
0.3411 4.0 896 0.4870 0.8756
0.1678 5.0 1120 0.6837 0.8818
0.1678 6.0 1344 0.7872 0.8684
0.0798 7.0 1568 0.7057 0.8676
0.0798 8.0 1792 0.8895 0.8433
0.0422 9.0 2016 0.9513 0.8497
0.0422 10.0 2240 0.9399 0.8573

Framework versions

  • Transformers 4.41.2
  • Pytorch 2.3.0+cu121
  • Datasets 2.19.2
  • Tokenizers 0.19.1
Downloads last month
5
Safetensors
Model size
124M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for yemen2016/danskbert_2_ND

Base model

vesteinn/DanskBERT
Finetuned
(13)
this model