CoolFace
Modelpublic

joris/manifesto-dutch-binary-relevance

sourceHugging Facemitupdated 3y agoView on Hugging Face
1likes13downloads
Model Card

<!-- This model card has been generated automatically according to the information Keras had access to. You should probably proofread and complete it, then remove this comment. -->

manifesto-dutch-binary-relevance

This model is a fine-tuned version of pdelobelle/robbert-v2-dutch-base.

Example usage

python
from transformers import pipeline

pipe = pipeline("text-classification", 
                model="joris/manifesto-dutch-binary-relevance",
                trust_remote_code=True)

print(pipe("De digitale versie lees je op d66.nl/verkiezingsprogramma")) 
print(pipe("Duizenden studenten, net afgestudeerden en starters hebben op dit moment geen zicht op een (betaalbare) woning."))


## [{'label': 'LABEL_1', 'score': 0.9609444737434387}] # is 000
## [{'label': 'LABEL_0', 'score': 0.9993253946304321}] # some other code

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

PrecisionRecallF1-ScoreSupport
00.980.990.9910043
10.880.760.82714
Accuracy0.9810757
Macro avg0.930.880.9010757
Weighted avg0.980.980.9810757

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • optimizer: {'name': 'AdamW', 'weightdecay': 0.004, 'clipnorm': None, 'globalclipnorm': None, 'clipvalue': None, 'useema': False, 'emamomentum': 0.99, 'emaoverwritefrequency': None, 'jitcompile': True, 'islegacyoptimizer': False, 'learningrate': 2e-05, 'beta1': 0.9, 'beta2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
  • training_precision: float32

Training results

Framework versions

  • Transformers 4.34.1
  • TensorFlow 2.14.0
  • Tokenizers 0.14.1