Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: bengali
|
3 |
+
license: apache-2.0
|
4 |
+
datasets:
|
5 |
+
- BanFakeNews
|
6 |
+
---
|
7 |
+
|
8 |
+
# **mBERT-base-cased-finetuned-bengali-fakenews**
|
9 |
+
|
10 |
+
This model is a fine-tune checkpoint of mBERT-base-cased over **[Bengali-fake-news Dataset](https://www.kaggle.com/cryptexcode/banfakenews)** for Text classification. This model reaches an accuracy of 96.3 with an f1-score of 79.1 on the dev set.
|
11 |
+
|
12 |
+
### **How to use?**
|
13 |
+
|
14 |
+
**Task**: binary-classification
|
15 |
+
|
16 |
+
```
|
17 |
+
from transformers import pipeline
|
18 |
+
print(pipeline("sentiment-analysis",model="DeadBeast/mbert-base-cased-finetuned-bengali-fakenews",tokenizer="DeadBeast/mbert-base-cased-finetuned-bengali-fakenews")("অভিনেতা আফজাল শরীফকে ২০ লাখ টাকার অনুদান অসুস্থ অভিনেতা আফজাল শরীফকে চিকিৎসার জন্য ২০ লাখ টাকা অনুদান দিয়েছেন প্রধানমন্ত্রী শেখ হাসিনা।"))
|
19 |
+
```
|