Text_Emotional_kh / README.md
phonsobon's picture
Upload dataset
53ca799 verified
|
Raw
History Blame Contribute Delete
2.38 kB
---
dataset_info:
features:
- name: id
dtype: int64
- name: text
dtype: string
- name: label
dtype: string
splits:
- name: train
num_bytes: 1319560836
num_examples: 4185090
download_size: 160798607
dataset_size: 1319560836
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
language:
- km
license: apache-2.0
task_categories:
- text-classification
task_ids:
- sentiment-classification
pretty_name: Khmer Emotional Text Dataset
size_categories:
- 10K<n<100K
---
# Khmer Emotional Text Dataset πŸ‡°πŸ‡­
## Overview
**Khmer Emotional Text Dataset** is a public dataset for emotion classification in the Khmer language.
The dataset contains short and medium-length Khmer texts labeled with one emotional category. It is designed for training and evaluating Natural Language Processing (NLP) models such as:
- Sentiment Analysis
- Emotion Classification
- Text Classification
- Transformer Fine-tuning
- Large Language Models (LLMs)
---
## Dataset Structure
Each sample contains three fields:
| Column | Type | Description |
|---------|------|-------------|
| id | int | Unique sample ID |
| text | string | Khmer text |
| label | string | Emotion label |
Example:
```json
{
"id": 1,
"text": "αžαŸ’αž‰αž»αŸ†αžŸαž”αŸ’αž”αžΆαž™αž…αž·αžαŸ’αžαžŽαžΆαžŸαŸ‹αžαŸ’αž„αŸƒαž“αŸαŸ‡αž”αžΆαž“αž‡αž½αž”αž‡αž»αŸ†αž‚αŸ’αžšαž½αžŸαžΆαžšαŸ”",
"label": "happy"
}
```
---
## Labels
The dataset contains the following emotion classes:
- happy
- sad
- angry
- fear
- stress
- surprise
- neutral
---
## Usage
```python
from datasets import load_dataset
dataset = load_dataset("phonsobon/Text_Emotional_kh")
print(dataset)
```
Example:
```python
print(dataset["train"][0])
```
---
## Applications
This dataset can be used for:
- Emotion Classification
- Sentiment Analysis
- NLP Research
- Fine-tuning BERT
- XLM-RoBERTa
- mBERT
- Llama
- Gemma
- Qwen
- Khmer NLP
---
## Language
Khmer (km)
---
## License
Apache License 2.0
---
## Citation
```bibtex
@dataset{phon2026khmeremotion,
author = {Phon, Sobon},
title = {Khmer Emotional Text Dataset},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/phonsobon/Text_Emotional_kh}
}
```
---
## Author
**Sobon Phon**
GitHub: https://github.com/phonsobon
Hugging Face: https://huggingface.co/phonsobon