Samip commited on
Commit
bd7c1f2
·
1 Parent(s): 33f9b4f

Update Scotch.py

Browse files
Files changed (1) hide show
  1. Scotch.py +2 -1
Scotch.py CHANGED
@@ -51,7 +51,8 @@ _LICENSE = "The MIT License"
51
  # The HuggingFace dataset library don't host the datasets but only point to the original files
52
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
53
  languages=['python','javascript','java','go']
54
- _URLs = {lang:f'https://scotch.s3.amazonaws.com/{lang}.tar.gz' for lang in languages}
 
55
  _URLs['all']=_URLs.copy()
56
 
57
 
 
51
  # The HuggingFace dataset library don't host the datasets but only point to the original files
52
  # This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
53
  languages=['python','javascript','java','go']
54
+ language_map={'python':'py','javascript':'js','go':'go','java':'java'}
55
+ _URLs = {lang:f'https://scotch.s3.amazonaws.com/{language_map[lang]}.tar.gz' for lang in languages}
56
  _URLs['all']=_URLs.copy()
57
 
58