CoolFace
Modelpublic

Henriquee/bert-text-classification-car-evaluation

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes16downloads
Model Card

<!-- 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. -->

bert-text-classification-car-evaluation

This model is a fine-tuned version of distilbert/distilbert-base-uncased on the Car Evaluation Dataset. You can always find it here in Hugging Face Hub.

It achieves the following results on the evaluation set:

  • Loss: 0.0090
  • F1: 1.0
  • Roc Auc: 1.0
  • Accuracy: 1.0

Model description

The model is designed for text classification tasks on the Car Evaluation Dataset. It is a fine-tuned version of the DistilBERT model, aiming to predict car evaluation categories based on textual information.

Intended uses & limitations

Intended Uses

  • Car evaluation category prediction based on textual information.
  • Text classification tasks related to the car evaluation domain.

Limitations

  • The model's performance is specifically tuned for the Car Evaluation Dataset; its generalization to other tasks or datasets might be
  • limited.
  • It may not perform optimally on text from different domains or with substantially different linguistic characteristics.

Training and evaluation data

The model was trained on the Car Evaluation Dataset, which includes textual descriptions of cars along with corresponding evaluation categories.

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • trainbatchsize: 32
  • evalbatchsize: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 50
  • early_stopping: 10

Training results

The model stopped training at the 29th epoch, achieving the following results on the evaluation set:

Training LossEpochStepValidation LossF1Roc AucAccuracy
0.4691.0330.38700.68120.78740.6812
0.36862.0660.37240.68120.78740.6812
0.34553.0990.32430.69210.77870.6058
0.28094.01320.23480.81480.87200.7971
0.19395.01650.17620.85710.90340.8522
0.16096.01980.16550.87340.91450.8696
0.13957.02310.13020.91630.94060.9043
0.12618.02640.11330.91610.93960.9014
0.0979.02970.11800.89860.93240.8754
0.090610.03300.12120.90520.93910.8870
0.085111.03630.09470.90780.93570.8899
0.079212.03960.09330.93200.95510.9188
0.07313.04290.07830.92770.95270.9217
0.058614.04620.07370.95770.96960.9420
0.068215.04950.08550.93120.95120.9188
0.062516.05280.08690.93910.95940.9246
0.056717.05610.06530.95250.97050.9420
0.051318.05940.05760.96660.97730.9565
0.046319.06270.06550.95950.97390.9449
0.04720.06600.04850.96080.97340.9478
0.037921.06930.04060.98250.98550.9739
0.033822.07260.02740.98270.98940.9739
0.032523.07590.02150.99420.99520.9913
0.025424.07920.02510.99130.99320.9884
0.026625.08250.02120.98840.99230.9826
0.020326.08580.01700.99130.99320.9884
0.019327.08910.01490.99860.99950.9971
0.020428.09240.01400.99710.99710.9942
0.016229.09570.00941.01.01.0
0.015730.09900.01031.01.01.0
0.013931.010230.00841.01.01.0
0.012532.010560.00761.01.01.0
0.010533.010890.00671.01.01.0
0.009134.011220.00581.01.01.0
0.00935.011550.00641.01.01.0
0.008136.011880.00531.01.01.0
0.007437.012210.00501.01.01.0
0.00838.012540.00501.01.01.0
0.007739.012870.00531.01.01.0

Framework versions

  • Transformers 4.38.2
  • Pytorch 2.2.1
  • Datasets 2.18.0
  • Tokenizers 0.15.2

Acknowledgments

This model is built upon the distilbert/distilbert-base-uncased pre-trained model and utilizes the Hugging Face Transformers library. Special thanks to the creators of the Car Evaluation Dataset for providing the training and evaluation data.

Contact Information

For any questions or inquiries, please contact the model developer:

Name: Henriquee

Hugging Face: Henriquee

License

This model is released under the MIT License. See the LICENSE file for more details.