File size: 4,572 Bytes
0fb0594
 
1a5123f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0fb0594
1a5123f
 
 
 
 
 
 
0fb0594
 
 
 
 
 
3b1ade8
0fb0594
 
 
 
5212676
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0fb0594
 
 
1a5123f
0fb0594
1a5123f
 
 
 
 
 
0fb0594
 
 
 
 
 
 
 
 
 
 
1a5123f
0fb0594
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dffab50
 
 
 
 
 
 
 
1a5123f
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
---
license: mit
task_categories:
- text-classification
language:
- asm
- ben
- brx
- doi
- gom
- guj
- hin
- kan
- kas
- mai
- mal
- mar
- mni
- npi
- ory
- pan
- san
- sat
- snd
- tam
- tel
- urd
- eng
tags:
- language-identification
- indian-languages
pretty_name: ILID
size_categories:
- 100K<n<1M
---

# ILID: Native Script Language Identification for Indian Languages

[**Paper**](https://huggingface.co/papers/2507.11832) | [**Code**](https://github.com/yashingle-ai/TextLangDetect) | [**Project Page**](https://yashingle-ai.github.io/ILID/)

๐Ÿ—ฃ **ILID: Indian Language Identification Dataset (23 Languages)**  
**Authors:** [Yash Ingle](mailto:yash.ingle003@gmail.com), [Dr. Pruthwik Mishra](mailto:pruthwikmishra@aid.svnit.ac.in)  
**Institute:** Sardar Vallabhbhai National Institute of Technology (SVNIT), Surat, India

---

## ๐Ÿ“„ Dataset Description

The **ILID** (Indian Language Identification Dataset) benchmark contains **250,000** sentences from **English and 22 official Indian languages**, designed for training and evaluating **language identification models**. The dataset supports the task of distinguishing between Indian languages, many of which share scripts, vocabulary, and structure.

---

## ๐Ÿ“Š Dataset Statistics
| Language     | Code      | Train | Dev  | Test | Total  |
|--------------|-----------|-------|------|------|--------|
| Assamese     | asm       | 8000  | 1000 | 1000 | 10000  |
| Bengali      | ben       | 8000  | 1000 | 1000 | 10000  |
| Bodo         | brx       | 8000  | 1000 | 1000 | 10000  |
| Dogri        | doi       | 8000  | 1000 | 1000 | 10000  |
| Konkani      | gom       | 8000  | 1000 | 1000 | 10000  |
| Gujarati     | guj       | 8000  | 1000 | 1000 | 10000  |
| Hindi        | hin       | 8000  | 1000 | 1000 | 10000  |
| Kannada      | kan       | 8000  | 1000 | 1000 | 10000  |
| Kashmiri     | kas       | 8000  | 1000 | 1000 | 10000  |
| Maithili     | mai       | 8000  | 1000 | 1000 | 10000  |
| Malayalam    | mal       | 8000  | 1000 | 1000 | 10000  |
| Marathi      | mar       | 8000  | 1000 | 1000 | 10000  |
| Manipuri (Bengali) | mni_Beng | 8000  | 1000 | 1000 | 10000  |
| Manipuri (Meitei)  | mni_Mtei | 8000  | 1000 | 1000 | 10000  |
| Nepali       | npi       | 8000  | 1000 | 1000 | 10000  |
| Odia         | ory       | 8000  | 1000 | 1000 | 10000  |
| Punjabi      | pan       | 8000  | 1000 | 1000 | 10000  |
| Sanskrit     | san       | 8000  | 1000 | 1000 | 10000  |
| Santali      | sat       | 8000  | 1000 | 1000 | 10000  |
| Sindhi (Arabic) | snd_Arab | 8000  | 1000 | 1000 | 10000  |
| Sindhi (Devanagari) | snd_Deva | 8000  | 1000 | 1000 | 10000  |
| Tamil        | tam       | 8000  | 1000 | 1000 | 10000  |
| Telugu       | tel       | 8000  | 1000 | 1000 | 10000  |
| Urdu         | urd       | 8000  | 1000 | 1000 | 10000  |
| English      | eng       | 8000  | 1000 | 1000 | 10000  |
| **Total**    | โ€”         | **200000** | **25000** | **25000** | **250000** |

---

## ๐Ÿ“ Files Provided

- `shuffled_train_sentences`: Training sentences (80% split โ€“ 200,000 samples)
- `shuffled_train_labels`: Corresponding labels for training sentences
- `shuffled_dev_sentences`: Validation (dev) sentences (10% split โ€“ 25,000 samples)
- `shuffled_dev_labels`: Corresponding labels for dev sentences
- `shuffled_test_sentences`: Test sentences (10% split โ€“ 25,000 samples)
- `shuffled_test_labels`: Corresponding labels for test sentences

## ๐Ÿ“Œ Tasks

- **Language Identification (LID)**
- **Multilingual Text Classification**
- **Benchmarking ML & DL Models on Indian Languages**

---

## ๐Ÿงน Data Collection & Cleaning

- 13 languages collected using **web scraping** from Wikipedia, news portals, and blogs.
- 10 languages sampled from **large monolingual corpora** (Bhashaverse).
- Each sentence underwent **cleaning, normalization**, and **language filtering** via FastText.

---

## ๐Ÿง  Models & Results

Baseline models include:
- **TF-IDF + Machine Learning:** SVM, Logistic Regression, Random Forest, etc.
- **FastText Classifier**
- **Fine-tuned MuRIL (BERT for Indian languages)**

Best ensemble models achieve **F1-scores of up to 0.99** on test/dev sets.

---

## ๐Ÿ“š Citation

If you use this dataset, please cite:

```bibtex
@misc{ingle2025ilidnativescriptlanguage,
      title={ILID: Native Script Language Identification for Indian Languages}, 
      author={Yash Ingle and Pruthwik Mishra},
      year={2025},
      eprint={2507.11832},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2507.11832}, 
}
```