laelhalawani commited on
Commit
c86fb1e
1 Parent(s): 5d7735d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md CHANGED
@@ -16,3 +16,15 @@ Each sample is a dict with two keys corresponding to the text-pair languages nam
16
 
17
  NOTE:
18
  Some initial analysis reveals many of these samples face formatting issues, and might be facing semantic translation issues.
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
  NOTE:
18
  Some initial analysis reveals many of these samples face formatting issues, and might be facing semantic translation issues.
19
+
20
+ To use
21
+ ```python
22
+ 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
30
+ ```