sytelus commited on
Commit
3f70adb
·
verified ·
1 Parent(s): 217c7fa

add Python code

Browse files
Files changed (1) hide show
  1. README.md +8 -0
README.md CHANGED
@@ -12,6 +12,14 @@ This is the dataset that can be used with Andrej Karpathy's [NanoGPT](https://gi
12
 
13
  For more info on reproducing GPT-2 with NanuGPT code, [see here](https://github.com/sytelus/nanuGPT/blob/main/docs/openwebtext.md).
14
 
 
 
 
 
 
 
 
 
15
  ## Statistics
16
 
17
  ```text
 
12
 
13
  For more info on reproducing GPT-2 with NanuGPT code, [see here](https://github.com/sytelus/nanuGPT/blob/main/docs/openwebtext.md).
14
 
15
+ Simple dataset loading:
16
+
17
+ ```python
18
+ from datasets import load_dataset
19
+ dataset = load_dataset("sytelus/openwebtext")
20
+ ```
21
+
22
+
23
  ## Statistics
24
 
25
  ```text