Instructions to use KenLumod/Using-LIAR-BERT-Fake-and-Real-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KenLumod/Using-LIAR-BERT-Fake-and-Real-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KenLumod/Using-LIAR-BERT-Fake-and-Real-Classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KenLumod/Using-LIAR-BERT-Fake-and-Real-Classifier") model = AutoModelForSequenceClassification.from_pretrained("KenLumod/Using-LIAR-BERT-Fake-and-Real-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
datasets:
|
| 3 |
+
- ucsbnlp/liar
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
- f1
|
| 9 |
+
- recall
|
| 10 |
+
- precision
|
| 11 |
+
base_model:
|
| 12 |
+
- google-bert/bert-base-uncased
|
| 13 |
+
pipeline_tag: text-classification
|
| 14 |
+
library_name: transformers
|
| 15 |
+
tags:
|
| 16 |
+
- fake
|
| 17 |
+
- real
|
| 18 |
+
- news
|
| 19 |
+
---
|