Instructions to use abshafi2021/bdbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abshafi2021/bdbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="abshafi2021/bdbert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("abshafi2021/bdbert") model = AutoModelForSequenceClassification.from_pretrained("abshafi2021/bdbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,41 +1,28 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
base_model: csebuetnlp/banglabert
|
| 4 |
-
tags:
|
| 5 |
-
- generated_from_trainer
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
- f1
|
| 9 |
model-index:
|
| 10 |
- name: bdbert
|
| 11 |
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
-
|
| 17 |
# bdbert
|
| 18 |
|
| 19 |
-
This model is a fine-tuned version of [csebuetnlp/banglabert](https://huggingface.co/csebuetnlp/banglabert) on the
|
|
|
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
- Loss: 0.3231
|
| 22 |
- Accuracy: 0.9549
|
| 23 |
- F1: 0.9528
|
| 24 |
|
| 25 |
-
## Model description
|
| 26 |
-
|
| 27 |
-
More information needed
|
| 28 |
-
|
| 29 |
-
## Intended uses & limitations
|
| 30 |
-
|
| 31 |
-
More information needed
|
| 32 |
-
|
| 33 |
-
## Training and evaluation data
|
| 34 |
-
|
| 35 |
-
More information needed
|
| 36 |
-
|
| 37 |
-
## Training procedure
|
| 38 |
-
|
| 39 |
### Training hyperparameters
|
| 40 |
|
| 41 |
The following hyperparameters were used during training:
|
|
@@ -69,4 +56,4 @@ The following hyperparameters were used during training:
|
|
| 69 |
- Transformers 5.0.0
|
| 70 |
- Pytorch 2.10.0+cu128
|
| 71 |
- Datasets 5.0.0
|
| 72 |
-
- Tokenizers 0.22.2
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
|
|
|
|
|
|
|
|
|
| 3 |
metrics:
|
| 4 |
- accuracy
|
| 5 |
- f1
|
| 6 |
model-index:
|
| 7 |
- name: bdbert
|
| 8 |
results: []
|
| 9 |
+
license: cc-by-nc-sa-4.0
|
| 10 |
+
language:
|
| 11 |
+
- bn
|
| 12 |
+
base_model:
|
| 13 |
+
- csebuetnlp/banglabert
|
| 14 |
+
pipeline_tag: text-classification
|
| 15 |
---
|
| 16 |
|
|
|
|
|
|
|
|
|
|
| 17 |
# bdbert
|
| 18 |
|
| 19 |
+
This model is a fine-tuned version of [csebuetnlp/banglabert](https://huggingface.co/csebuetnlp/banglabert) on the /kaggle/input/competitions/bangla-code-mixed-sentiment-analysis-banglish-benglish/train.csv
|
| 20 |
+
dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
- Loss: 0.3231
|
| 23 |
- Accuracy: 0.9549
|
| 24 |
- F1: 0.9528
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
### Training hyperparameters
|
| 27 |
|
| 28 |
The following hyperparameters were used during training:
|
|
|
|
| 56 |
- Transformers 5.0.0
|
| 57 |
- Pytorch 2.10.0+cu128
|
| 58 |
- Datasets 5.0.0
|
| 59 |
+
- Tokenizers 0.22.2
|