Downloads · 30 days
14
1% of all-time downloads
sisyphus199/ukparliamentBERT
ukparliamentBERT is a text classification model from sisyphus199. Use it when you need a label for a piece of text. It is set up for transformers.
Fine-tuned BERT trained to identify political party from speech in the UK Parliament. Trained with Labour/Conservative speeches using the hansard dataset 2000-2020
Downloads · 30 days
14
1% of all-time downloads
All-time downloads
1.4K
Public
Parameters
108M
433 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors433 MB · 100%
From the Hugging Face model README
Fine-tuned BERT trained to identify political party from speech in the UK Parliament. Trained with Labour/Conservative speeches using the hansard dataset 2000-2020
Model can be used to predict whether an item of speech from the UK Parliament was said by a member of the Labour or Conservative Party.
Model has only been exposed to UK data and speeches from Labour or Conservative. May not work as intended for other parties or geographies.
[bert-cased]
Evaluated on held-out test data. Achieved test accuracy >80% and test loss <0.4 (binary cross-entropy).
BibTeX:
@misc{baly2020detect, title={We Can Detect Your Bias: Predicting the Political Ideology of News Articles}, author={Ramy Baly and Giovanni Da San Martino and James Glass and Preslav Nakov}, year={2020}, eprint={2010.05338}, archivePrefix={arXiv}, primaryClass={cs.CL} }