ArabovMK commited on
Commit
442cf2e
·
verified ·
1 Parent(s): 4148c2f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -49,9 +49,15 @@ This dataset contains the full Tajik translation of the Persian epic poem **Shah
49
  ```python
50
  from datasets import load_dataset
51
 
 
52
  dataset = load_dataset("ArabovMK/shahnameh-tajik-corpus")
53
- ```
54
 
 
 
 
 
 
 
55
  ---
56
 
57
  ## 🎯 Purpose
 
49
  ```python
50
  from datasets import load_dataset
51
 
52
+ # Load the dataset
53
  dataset = load_dataset("ArabovMK/shahnameh-tajik-corpus")
 
54
 
55
+ # Print the dataset to check its structure
56
+ print(dataset)
57
+
58
+ # Extract the texts for training and validation
59
+ train_texts = dataset['train']['content']
60
+ val_texts = dataset['validation']['content']
61
  ---
62
 
63
  ## 🎯 Purpose