Downloads · 30 days
9
3% of all-time downloads
yanzcc/FakeNewsClassifier_Longformer
FakeNewsClassifier_Longformer is a text classification model from yanzcc. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
@article{Beltagy2020Longformer, title={Longformer: The Long-Document Transformer}, author={Iz Beltagy and Matthew E. Peters and Arman Cohan}, journal={arXiv:2004.05150}, year={2020}, }
Downloads · 30 days
9
3% of all-time downloads
All-time downloads
279
Public
Parameters
149M
595 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors595 MB · 100%
From the Hugging Face model README
@article{Beltagy2020Longformer, title={Longformer: The Long-Document Transformer}, author={Iz Beltagy and Matthew E. Peters and Arman Cohan}, journal={arXiv:2004.05150}, year={2020}, }
Dataset: Retrieved from kaggle: https://www.kaggle.com/datasets/clmentbisaillon/fake-and-real-news-dataset?select=Fake.csv
This model is fine-tuned on Longformer 4096 with political and world news from 2016 to 2018, so it will probably identify all current news as fake since the world has changed a lot since then
But it performs well on more related news article: Test accuracy: 0.9956 val_loss: 0.0003