Minuri commited on
Commit
3375bf5
·
verified ·
1 Parent(s): c71d8ae

Updated README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -8
README.md CHANGED
@@ -25,19 +25,30 @@ dataset_info:
25
  ---
26
  # Sinhala Perplexity Test Dataset
27
 
28
- This dataset contains test sentences used for evaluating the perplexity of various language models on Sinhala text. It includes two scripts:
29
 
30
- - `test_unicode.txt`: Sinhala sentences written in Unicode Sinhala script.
31
- - `test_romanized.txt`: The same sentences transliterated into Romanized Sinhala.
32
 
33
  ## Dataset Structure
34
 
35
- Each file contains one sentence per line.
36
 
37
- ## Usage
 
38
 
39
- This dataset can be used for perplexity calculation, language modeling and benchmarking Sinhala language models.
40
 
41
- ## License
42
 
43
- This dataset is released under the CC BY 4.0 License. You are free to share and adapt it with proper attribution.
 
 
 
 
 
 
 
 
 
 
 
 
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'])