lvwerra HF staff commited on
Commit
352bfbc
1 Parent(s): af403e5

add revision instructions

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -3,7 +3,7 @@ annotations_creators: []
3
  language_creators:
4
  - crowdsourced
5
  - expert-generated
6
- languages: []
7
  licenses:
8
  - other-multiple
9
  multilinguality:
@@ -182,6 +182,12 @@ The dataset consists of source code from a wide range of repositories. As such t
182
 
183
  ## Releases
184
 
 
 
 
 
 
 
185
  ### v1.0
186
  - Initial release of dataset
187
  - The query was executed on _Feb 14, 2022, 12:03:16 PM UTC+1_
 
3
  language_creators:
4
  - crowdsourced
5
  - expert-generated
6
+ languages: ["code"]
7
  licenses:
8
  - other-multiple
9
  multilinguality:
 
182
 
183
  ## Releases
184
 
185
+ You can load any older version of the dataset with the `revision` argument:
186
+
187
+ ```Python
188
+ ds = load_dataset("lvwerra/github-code", revision="v1.0")
189
+ ```
190
+
191
  ### v1.0
192
  - Initial release of dataset
193
  - The query was executed on _Feb 14, 2022, 12:03:16 PM UTC+1_