ucsbai/liar
Updated • 2.28k • 32
How to use adnaan05/TruthCheck-BERT-hybrid with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="adnaan05/TruthCheck-BERT-hybrid") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("adnaan05/TruthCheck-BERT-hybrid", dtype="auto")This model is a fine-tuned version of bert-base-uncased on a combined dataset of Fake and Real News (Kaggle) and LIAR.
It achieves the following results on the evaluation set:
Base Model: bert-base-uncased, a transformer-based language model developed by Google.
Architecture:
Fine-tuning:
All BERT layers and additional layers were trained on the combined fake/real news dataset.
| Metric | Value |
|---|---|
| Accuracy | ~0.93 |
| F1 Score | ~0.93 |
| Precision | ~0.93 |
| Recall | ~0.93 |
If you use this model, please cite the original datasets and this repository.
MIT
For questions or support, contact Adnan Tariq. ```
Base model
google-bert/bert-base-uncased