Team Ai
Modelpublic

samirmsallem/gbert-base-coherence_evaluation

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes26downloads
Model Card

Text classification model for coherence evaluation in German scientific texts

gbert-base-coherence_evaluation is a sequence classification model in the scientific domain in German, finetuned from the model gbert-base. It was trained using a custom annotated dataset of around 12,000 training and 3,000 test examples containing coherent and incoherent text sequences from wikipedia articles in german.

Compared to this model, the large version achieved a slightly higher peak accuracy (95.30%) on the validation set, observed at epoch 7. However, the base model reached its lowest evaluation loss (0.2347) earlier during training, suggesting that it converges faster but may underperform slightly in terms of generalization. These findings can inform future model selection depending on whether inference efficiency or accuracy is prioritized.

Text Classification TagText Classification LabelDescription
0INCOHERENTThe text is not coherent or has any kind of cohesion.
1COHERENTThe text is coherent and cohesive.

Training

Training was conducted on a 10 epoch fine-tuning approach:

EpochEval LossEval Accuracy
1.00.23470.9310
2.00.33760.9327
3.00.27710.9417
4.00.34660.9374
5.00.41780.9347
6.00.41740.9410
7.00.43370.9387
8.00.45630.9387
9.00.45750.9430
10.00.48840.9434

Training was conducted using a standard Text classification objective. The model achieves an accuracy of approximately 94% on the evaluation set.

Here are the overall final metrics on the test dataset after 10 epochs of training:

  • —Accuracy: 0.943352215928024
  • —Loss: 0.48842695355415344