Datasets:
laelhalawani
commited on
Commit
•
317e203
1
Parent(s):
c86fb1e
Update README.md
Browse files
README.md
CHANGED
@@ -23,7 +23,7 @@ import datasets
|
|
23 |
ds = datasets.load_dataset("laelhalawani/opus_and_europarl_en_ro")
|
24 |
|
25 |
print(ds) # preview dataset
|
26 |
-
print(ds["train"]) # preview default split
|
27 |
print(ds["train"][0]) # preview first sample
|
28 |
print(["train"][0]["en"]) # preview EN part of the first sample
|
29 |
print(["train"][0]["ro"]) # preview RO part of the first sample
|
|
|
23 |
ds = datasets.load_dataset("laelhalawani/opus_and_europarl_en_ro")
|
24 |
|
25 |
print(ds) # preview dataset
|
26 |
+
print(ds["train"]) # preview default split (all samples are here)
|
27 |
print(ds["train"][0]) # preview first sample
|
28 |
print(["train"][0]["en"]) # preview EN part of the first sample
|
29 |
print(["train"][0]["ro"]) # preview RO part of the first sample
|