Views
No views yet
| Epoch | Training Loss | Validation Loss | Accuracy | F1 Score |
|---|---|---|---|---|
| 1 | - | 0.1115 | 96.08% | 96.09% |
| 2 | 0.2026 | 0.1077 | 97.25% | 97.28% |
| 3 | 0.0647 | 0.1119 | 97.45% | 97.50% |
| Metric | Score |
|---|---|
| Accuracy | 97.18% |
| F1 Score | 97.23% |
| Precision | 97.17% |
| Recall | 97.30% |
1from transformers import pipeline
2
3classifier = pipeline("text-classification",
4 model="KenLumod/ML-Project-DistilBERT-Fake-and-Real-Classifier")
5result = classifier("Scientists confirm climate change accelerating beyond previous estimates")
6# Output: {'label': 'REAL', 'score': 0.982}