Spaces:
Sleeping

PERDYPTO commited on
Commit
e36ea78
·
verified ·
1 Parent(s): 8fd19d6

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +79 -79
pipeline.py CHANGED
@@ -16,7 +16,7 @@
16
  # ============================================================
17
 
18
  import os
19
- import sys
20
  import json
21
  import time
22
  import gzip
@@ -121,85 +121,85 @@ DATASETS = [
121
  "repo_fields": ["max_stars_repo_name", "repo_name"],
122
  "path_fields": ["max_stars_repo_path", "path"],
123
  "license_fields": ["max_stars_repo_licenses", "license"],
124
- },
125
- {
126
- "name": "starcoderdata_python",
127
- "dataset": "bigcode/starcoderdata",
128
- "config": None,
129
- "data_dir": "python",
130
- "split": "train",
131
- "kind": "generic",
132
- "text_fields": ["content"],
133
- "repo_fields": ["max_stars_repo_name", "repo_name"],
134
- "path_fields": ["max_stars_repo_path", "path"],
135
- "license_fields": ["max_stars_repo_licenses", "license"],
136
- },
137
- {
138
- "name": "codeparrot_clean",
139
- "dataset": "codeparrot/codeparrot-clean",
140
- "config": None,
141
- "split": "train",
142
- "kind": "generic",
143
- "text_fields": ["content"],
144
- "repo_fields": ["repo_name", "repo"],
145
- "path_fields": ["path", "filepath"],
146
- "license_fields": ["license"],
147
- },
148
- {
149
- "name": "pyhub",
150
- "dataset": "FurkanNar/PyHub",
151
- "config": None,
152
- "split": "train",
153
- "kind": "generic",
154
- "text_fields": ["content", "text"],
155
- "repo_fields": ["repo", "repo_name"],
156
- "path_fields": ["filepath", "path"],
157
- "license_fields": ["license", "license_type"],
158
- },
159
- {
160
- "name": "redstone_code_python",
161
- "dataset": "zjsd/RedStone-Code-python",
162
- "config": None,
163
- "split": "train",
164
- "kind": "generic",
165
- "text_fields": ["content"],
166
- "repo_fields": [],
167
- "path_fields": [],
168
- "license_fields": [],
169
- },
170
- {
171
- "name": "github_python",
172
- "dataset": "jblitzar/github-python",
173
- "config": None,
174
- "split": "train",
175
- "kind": "generic",
176
- "text_fields": ["content"],
177
- "repo_fields": ["repo"],
178
- "path_fields": ["path"],
179
- "license_fields": ["license"],
180
- },
181
- {
182
- "name": "the_stack_v2_smol",
183
- "dataset": "bigcode/the-stack-v2-train-smol-ids",
184
- "config": None,
185
- "split": "train",
186
- "kind": "generic",
187
- "text_fields": ["content"],
188
- "repo_fields": ["repo_name"],
189
- "path_fields": ["path"],
190
- "license_fields": ["license"],
191
- },
192
- {
193
- "name": "codeparrot_raw",
194
- "dataset": "transformersbook/codeparrot",
195
- "config": None,
196
- "split": "train",
197
- "kind": "generic",
198
- "text_fields": ["content"],
199
- "repo_fields": [],
200
- "path_fields": [],
201
- "license_fields": [],
202
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
203
  ]
204
 
205
  # ============================================================
 
16
  # ============================================================
17
 
18
  import os
19
+ import sysasdfasd
20
  import json
21
  import time
22
  import gzip
 
121
  "repo_fields": ["max_stars_repo_name", "repo_name"],
122
  "path_fields": ["max_stars_repo_path", "path"],
123
  "license_fields": ["max_stars_repo_licenses", "license"],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  }
125
+ # {
126
+ # "name": "starcoderdata_python",
127
+ # "dataset": "bigcode/starcoderdata",
128
+ # "config": None,
129
+ # "data_dir": "python",
130
+ # "split": "train",
131
+ # "kind": "generic",
132
+ # "text_fields": ["content"],
133
+ # "repo_fields": ["max_stars_repo_name", "repo_name"],
134
+ # "path_fields": ["max_stars_repo_path", "path"],
135
+ # "license_fields": ["max_stars_repo_licenses", "license"],
136
+ # },
137
+ # {
138
+ # "name": "codeparrot_clean",
139
+ # "dataset": "codeparrot/codeparrot-clean",
140
+ # "config": None,
141
+ # "split": "train",
142
+ # "kind": "generic",
143
+ # "text_fields": ["content"],
144
+ # "repo_fields": ["repo_name", "repo"],
145
+ # "path_fields": ["path", "filepath"],
146
+ # "license_fields": ["license"],
147
+ # },
148
+ # {
149
+ # "name": "pyhub",
150
+ # "dataset": "FurkanNar/PyHub",
151
+ # "config": None,
152
+ # "split": "train",
153
+ # "kind": "generic",
154
+ # "text_fields": ["content", "text"],
155
+ # "repo_fields": ["repo", "repo_name"],
156
+ # "path_fields": ["filepath", "path"],
157
+ # "license_fields": ["license", "license_type"],
158
+ # },
159
+ # {
160
+ # "name": "redstone_code_python",
161
+ # "dataset": "zjsd/RedStone-Code-python",
162
+ # "config": None,
163
+ # "split": "train",
164
+ # "kind": "generic",
165
+ # "text_fields": ["content"],
166
+ # "repo_fields": [],
167
+ # "path_fields": [],
168
+ # "license_fields": [],
169
+ # },
170
+ # {
171
+ # "name": "github_python",
172
+ # "dataset": "jblitzar/github-python",
173
+ # "config": None,
174
+ # "split": "train",
175
+ # "kind": "generic",
176
+ # "text_fields": ["content"],
177
+ # "repo_fields": ["repo"],
178
+ # "path_fields": ["path"],
179
+ # "license_fields": ["license"],
180
+ # },
181
+ # {
182
+ # "name": "the_stack_v2_smol",
183
+ # "dataset": "bigcode/the-stack-v2-train-smol-ids",
184
+ # "config": None,
185
+ # "split": "train",
186
+ # "kind": "generic",
187
+ # "text_fields": ["content"],
188
+ # "repo_fields": ["repo_name"],
189
+ # "path_fields": ["path"],
190
+ # "license_fields": ["license"],
191
+ # },
192
+ # {
193
+ # "name": "codeparrot_raw",
194
+ # "dataset": "transformersbook/codeparrot",
195
+ # "config": None,
196
+ # "split": "train",
197
+ # "kind": "generic",
198
+ # "text_fields": ["content"],
199
+ # "repo_fields": [],
200
+ # "path_fields": [],
201
+ # "license_fields": [],
202
+ # }
203
  ]
204
 
205
  # ============================================================