Text Classification
Transformers
ONNX
Safetensors
Transformers.js
English
roberta
fake-news-detection
misinformation
fact-checking
liar
Eval Results (legacy)
text-embeddings-inference
Instructions to use emonHasan01/liar-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use emonHasan01/liar-roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="emonHasan01/liar-roberta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("emonHasan01/liar-roberta") model = AutoModelForSequenceClassification.from_pretrained("emonHasan01/liar-roberta", device_map="auto") - Transformers.js
How to use emonHasan01/liar-roberta with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'emonHasan01/liar-roberta'); - Notebooks
- Google Colab
- Kaggle
update documentation
Browse files
README.md
CHANGED
|
@@ -39,6 +39,16 @@ widget:
|
|
| 39 |
- text: "The unemployment rate fell to 3.8 percent last quarter."
|
| 40 |
---
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
# liar-roberta
|
| 43 |
|
| 44 |
**A binary classifier that labels a short political statement as REAL or FAKE.**
|
|
|
|
| 39 |
- text: "The unemployment rate fell to 3.8 percent last quarter."
|
| 40 |
---
|
| 41 |
|
| 42 |
+
<img src="assets/banner_light.png" alt="liar-roberta — how false does this read?" width="100%">
|
| 43 |
+
|
| 44 |
+
<div align="center">
|
| 45 |
+
|
| 46 |
+
[Hugging Face](https://huggingface.co/emonHasan01) | [GitHub](https://github.com/Md-Emon-Hasan) | [LinkedIn](https://www.linkedin.com/in/md-emon-hasan-695483237/) | [WhatsApp](https://wa.me/8801834363533) | [Portfolio](https://emonlabs-ai.hitechparks.com/) | [Medium Blog](https://medium.com/@emon.mlengineer/fine-tuning-roberta-on-liar-everything-that-happens-after-trainer-train-cac4b8112bcd?postPublishedType=initial)
|
| 47 |
+
|
| 48 |
+
**Author:** [Md. Emon Hasan](https://huggingface.co/emonHasan01)
|
| 49 |
+
|
| 50 |
+
</div>
|
| 51 |
+
|
| 52 |
# liar-roberta
|
| 53 |
|
| 54 |
**A binary classifier that labels a short political statement as REAL or FAKE.**
|