File size: 1,377 Bytes
106ce9e
 
 
 
 
 
c71d8ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0168ff1
 
106ce9e
 
 
3375bf5
106ce9e
4b9a521
106ce9e
 
 
3375bf5
106ce9e
3375bf5
 
106ce9e
3375bf5
106ce9e
3375bf5
106ce9e
3375bf5
 
 
 
 
 
 
 
 
 
 
0168ff1
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
---
tags:
- low-resource-language
pretty_name: Sinhala Perplexity Test Dataset
size_categories:
- n<1K
configs:
- config_name: default
  data_files:
  - split: data
    path: data/data-*
dataset_info:
  features:
  - name: sinhala_unicode
    dtype: string
  - name: sinhala_romanized
    dtype: string
  splits:
  - name: data
    num_bytes: 24794
    num_examples: 200
  download_size: 14779
  dataset_size: 24794
language:
- si
---
# Sinhala Perplexity Test Dataset

## Dataset Description

This dataset contains 500 sentence pairs in Sinhala, provided in two scripts: Unicode Sinhala and Romanized Sinhala. It is intended for evaluating perplexity and benchmarking language models on Sinhala text.

## Dataset Structure

The dataset consists of two fields:

- `sinhala_unicode`: Sinhala sentences written in Unicode Sinhala script.
- `sinhala_romanized`: Corresponding sentences transliterated into Romanized Sinhala.

Each entry in the dataset corresponds to one pair of sentences.

## How to Use the Dataset

You can easily load the dataset using the `datasets` library:

```python
from datasets import load_dataset

# Load the dataset
dataset = load_dataset("Minuri/sinhala-perplexity-test-dataset")

# Access the first example
example = dataset['data'][0]
print("Unicode Sentence:", example['sinhala_unicode'])
print("Romanized Sentence:", example['sinhala_romanized'])