CoolFace
Datasetpublic

LakoreAI/multilingual-classification-0001

Multilingual Text Classification Dataset This dataset is designed for multilingual text classification tasks. It includes labeled text samples across 8 languages, making it ideal for training and evaluating models on cross-lingual transfer, language identification, and multilingual understanding. Dataset Overview Split # Examples Size (bytes) Train 18,657 2,651,248 Validation 2,665 378,709 Test 5,331 757,560 Total 26,653 3,787,517 Total… See the full description on the dataset page: https://huggingface.co/datasets/LakoreAI/multilingual-classification-0001.

sourceHugging Facemitupdated 10mo agoView on Hugging Face
0likes76downloads
Dataset Card

Multilingual Text Classification Dataset

This dataset is designed for multilingual text classification tasks. It includes labeled text samples across 8 languages, making it ideal for training and evaluating models on cross-lingual transfer, language identification, and multilingual understanding.

Dataset Overview

Split# ExamplesSize (bytes)
Train18,6572,651,248
Validation2,665378,709
Test5,331757,560
Total26,6533,787,517

Total Download Size: 2.6 MB Total Dataset Size: 3.8 MB Task Type: Text Classification

Data Fields

FieldTypeDescription
textstringThe input text sample.
langstringThe ISO 639-3 language code of the text.
labelint64The integer label representing the language class.

Language Labels

LanguageCodeLabel ID
Germandeu0
Chinesezho1
Amharicamh2
Hindihin3
Arabicarb4
Hausahau5
Turkishtur6
Urduurd7
Spanishspa8
Persian (Farsi)fas9
Englisheng10
Nepalinep11

Intended Uses

  • Multilingual language classification
  • Cross-lingual and zero-shot evaluation
  • Benchmarking multilingual embeddings (e.g., mBERT, XLM-R, LaBSE)
  • Studying language similarity and confusion patterns

Usage Example

You can easily load the dataset using the Hugging Face datasets library:

python
from datasets import load_dataset

dataset = load_dataset("8Opt/multilingual-classification-0001")

example = dataset["train"][0]
print(example)

Output:

python
{
  "text": "Das ist ein Beispielsatz.",
  "lang": "deu",
  "label": 0
}

Label mapping:

python
label2idx = {
  'deu': 0,
  'zho': 1,
  'amh': 2,
  'hin': 3,
  'arb': 4,
  'hau': 5,
  'tur': 6,
  'urd': 7,
  'spa': 8,
  'fas': 9,
  'eng': 10,
  'nep': 11
}

Configurations

Configuration name: default

Each split is stored under data/:

data/
 ├── train-*
 ├── validation-*
 └── test-*

Citation

If you use this dataset in your work, please cite it as:

@dataset{8Opt,
  title={Multilingual Text Classification Dataset},
  author={8Opt},
  year={2025},
  url={https://huggingface.co/datasets/8Opt/multilingual-classification-0001}
}