zainabfatima097 commited on
Commit
ce971bd
·
verified ·
1 Parent(s): 263472f

Upload load_dataset.py

Browse files
Files changed (1) hide show
  1. load_dataset.py +7 -0
load_dataset.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from datasets import load_dataset
2
+
3
+ # Load IITB English-Hindi dataset
4
+ dataset = load_dataset("cfilt/iitb-english-hindi")
5
+
6
+ # Print example data
7
+ print(dataset["train"][0])