YAML Metadata
Error:
"language" with value "bengali" is not valid. It must be an ISO 639-1, 639-2 or 639-3 code (two/three letters), or a special value like "code", "multilingual". If you want to use BCP-47 identifiers, you can specify them in language_bcp47.
mBERT-base-cased-finetuned-bengali-fakenews
This model is a fine-tune checkpoint of mBERT-base-cased over Bengali-fake-news Dataset for Text classification. This model reaches an accuracy of 96.3 with an f1-score of 79.1 on the dev set.
How to use?
Task: binary-classification
- LABEL_1: Authentic (Authentic means news is authentic)
- LABEL_0: Fake (Fake means news is fake)
from transformers import pipeline
print(pipeline("sentiment-analysis",model="DeadBeast/mbert-base-cased-finetuned-bengali-fakenews",tokenizer="DeadBeast/mbert-base-cased-finetuned-bengali-fakenews")("অভিনেতা আফজাল শরীফকে ২০ লাখ টাকার অনুদান অসুস্থ অভিনেতা আফজাল শরীফকে চিকিৎসার জন্য ২০ লাখ টাকা অনুদান দিয়েছেন প্রধানমন্ত্রী শেখ হাসিনা।"))
- Downloads last month
- 15
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.