abbassix/ComNumPNdistilBERTv1-big
<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->
ComNumPNdistilBERT
This model is a fine-tuned version of distilbert-base-uncased a subset (8000 samples as training and 2000 samples as validation) of the ComNum dataset. We changed every single digit on a certain position in the numeral into a special character. For example '26753' becomes '3๐ 5๐ 7๐ 6๐ 2๐'. Since the order of magnitude of numerals in the test set is 6, while that of numerals in training and evaluation sets are from 0 to 5, and the fine-tuned model has never seen special character for digits of the order of magnitude of 6 (e.g., '1๐', '6๐' or '9๐'), it cannot generalize well.
It achieves the following results on the evaluation set:
- Loss: 0.0458
- Accuracy: 0.9875
It achieves the following results on the test set:
- Loss: 3.0438
- Accuracy: 0.5909
<!-- {'evalloss': 3.043781042098999, 'evalaccuracy': 0.5909, 'evalruntime': 441.9021, 'evalsamplespersecond': 22.629, 'evalstepsper_second': 2.829} -->
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
- trainbatchsize: 8
- evalbatchsize: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lrschedulertype: linear
- num_epochs: 3.0
Training results
Framework versions
- Transformers 4.36.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.0
- Tokenizers 0.15.0
