Updated README.md
Browse files
README.md
CHANGED
|
@@ -25,19 +25,30 @@ dataset_info:
|
|
| 25 |
---
|
| 26 |
# Sinhala Perplexity Test Dataset
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
| 31 |
-
- `test_romanized.txt`: The same sentences transliterated into Romanized Sinhala.
|
| 32 |
|
| 33 |
## Dataset Structure
|
| 34 |
|
| 35 |
-
|
| 36 |
|
| 37 |
-
|
|
|
|
| 38 |
|
| 39 |
-
|
| 40 |
|
| 41 |
-
##
|
| 42 |
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
---
|
| 26 |
# Sinhala Perplexity Test Dataset
|
| 27 |
|
| 28 |
+
## Dataset Description
|
| 29 |
|
| 30 |
+
This dataset contains 200 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.
|
|
|
|
| 31 |
|
| 32 |
## Dataset Structure
|
| 33 |
|
| 34 |
+
The dataset consists of two fields:
|
| 35 |
|
| 36 |
+
- `sinhala_unicode`: Sinhala sentences written in Unicode Sinhala script.
|
| 37 |
+
- `sinhala_romanized`: Corresponding sentences transliterated into Romanized Sinhala.
|
| 38 |
|
| 39 |
+
Each entry in the dataset corresponds to one pair of sentences.
|
| 40 |
|
| 41 |
+
## How to Use the Dataset
|
| 42 |
|
| 43 |
+
You can easily load the dataset using the `datasets` library:
|
| 44 |
+
|
| 45 |
+
```python
|
| 46 |
+
from datasets import load_dataset
|
| 47 |
+
|
| 48 |
+
# Load the dataset
|
| 49 |
+
dataset = load_dataset("Minuri/sinhala-perplexity-test-dataset")
|
| 50 |
+
|
| 51 |
+
# Access the first example
|
| 52 |
+
example = dataset['data'][0]
|
| 53 |
+
print("Unicode Sentence:", example['sinhala_unicode'])
|
| 54 |
+
print("Romanized Sentence:", example['sinhala_romanized'])
|