Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
natural-language-inference
Languages:
Bengali
Size:
100K - 1M
License:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,129 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
license: cc-by-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- bn
|
| 4 |
+
pretty_name: "BLUGE-BLI: Bangla NLI"
|
| 5 |
license: cc-by-4.0
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-classification
|
| 8 |
+
task_ids:
|
| 9 |
+
- natural-language-inference
|
| 10 |
+
tags:
|
| 11 |
+
- bengali
|
| 12 |
+
- bangla
|
| 13 |
+
- bluge
|
| 14 |
+
- bli
|
| 15 |
+
- nli
|
| 16 |
+
- natural-language-inference
|
| 17 |
+
- bengali-nlp
|
| 18 |
+
- bnlp
|
| 19 |
+
- low-resource
|
| 20 |
+
- text-classification
|
| 21 |
+
size_categories:
|
| 22 |
+
- 100K<n<1M
|
| 23 |
+
configs:
|
| 24 |
+
- config_name: default
|
| 25 |
+
data_files:
|
| 26 |
+
- split: train
|
| 27 |
+
path: "train.parquet"
|
| 28 |
+
- split: validation
|
| 29 |
+
path: "validation.parquet"
|
| 30 |
+
- split: test
|
| 31 |
+
path: "test.parquet"
|
| 32 |
---
|
| 33 |
+
|
| 34 |
+
# BLUGE-BLI: Bangla NLI
|
| 35 |
+
|
| 36 |
+
**BLUGE-BLI** is a meticulously cleaned and corrected Bangla Language Inference dataset, one of the 7 tasks in **BLUGE** (**B**engali **L**anguage **U**nderstandin**G** **E**valuation), a balanced benchmark for evaluating Bengali natural language understanding. See the full [BLUGE collection](https://huggingface.co/collections/nahid-hub/bluge) for all 7 tasks, and the [B-CORE](https://huggingface.co/datasets/nahid-hub/B-CORE-bengali-corpus) pretraining corpus and BnLM model suite released alongside it.
|
| 37 |
+
|
| 38 |
+
## Dataset Description
|
| 39 |
+
|
| 40 |
+
This task classifies premise-hypothesis sentence pairs into one of three relationships:
|
| 41 |
+
|
| 42 |
+
| Label | Relationship |
|
| 43 |
+
|---|---|
|
| 44 |
+
| `0` | Entailment |
|
| 45 |
+
| `1` | Neutral |
|
| 46 |
+
| `2` | Contradiction |
|
| 47 |
+
|
| 48 |
+
The dataset excludes premise-hypothesis pairs with fewer than 5 or more than 14 words, and addresses orthographic errors present in 3.47% of samples exhibiting surface-level issues. Corrections were proposed using GPT-4-turbo — used **exclusively** for orthographic correction, with no role in entailment/neutral/contradiction label assignment. Each proposed correction was independently reviewed and accepted, revised, or rejected by three native Bengali linguists with expertise in natural language inference (inter-annotator agreement κ=0.91), with disagreements resolved by majority vote. Of the proposals reviewed, 81.7% were accepted as-is, 12.6% were revised before acceptance, and 5.7% were rejected and reverted to the original text — semantic fidelity relative to the original texts was confirmed at 99.2% after human review.
|
| 49 |
+
|
| 50 |
+
To improve representation of underrepresented label categories, 312 additional premise-hypothesis pairs were manually created and validated through the same annotation protocol.
|
| 51 |
+
|
| 52 |
+
## Dataset Structure
|
| 53 |
+
|
| 54 |
+
Balanced **80 / 10 / 10** split:
|
| 55 |
+
|
| 56 |
+
| Split | Samples |
|
| 57 |
+
|---|---|
|
| 58 |
+
| Train | 102,767 |
|
| 59 |
+
| Validation | 12,845 |
|
| 60 |
+
| Test | 12,846 |
|
| 61 |
+
| **Total** | **128,458** |
|
| 62 |
+
|
| 63 |
+
**Fields:**
|
| 64 |
+
- `premise` — the Bangla premise sentence
|
| 65 |
+
- `hypothesis` — the Bangla hypothesis sentence
|
| 66 |
+
- `label` — inference relationship (`0`: entailment, `1`: neutral, `2`: contradiction)
|
| 67 |
+
|
| 68 |
+
## Usage
|
| 69 |
+
|
| 70 |
+
```python
|
| 71 |
+
from datasets import load_dataset
|
| 72 |
+
|
| 73 |
+
# Load all splits
|
| 74 |
+
ds = load_dataset("nahid-hub/BLUGE-bengali-nli")
|
| 75 |
+
|
| 76 |
+
# Access a specific split
|
| 77 |
+
train_ds = ds["train"]
|
| 78 |
+
val_ds = ds["validation"]
|
| 79 |
+
test_ds = ds["test"]
|
| 80 |
+
|
| 81 |
+
print(train_ds[0])
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
Load a single split directly:
|
| 85 |
+
|
| 86 |
+
```python
|
| 87 |
+
from datasets import load_dataset
|
| 88 |
+
|
| 89 |
+
test_ds = load_dataset("nahid-hub/BLUGE-bengali-nli", split="test")
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
Or read the Parquet files directly with pandas:
|
| 93 |
+
|
| 94 |
+
```python
|
| 95 |
+
import pandas as pd
|
| 96 |
+
|
| 97 |
+
train_df = pd.read_parquet(
|
| 98 |
+
"hf://datasets/nahid-hub/BLUGE-bengali-nli/train.parquet"
|
| 99 |
+
)
|
| 100 |
+
```
|
| 101 |
+
|
| 102 |
+
## Annotation Process
|
| 103 |
+
|
| 104 |
+
- **Orthographic correction**: GPT-4-turbo proposals, human-reviewed only — never used for label assignment
|
| 105 |
+
- **Inter-annotator agreement**: κ=0.91
|
| 106 |
+
- **Class balancing**: 312 manually created and validated premise-hypothesis pairs
|
| 107 |
+
- **Semantic fidelity**: 99.2% preserved relative to original texts after correction
|
| 108 |
+
|
| 109 |
+
## License
|
| 110 |
+
|
| 111 |
+
Released under **CC BY 4.0**.
|
| 112 |
+
|
| 113 |
+
## Citation
|
| 114 |
+
|
| 115 |
+
If you use this dataset, please cite:
|
| 116 |
+
|
| 117 |
+
```bibtex
|
| 118 |
+
@ARTICLE{BnLM-BLUGE-B-CORE,
|
| 119 |
+
author={Hossain, Nahid and Faisal Kabir, Md.},
|
| 120 |
+
journal={IEEE Access},
|
| 121 |
+
title={Efficient Monolingual Pretraining in Low-Resource Settings Through Morphology-Aware Tokenization, Principled Corpus Denoising, and Benchmark-Driven Evaluation},
|
| 122 |
+
year={2026},
|
| 123 |
+
volume={14},
|
| 124 |
+
number={},
|
| 125 |
+
pages={91979-92003},
|
| 126 |
+
keywords={Modeling;Multilingual;Training;Cleaning;Vocabulary;Labeling;Tokenization;Computational linguistics;Pipelines;Conferences;B-CORE;BLUGE;BnLM;corpus;evaluation benchmark;pretrained models},
|
| 127 |
+
doi={10.1109/ACCESS.2026.3701520}
|
| 128 |
+
}
|
| 129 |
+
```
|