Muennighoff
commited on
Commit
•
511c4b4
1
Parent(s):
ecb823b
Add
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +251 -0
- inference_java.py +148 -0
- inference.sh → inference_java.sh +1 -1
- inference.py → inference_javascript.py +2 -2
- inference_javascript.sh +2 -2
- inference_python.py +2 -2
- java_add/tasky_commits_java_0_32909.jsonl +3 -0
- java_add/tasky_commits_java_131636_164545.jsonl +3 -0
- java_add/tasky_commits_java_164545_197454.jsonl +3 -0
- java_add/tasky_commits_java_197454_230363.jsonl +3 -0
- java_add/tasky_commits_java_230363_263272.jsonl +3 -0
- java_add/tasky_commits_java_263272_296181.jsonl +3 -0
- java_add/tasky_commits_java_296181_329090.jsonl +3 -0
- java_add/tasky_commits_java_329090_361999.jsonl +3 -0
- java_add/tasky_commits_java_32909_65818.jsonl +3 -0
- java_add/tasky_commits_java_361999_394908.jsonl +3 -0
- java_add/tasky_commits_java_394908_427817.jsonl +3 -0
- java_add/tasky_commits_java_427817_460726.jsonl +3 -0
- java_add/tasky_commits_java_460726_493635.jsonl +0 -0
- java_add/tasky_commits_java_65818_98727.jsonl +3 -0
- java_add/tasky_commits_java_98727_131636.jsonl +3 -0
- javascript/tasky_commits_javascript_0_32909.jsonl +0 -0
- javascript/tasky_commits_javascript_1053088_1085997.jsonl +0 -0
- javascript/tasky_commits_javascript_1118906_1151815.jsonl +0 -0
- javascript/tasky_commits_javascript_1184724_1217633.jsonl +0 -0
- javascript/tasky_commits_javascript_1283451_1316360.jsonl +0 -0
- javascript/tasky_commits_javascript_1316360_1349269.jsonl +0 -0
- javascript/tasky_commits_javascript_131636_164545.jsonl +0 -0
- javascript/tasky_commits_javascript_1415087_1447996.jsonl +0 -0
- javascript/tasky_commits_javascript_1447996_1480905.jsonl +0 -0
- javascript/tasky_commits_javascript_1513814_1546723.jsonl +0 -0
- javascript/tasky_commits_javascript_1579632_1612541.jsonl +0 -0
- javascript/tasky_commits_javascript_164545_197454.jsonl +0 -0
- javascript/tasky_commits_javascript_1678359_1711268.jsonl +0 -0
- javascript/tasky_commits_javascript_1711268_1744177.jsonl +0 -0
- javascript/tasky_commits_javascript_1809995_1842904.jsonl +0 -0
- javascript/tasky_commits_javascript_1842904_1875813.jsonl +0 -0
- javascript/tasky_commits_javascript_1875813_1908722.jsonl +0 -0
- javascript/tasky_commits_javascript_1941631_1974540.jsonl +0 -0
- javascript/tasky_commits_javascript_1974540_2007449.jsonl +0 -0
- javascript/tasky_commits_javascript_2040358_2073267.jsonl +0 -0
- javascript/tasky_commits_javascript_2073267_2106176.jsonl +0 -0
- javascript/tasky_commits_javascript_2106176_2139085.jsonl +0 -0
- javascript/tasky_commits_javascript_2171994_2204903.jsonl +0 -0
- javascript/tasky_commits_javascript_2237812_2270721.jsonl +0 -0
- javascript/tasky_commits_javascript_2270721_2303630.jsonl +0 -0
- javascript/tasky_commits_javascript_230363_263272.jsonl +0 -0
- javascript/tasky_commits_javascript_2402357_2435266.jsonl +0 -0
- javascript/tasky_commits_javascript_2501084_2533993.jsonl +0 -0
- javascript/tasky_commits_javascript_2599811_2632720.jsonl +0 -0
.gitattributes
CHANGED
@@ -280,3 +280,254 @@ javascript/tasky_commits_javascript_2468175_2501084.jsonl filter=lfs diff=lfs me
|
|
280 |
java_add_messages.jsonl filter=lfs diff=lfs merge=lfs -text
|
281 |
javascript_add_messages.jsonl filter=lfs diff=lfs merge=lfs -text
|
282 |
python_add_messages.jsonl filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
java_add_messages.jsonl filter=lfs diff=lfs merge=lfs -text
|
281 |
javascript_add_messages.jsonl filter=lfs diff=lfs merge=lfs -text
|
282 |
python_add_messages.jsonl filter=lfs diff=lfs merge=lfs -text
|
283 |
+
javascript/tasky_commits_javascript_3126355_3159264.jsonl filter=lfs diff=lfs merge=lfs -text
|
284 |
+
javascript/tasky_commits_javascript_1875813_1908722.jsonl filter=lfs diff=lfs merge=lfs -text
|
285 |
+
javascript/tasky_commits_javascript_3587081_3619990.jsonl filter=lfs diff=lfs merge=lfs -text
|
286 |
+
python_add/tasky_commits_python_427817_460726.jsonl filter=lfs diff=lfs merge=lfs -text
|
287 |
+
python/tasky_commits_python_5759075_5791984.jsonl filter=lfs diff=lfs merge=lfs -text
|
288 |
+
javascript/tasky_commits_javascript_1711268_1744177.jsonl filter=lfs diff=lfs merge=lfs -text
|
289 |
+
javascript/tasky_commits_javascript_4014898_4047807.jsonl filter=lfs diff=lfs merge=lfs -text
|
290 |
+
javascript/tasky_commits_javascript_493635_526544.jsonl filter=lfs diff=lfs merge=lfs -text
|
291 |
+
python_add/tasky_commits_python_98727_131636.jsonl filter=lfs diff=lfs merge=lfs -text
|
292 |
+
python/tasky_commits_python_3850353_3883262.jsonl filter=lfs diff=lfs merge=lfs -text
|
293 |
+
python/tasky_commits_python_4146534_4179443.jsonl filter=lfs diff=lfs merge=lfs -text
|
294 |
+
javascript_add/tasky_commits_javascript_164545_197454.jsonl filter=lfs diff=lfs merge=lfs -text
|
295 |
+
javascript/tasky_commits_javascript_658180_691089.jsonl filter=lfs diff=lfs merge=lfs -text
|
296 |
+
python/tasky_commits_python_4837623_4870532.jsonl filter=lfs diff=lfs merge=lfs -text
|
297 |
+
python/tasky_commits_python_4969259_5002168.jsonl filter=lfs diff=lfs merge=lfs -text
|
298 |
+
python/tasky_commits_python_4278170_4311079.jsonl filter=lfs diff=lfs merge=lfs -text
|
299 |
+
javascript/tasky_commits_javascript_1316360_1349269.jsonl filter=lfs diff=lfs merge=lfs -text
|
300 |
+
javascript/tasky_commits_javascript_1415087_1447996.jsonl filter=lfs diff=lfs merge=lfs -text
|
301 |
+
python_add/tasky_commits_python_460726_493635.jsonl filter=lfs diff=lfs merge=lfs -text
|
302 |
+
python/tasky_commits_python_3356718_3389627.jsonl filter=lfs diff=lfs merge=lfs -text
|
303 |
+
javascript/tasky_commits_javascript_131636_164545.jsonl filter=lfs diff=lfs merge=lfs -text
|
304 |
+
python/tasky_commits_python_5726166_5759075.jsonl filter=lfs diff=lfs merge=lfs -text
|
305 |
+
python/tasky_commits_python_3587081_3619990.jsonl filter=lfs diff=lfs merge=lfs -text
|
306 |
+
python/tasky_commits_python_5166713_5199622.jsonl filter=lfs diff=lfs merge=lfs -text
|
307 |
+
javascript/tasky_commits_javascript_2961810_2994719.jsonl filter=lfs diff=lfs merge=lfs -text
|
308 |
+
javascript/tasky_commits_javascript_4541442_4574351.jsonl filter=lfs diff=lfs merge=lfs -text
|
309 |
+
python_add/tasky_commits_python_131636_164545.jsonl filter=lfs diff=lfs merge=lfs -text
|
310 |
+
python_add/tasky_commits_python_592362_625271.jsonl filter=lfs diff=lfs merge=lfs -text
|
311 |
+
javascript/tasky_commits_javascript_1842904_1875813.jsonl filter=lfs diff=lfs merge=lfs -text
|
312 |
+
javascript/tasky_commits_javascript_2895992_2928901.jsonl filter=lfs diff=lfs merge=lfs -text
|
313 |
+
javascript/tasky_commits_javascript_460726_493635.jsonl filter=lfs diff=lfs merge=lfs -text
|
314 |
+
python/tasky_commits_python_3389627_3422536.jsonl filter=lfs diff=lfs merge=lfs -text
|
315 |
+
java_add/tasky_commits_java_460726_493635.jsonl filter=lfs diff=lfs merge=lfs -text
|
316 |
+
javascript_add/tasky_commits_javascript_131636_164545.jsonl filter=lfs diff=lfs merge=lfs -text
|
317 |
+
javascript_add/tasky_commits_javascript_559453_592362.jsonl filter=lfs diff=lfs merge=lfs -text
|
318 |
+
javascript/tasky_commits_javascript_1118906_1151815.jsonl filter=lfs diff=lfs merge=lfs -text
|
319 |
+
python/tasky_commits_python_3521263_3554172.jsonl filter=lfs diff=lfs merge=lfs -text
|
320 |
+
python/tasky_commits_python_394908_427817.jsonl filter=lfs diff=lfs merge=lfs -text
|
321 |
+
python/tasky_commits_python_4080716_4113625.jsonl filter=lfs diff=lfs merge=lfs -text
|
322 |
+
java_add/tasky_commits_java_197454_230363.jsonl filter=lfs diff=lfs merge=lfs -text
|
323 |
+
python/tasky_commits_python_0_32909.jsonl filter=lfs diff=lfs merge=lfs -text
|
324 |
+
python/tasky_commits_python_4804714_4837623.jsonl filter=lfs diff=lfs merge=lfs -text
|
325 |
+
java_add/tasky_commits_java_427817_460726.jsonl filter=lfs diff=lfs merge=lfs -text
|
326 |
+
javascript/tasky_commits_javascript_263272_296181.jsonl filter=lfs diff=lfs merge=lfs -text
|
327 |
+
python/tasky_commits_python_230363_263272.jsonl filter=lfs diff=lfs merge=lfs -text
|
328 |
+
javascript/tasky_commits_javascript_1447996_1480905.jsonl filter=lfs diff=lfs merge=lfs -text
|
329 |
+
javascript/tasky_commits_javascript_756907_789816.jsonl filter=lfs diff=lfs merge=lfs -text
|
330 |
+
javascript/tasky_commits_javascript_855634_888543.jsonl filter=lfs diff=lfs merge=lfs -text
|
331 |
+
python_add/tasky_commits_python_394908_427817.jsonl filter=lfs diff=lfs merge=lfs -text
|
332 |
+
python/tasky_commits_python_4442715_4475624.jsonl filter=lfs diff=lfs merge=lfs -text
|
333 |
+
javascript/tasky_commits_javascript_2830174_2863083.jsonl filter=lfs diff=lfs merge=lfs -text
|
334 |
+
javascript/tasky_commits_javascript_32909_65818.jsonl filter=lfs diff=lfs merge=lfs -text
|
335 |
+
javascript/tasky_commits_javascript_4508533_4541442.jsonl filter=lfs diff=lfs merge=lfs -text
|
336 |
+
javascript/tasky_commits_javascript_723998_756907.jsonl filter=lfs diff=lfs merge=lfs -text
|
337 |
+
javascript_add/tasky_commits_javascript_394908_427817.jsonl filter=lfs diff=lfs merge=lfs -text
|
338 |
+
javascript/tasky_commits_javascript_1513814_1546723.jsonl filter=lfs diff=lfs merge=lfs -text
|
339 |
+
python/tasky_commits_python_4475624_4508533.jsonl filter=lfs diff=lfs merge=lfs -text
|
340 |
+
javascript/tasky_commits_javascript_1678359_1711268.jsonl filter=lfs diff=lfs merge=lfs -text
|
341 |
+
javascript/tasky_commits_javascript_2863083_2895992.jsonl filter=lfs diff=lfs merge=lfs -text
|
342 |
+
javascript/tasky_commits_javascript_3356718_3389627.jsonl filter=lfs diff=lfs merge=lfs -text
|
343 |
+
python/tasky_commits_python_3290900_3323809.jsonl filter=lfs diff=lfs merge=lfs -text
|
344 |
+
python/tasky_commits_python_5429985_5462894.jsonl filter=lfs diff=lfs merge=lfs -text
|
345 |
+
java_add/tasky_commits_java_32909_65818.jsonl filter=lfs diff=lfs merge=lfs -text
|
346 |
+
javascript/tasky_commits_javascript_3225082_3257991.jsonl filter=lfs diff=lfs merge=lfs -text
|
347 |
+
javascript/tasky_commits_javascript_4080716_4113625.jsonl filter=lfs diff=lfs merge=lfs -text
|
348 |
+
python/tasky_commits_python_3916171_3949080.jsonl filter=lfs diff=lfs merge=lfs -text
|
349 |
+
python/tasky_commits_python_5693257_5726166.jsonl filter=lfs diff=lfs merge=lfs -text
|
350 |
+
javascript/tasky_commits_javascript_4245261_4278170.jsonl filter=lfs diff=lfs merge=lfs -text
|
351 |
+
python/tasky_commits_python_164545_197454.jsonl filter=lfs diff=lfs merge=lfs -text
|
352 |
+
python/tasky_commits_python_197454_230363.jsonl filter=lfs diff=lfs merge=lfs -text
|
353 |
+
python/tasky_commits_python_3422536_3455445.jsonl filter=lfs diff=lfs merge=lfs -text
|
354 |
+
java_add/tasky_commits_java_0_32909.jsonl filter=lfs diff=lfs merge=lfs -text
|
355 |
+
javascript/tasky_commits_javascript_3290900_3323809.jsonl filter=lfs diff=lfs merge=lfs -text
|
356 |
+
javascript_add/tasky_commits_javascript_427817_460726.jsonl filter=lfs diff=lfs merge=lfs -text
|
357 |
+
javascript/tasky_commits_javascript_3784535_3817444.jsonl filter=lfs diff=lfs merge=lfs -text
|
358 |
+
javascript/tasky_commits_javascript_3981989_4014898.jsonl filter=lfs diff=lfs merge=lfs -text
|
359 |
+
javascript/tasky_commits_javascript_4574351_4607260.jsonl filter=lfs diff=lfs merge=lfs -text
|
360 |
+
javascript/tasky_commits_javascript_2402357_2435266.jsonl filter=lfs diff=lfs merge=lfs -text
|
361 |
+
python/tasky_commits_python_5067986_5100895.jsonl filter=lfs diff=lfs merge=lfs -text
|
362 |
+
javascript/tasky_commits_javascript_1283451_1316360.jsonl filter=lfs diff=lfs merge=lfs -text
|
363 |
+
javascript/tasky_commits_javascript_2106176_2139085.jsonl filter=lfs diff=lfs merge=lfs -text
|
364 |
+
javascript/tasky_commits_javascript_2171994_2204903.jsonl filter=lfs diff=lfs merge=lfs -text
|
365 |
+
javascript/tasky_commits_javascript_230363_263272.jsonl filter=lfs diff=lfs merge=lfs -text
|
366 |
+
javascript/tasky_commits_javascript_4705987_4738896.jsonl filter=lfs diff=lfs merge=lfs -text
|
367 |
+
javascript/tasky_commits_javascript_987270_1020179.jsonl filter=lfs diff=lfs merge=lfs -text
|
368 |
+
javascript/tasky_commits_javascript_3751626_3784535.jsonl filter=lfs diff=lfs merge=lfs -text
|
369 |
+
python/tasky_commits_python_4409806_4442715.jsonl filter=lfs diff=lfs merge=lfs -text
|
370 |
+
javascript/tasky_commits_javascript_2928901_2961810.jsonl filter=lfs diff=lfs merge=lfs -text
|
371 |
+
javascript/tasky_commits_javascript_691089_723998.jsonl filter=lfs diff=lfs merge=lfs -text
|
372 |
+
javascript/tasky_commits_javascript_822725_855634.jsonl filter=lfs diff=lfs merge=lfs -text
|
373 |
+
python/tasky_commits_python_3455445_3488354.jsonl filter=lfs diff=lfs merge=lfs -text
|
374 |
+
python/tasky_commits_python_3652899_3685808.jsonl filter=lfs diff=lfs merge=lfs -text
|
375 |
+
javascript/tasky_commits_javascript_2632720_2665629.jsonl filter=lfs diff=lfs merge=lfs -text
|
376 |
+
javascript/tasky_commits_javascript_2764356_2797265.jsonl filter=lfs diff=lfs merge=lfs -text
|
377 |
+
javascript/tasky_commits_javascript_329090_361999.jsonl filter=lfs diff=lfs merge=lfs -text
|
378 |
+
javascript/tasky_commits_javascript_4113625_4146534.jsonl filter=lfs diff=lfs merge=lfs -text
|
379 |
+
javascript_add/tasky_commits_javascript_625271_658180.jsonl filter=lfs diff=lfs merge=lfs -text
|
380 |
+
python/tasky_commits_python_3619990_3652899.jsonl filter=lfs diff=lfs merge=lfs -text
|
381 |
+
python/tasky_commits_python_4113625_4146534.jsonl filter=lfs diff=lfs merge=lfs -text
|
382 |
+
python/tasky_commits_python_4936350_4969259.jsonl filter=lfs diff=lfs merge=lfs -text
|
383 |
+
python/tasky_commits_python_4047807_4080716.jsonl filter=lfs diff=lfs merge=lfs -text
|
384 |
+
javascript_add/tasky_commits_javascript_493635_526544.jsonl filter=lfs diff=lfs merge=lfs -text
|
385 |
+
javascript/tasky_commits_javascript_4442715_4475624.jsonl filter=lfs diff=lfs merge=lfs -text
|
386 |
+
javascript/tasky_commits_javascript_3685808_3718717.jsonl filter=lfs diff=lfs merge=lfs -text
|
387 |
+
python/tasky_commits_python_3751626_3784535.jsonl filter=lfs diff=lfs merge=lfs -text
|
388 |
+
python/tasky_commits_python_5265440_5298349.jsonl filter=lfs diff=lfs merge=lfs -text
|
389 |
+
python/tasky_commits_python_5528712_5561621.jsonl filter=lfs diff=lfs merge=lfs -text
|
390 |
+
python_add/tasky_commits_python_526544_559453.jsonl filter=lfs diff=lfs merge=lfs -text
|
391 |
+
python/tasky_commits_python_4014898_4047807.jsonl filter=lfs diff=lfs merge=lfs -text
|
392 |
+
python/tasky_commits_python_4903441_4936350.jsonl filter=lfs diff=lfs merge=lfs -text
|
393 |
+
javascript/tasky_commits_javascript_3389627_3422536.jsonl filter=lfs diff=lfs merge=lfs -text
|
394 |
+
javascript/tasky_commits_javascript_3949080_3981989.jsonl filter=lfs diff=lfs merge=lfs -text
|
395 |
+
javascript/tasky_commits_javascript_4047807_4080716.jsonl filter=lfs diff=lfs merge=lfs -text
|
396 |
+
javascript/tasky_commits_javascript_4146534_4179443.jsonl filter=lfs diff=lfs merge=lfs -text
|
397 |
+
javascript/tasky_commits_javascript_4212352_4245261.jsonl filter=lfs diff=lfs merge=lfs -text
|
398 |
+
javascript/tasky_commits_javascript_4607260_4640169.jsonl filter=lfs diff=lfs merge=lfs -text
|
399 |
+
python_add/tasky_commits_python_197454_230363.jsonl filter=lfs diff=lfs merge=lfs -text
|
400 |
+
python/tasky_commits_python_329090_361999.jsonl filter=lfs diff=lfs merge=lfs -text
|
401 |
+
java_add/tasky_commits_java_263272_296181.jsonl filter=lfs diff=lfs merge=lfs -text
|
402 |
+
java_add/tasky_commits_java_98727_131636.jsonl filter=lfs diff=lfs merge=lfs -text
|
403 |
+
javascript_add/tasky_commits_javascript_526544_559453.jsonl filter=lfs diff=lfs merge=lfs -text
|
404 |
+
javascript/tasky_commits_javascript_2237812_2270721.jsonl filter=lfs diff=lfs merge=lfs -text
|
405 |
+
java_add/tasky_commits_java_329090_361999.jsonl filter=lfs diff=lfs merge=lfs -text
|
406 |
+
java_add/tasky_commits_java_65818_98727.jsonl filter=lfs diff=lfs merge=lfs -text
|
407 |
+
javascript_add/tasky_commits_javascript_592362_625271.jsonl filter=lfs diff=lfs merge=lfs -text
|
408 |
+
javascript/tasky_commits_javascript_3718717_3751626.jsonl filter=lfs diff=lfs merge=lfs -text
|
409 |
+
javascript/tasky_commits_javascript_3422536_3455445.jsonl filter=lfs diff=lfs merge=lfs -text
|
410 |
+
python/tasky_commits_python_5495803_5528712.jsonl filter=lfs diff=lfs merge=lfs -text
|
411 |
+
javascript/tasky_commits_javascript_1974540_2007449.jsonl filter=lfs diff=lfs merge=lfs -text
|
412 |
+
python/tasky_commits_python_3718717_3751626.jsonl filter=lfs diff=lfs merge=lfs -text
|
413 |
+
python/tasky_commits_python_3949080_3981989.jsonl filter=lfs diff=lfs merge=lfs -text
|
414 |
+
python/tasky_commits_python_4376897_4409806.jsonl filter=lfs diff=lfs merge=lfs -text
|
415 |
+
javascript/tasky_commits_javascript_3916171_3949080.jsonl filter=lfs diff=lfs merge=lfs -text
|
416 |
+
python/tasky_commits_python_5232531_5265440.jsonl filter=lfs diff=lfs merge=lfs -text
|
417 |
+
javascript/tasky_commits_javascript_3521263_3554172.jsonl filter=lfs diff=lfs merge=lfs -text
|
418 |
+
javascript/tasky_commits_javascript_4738896_4771805.jsonl filter=lfs diff=lfs merge=lfs -text
|
419 |
+
python/tasky_commits_python_4343988_4376897.jsonl filter=lfs diff=lfs merge=lfs -text
|
420 |
+
python/tasky_commits_python_4607260_4640169.jsonl filter=lfs diff=lfs merge=lfs -text
|
421 |
+
python/tasky_commits_python_3323809_3356718.jsonl filter=lfs diff=lfs merge=lfs -text
|
422 |
+
python/tasky_commits_python_3554172_3587081.jsonl filter=lfs diff=lfs merge=lfs -text
|
423 |
+
python/tasky_commits_python_3883262_3916171.jsonl filter=lfs diff=lfs merge=lfs -text
|
424 |
+
java_add/tasky_commits_java_131636_164545.jsonl filter=lfs diff=lfs merge=lfs -text
|
425 |
+
javascript_add/tasky_commits_javascript_98727_131636.jsonl filter=lfs diff=lfs merge=lfs -text
|
426 |
+
javascript/tasky_commits_javascript_2270721_2303630.jsonl filter=lfs diff=lfs merge=lfs -text
|
427 |
+
javascript/tasky_commits_javascript_3257991_3290900.jsonl filter=lfs diff=lfs merge=lfs -text
|
428 |
+
javascript/tasky_commits_javascript_2698538_2731447.jsonl filter=lfs diff=lfs merge=lfs -text
|
429 |
+
python/tasky_commits_python_65818_98727.jsonl filter=lfs diff=lfs merge=lfs -text
|
430 |
+
python/tasky_commits_python_98727_131636.jsonl filter=lfs diff=lfs merge=lfs -text
|
431 |
+
python/tasky_commits_python_5133804_5166713.jsonl filter=lfs diff=lfs merge=lfs -text
|
432 |
+
javascript_add/tasky_commits_javascript_296181_329090.jsonl filter=lfs diff=lfs merge=lfs -text
|
433 |
+
javascript/tasky_commits_javascript_1809995_1842904.jsonl filter=lfs diff=lfs merge=lfs -text
|
434 |
+
javascript/tasky_commits_javascript_3455445_3488354.jsonl filter=lfs diff=lfs merge=lfs -text
|
435 |
+
python_add/tasky_commits_python_164545_197454.jsonl filter=lfs diff=lfs merge=lfs -text
|
436 |
+
python_add/tasky_commits_python_263272_296181.jsonl filter=lfs diff=lfs merge=lfs -text
|
437 |
+
javascript/tasky_commits_javascript_2599811_2632720.jsonl filter=lfs diff=lfs merge=lfs -text
|
438 |
+
javascript/tasky_commits_javascript_3192173_3225082.jsonl filter=lfs diff=lfs merge=lfs -text
|
439 |
+
javascript/tasky_commits_javascript_4278170_4311079.jsonl filter=lfs diff=lfs merge=lfs -text
|
440 |
+
javascript/tasky_commits_javascript_4673078_4705987.jsonl filter=lfs diff=lfs merge=lfs -text
|
441 |
+
python_add/tasky_commits_python_559453_592362.jsonl filter=lfs diff=lfs merge=lfs -text
|
442 |
+
python/tasky_commits_python_5660348_5693257.jsonl filter=lfs diff=lfs merge=lfs -text
|
443 |
+
java_add/tasky_commits_java_230363_263272.jsonl filter=lfs diff=lfs merge=lfs -text
|
444 |
+
javascript/tasky_commits_javascript_3488354_3521263.jsonl filter=lfs diff=lfs merge=lfs -text
|
445 |
+
javascript/tasky_commits_javascript_3652899_3685808.jsonl filter=lfs diff=lfs merge=lfs -text
|
446 |
+
javascript/tasky_commits_javascript_954361_987270.jsonl filter=lfs diff=lfs merge=lfs -text
|
447 |
+
javascript/tasky_commits_javascript_98727_131636.jsonl filter=lfs diff=lfs merge=lfs -text
|
448 |
+
python_add/tasky_commits_python_361999_394908.jsonl filter=lfs diff=lfs merge=lfs -text
|
449 |
+
python/tasky_commits_python_4179443_4212352.jsonl filter=lfs diff=lfs merge=lfs -text
|
450 |
+
python/tasky_commits_python_4738896_4771805.jsonl filter=lfs diff=lfs merge=lfs -text
|
451 |
+
javascript/tasky_commits_javascript_3323809_3356718.jsonl filter=lfs diff=lfs merge=lfs -text
|
452 |
+
javascript/tasky_commits_javascript_526544_559453.jsonl filter=lfs diff=lfs merge=lfs -text
|
453 |
+
javascript/tasky_commits_javascript_164545_197454.jsonl filter=lfs diff=lfs merge=lfs -text
|
454 |
+
python/tasky_commits_python_5298349_5331258.jsonl filter=lfs diff=lfs merge=lfs -text
|
455 |
+
java_add/tasky_commits_java_296181_329090.jsonl filter=lfs diff=lfs merge=lfs -text
|
456 |
+
javascript/tasky_commits_javascript_0_32909.jsonl filter=lfs diff=lfs merge=lfs -text
|
457 |
+
javascript/tasky_commits_javascript_625271_658180.jsonl filter=lfs diff=lfs merge=lfs -text
|
458 |
+
python/tasky_commits_python_4574351_4607260.jsonl filter=lfs diff=lfs merge=lfs -text
|
459 |
+
javascript/tasky_commits_javascript_3027628_3060537.jsonl filter=lfs diff=lfs merge=lfs -text
|
460 |
+
python_add/tasky_commits_python_0_32909.jsonl filter=lfs diff=lfs merge=lfs -text
|
461 |
+
python/tasky_commits_python_3817444_3850353.jsonl filter=lfs diff=lfs merge=lfs -text
|
462 |
+
python/tasky_commits_python_5331258_5364167.jsonl filter=lfs diff=lfs merge=lfs -text
|
463 |
+
javascript/tasky_commits_javascript_1184724_1217633.jsonl filter=lfs diff=lfs merge=lfs -text
|
464 |
+
javascript/tasky_commits_javascript_1941631_1974540.jsonl filter=lfs diff=lfs merge=lfs -text
|
465 |
+
python_add/tasky_commits_python_32909_65818.jsonl filter=lfs diff=lfs merge=lfs -text
|
466 |
+
python/tasky_commits_python_5462894_5495803.jsonl filter=lfs diff=lfs merge=lfs -text
|
467 |
+
java_add/tasky_commits_java_361999_394908.jsonl filter=lfs diff=lfs merge=lfs -text
|
468 |
+
python_add/tasky_commits_python_65818_98727.jsonl filter=lfs diff=lfs merge=lfs -text
|
469 |
+
python/tasky_commits_python_3685808_3718717.jsonl filter=lfs diff=lfs merge=lfs -text
|
470 |
+
python/tasky_commits_python_4508533_4541442.jsonl filter=lfs diff=lfs merge=lfs -text
|
471 |
+
javascript/tasky_commits_javascript_3883262_3916171.jsonl filter=lfs diff=lfs merge=lfs -text
|
472 |
+
javascript/tasky_commits_javascript_4640169_4673078.jsonl filter=lfs diff=lfs merge=lfs -text
|
473 |
+
python_add/tasky_commits_python_625271_658180.jsonl filter=lfs diff=lfs merge=lfs -text
|
474 |
+
javascript/tasky_commits_javascript_1579632_1612541.jsonl filter=lfs diff=lfs merge=lfs -text
|
475 |
+
javascript/tasky_commits_javascript_3554172_3587081.jsonl filter=lfs diff=lfs merge=lfs -text
|
476 |
+
javascript/tasky_commits_javascript_4409806_4442715.jsonl filter=lfs diff=lfs merge=lfs -text
|
477 |
+
python/tasky_commits_python_5627439_5660348.jsonl filter=lfs diff=lfs merge=lfs -text
|
478 |
+
javascript/tasky_commits_javascript_3619990_3652899.jsonl filter=lfs diff=lfs merge=lfs -text
|
479 |
+
javascript/tasky_commits_javascript_3817444_3850353.jsonl filter=lfs diff=lfs merge=lfs -text
|
480 |
+
python_add/tasky_commits_python_493635_526544.jsonl filter=lfs diff=lfs merge=lfs -text
|
481 |
+
python/tasky_commits_python_5364167_5397076.jsonl filter=lfs diff=lfs merge=lfs -text
|
482 |
+
python/tasky_commits_python_3981989_4014898.jsonl filter=lfs diff=lfs merge=lfs -text
|
483 |
+
python/tasky_commits_python_4541442_4574351.jsonl filter=lfs diff=lfs merge=lfs -text
|
484 |
+
python/tasky_commits_python_4771805_4804714.jsonl filter=lfs diff=lfs merge=lfs -text
|
485 |
+
java_add/tasky_commits_java_164545_197454.jsonl filter=lfs diff=lfs merge=lfs -text
|
486 |
+
javascript/tasky_commits_javascript_2040358_2073267.jsonl filter=lfs diff=lfs merge=lfs -text
|
487 |
+
javascript/tasky_commits_javascript_2073267_2106176.jsonl filter=lfs diff=lfs merge=lfs -text
|
488 |
+
javascript/tasky_commits_javascript_3850353_3883262.jsonl filter=lfs diff=lfs merge=lfs -text
|
489 |
+
python/tasky_commits_python_361999_394908.jsonl filter=lfs diff=lfs merge=lfs -text
|
490 |
+
python/tasky_commits_python_5035077_5067986.jsonl filter=lfs diff=lfs merge=lfs -text
|
491 |
+
javascript/tasky_commits_javascript_4311079_4343988.jsonl filter=lfs diff=lfs merge=lfs -text
|
492 |
+
javascript/tasky_commits_javascript_4376897_4409806.jsonl filter=lfs diff=lfs merge=lfs -text
|
493 |
+
javascript/tasky_commits_javascript_789816_822725.jsonl filter=lfs diff=lfs merge=lfs -text
|
494 |
+
python/tasky_commits_python_4705987_4738896.jsonl filter=lfs diff=lfs merge=lfs -text
|
495 |
+
javascript/tasky_commits_javascript_1053088_1085997.jsonl filter=lfs diff=lfs merge=lfs -text
|
496 |
+
javascript/tasky_commits_javascript_2501084_2533993.jsonl filter=lfs diff=lfs merge=lfs -text
|
497 |
+
javascript/tasky_commits_javascript_2665629_2698538.jsonl filter=lfs diff=lfs merge=lfs -text
|
498 |
+
javascript/tasky_commits_javascript_2994719_3027628.jsonl filter=lfs diff=lfs merge=lfs -text
|
499 |
+
javascript/tasky_commits_javascript_4475624_4508533.jsonl filter=lfs diff=lfs merge=lfs -text
|
500 |
+
python_add/tasky_commits_python_296181_329090.jsonl filter=lfs diff=lfs merge=lfs -text
|
501 |
+
python/tasky_commits_python_296181_329090.jsonl filter=lfs diff=lfs merge=lfs -text
|
502 |
+
python/tasky_commits_python_4245261_4278170.jsonl filter=lfs diff=lfs merge=lfs -text
|
503 |
+
javascript/tasky_commits_javascript_296181_329090.jsonl filter=lfs diff=lfs merge=lfs -text
|
504 |
+
javascript/tasky_commits_javascript_4179443_4212352.jsonl filter=lfs diff=lfs merge=lfs -text
|
505 |
+
javascript/tasky_commits_javascript_4343988_4376897.jsonl filter=lfs diff=lfs merge=lfs -text
|
506 |
+
javascript/tasky_commits_javascript_888543_921452.jsonl filter=lfs diff=lfs merge=lfs -text
|
507 |
+
python/tasky_commits_python_5199622_5232531.jsonl filter=lfs diff=lfs merge=lfs -text
|
508 |
+
python/tasky_commits_python_5824893_5857802.jsonl filter=lfs diff=lfs merge=lfs -text
|
509 |
+
javascript_add/tasky_commits_javascript_263272_296181.jsonl filter=lfs diff=lfs merge=lfs -text
|
510 |
+
javascript_add/tasky_commits_javascript_361999_394908.jsonl filter=lfs diff=lfs merge=lfs -text
|
511 |
+
python_add/tasky_commits_python_230363_263272.jsonl filter=lfs diff=lfs merge=lfs -text
|
512 |
+
python/tasky_commits_python_3488354_3521263.jsonl filter=lfs diff=lfs merge=lfs -text
|
513 |
+
python_add/tasky_commits_python_329090_361999.jsonl filter=lfs diff=lfs merge=lfs -text
|
514 |
+
python/tasky_commits_python_3784535_3817444.jsonl filter=lfs diff=lfs merge=lfs -text
|
515 |
+
python/tasky_commits_python_4212352_4245261.jsonl filter=lfs diff=lfs merge=lfs -text
|
516 |
+
python/tasky_commits_python_4640169_4673078.jsonl filter=lfs diff=lfs merge=lfs -text
|
517 |
+
javascript/tasky_commits_javascript_361999_394908.jsonl filter=lfs diff=lfs merge=lfs -text
|
518 |
+
python/tasky_commits_python_5002168_5035077.jsonl filter=lfs diff=lfs merge=lfs -text
|
519 |
+
java_add/tasky_commits_java_394908_427817.jsonl filter=lfs diff=lfs merge=lfs -text
|
520 |
+
javascript/tasky_commits_javascript_65818_98727.jsonl filter=lfs diff=lfs merge=lfs -text
|
521 |
+
python/tasky_commits_python_4870532_4903441.jsonl filter=lfs diff=lfs merge=lfs -text
|
522 |
+
javascript_add/tasky_commits_javascript_197454_230363.jsonl filter=lfs diff=lfs merge=lfs -text
|
523 |
+
python/tasky_commits_python_263272_296181.jsonl filter=lfs diff=lfs merge=lfs -text
|
524 |
+
python/tasky_commits_python_5561621_5594530.jsonl filter=lfs diff=lfs merge=lfs -text
|
525 |
+
python/tasky_commits_python_4673078_4705987.jsonl filter=lfs diff=lfs merge=lfs -text
|
526 |
+
python/tasky_commits_python_5100895_5133804.jsonl filter=lfs diff=lfs merge=lfs -text
|
527 |
+
python/tasky_commits_python_5594530_5627439.jsonl filter=lfs diff=lfs merge=lfs -text
|
528 |
+
javascript_add/tasky_commits_javascript_230363_263272.jsonl filter=lfs diff=lfs merge=lfs -text
|
529 |
+
javascript_add/tasky_commits_javascript_32909_65818.jsonl filter=lfs diff=lfs merge=lfs -text
|
530 |
+
javascript/tasky_commits_javascript_559453_592362.jsonl filter=lfs diff=lfs merge=lfs -text
|
531 |
+
python/tasky_commits_python_427817_460726.jsonl filter=lfs diff=lfs merge=lfs -text
|
532 |
+
python/tasky_commits_python_4311079_4343988.jsonl filter=lfs diff=lfs merge=lfs -text
|
533 |
+
python/tasky_commits_python_5397076_5429985.jsonl filter=lfs diff=lfs merge=lfs -text
|
inference_java.py
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# !pip install -q transformers datasets sentencepiece
|
2 |
+
import argparse
|
3 |
+
import gc
|
4 |
+
import json
|
5 |
+
import os
|
6 |
+
|
7 |
+
import datasets
|
8 |
+
import pandas as pd
|
9 |
+
import torch
|
10 |
+
from tqdm import tqdm
|
11 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
12 |
+
|
13 |
+
TOTAL_NUM_FILES_C4_TRAIN = 1024
|
14 |
+
|
15 |
+
|
16 |
+
def parse_args():
|
17 |
+
parser = argparse.ArgumentParser()
|
18 |
+
|
19 |
+
parser.add_argument(
|
20 |
+
"--start",
|
21 |
+
type=int,
|
22 |
+
required=True,
|
23 |
+
help="Starting file number to download. Valid values: 0 - 1023",
|
24 |
+
)
|
25 |
+
parser.add_argument(
|
26 |
+
"--end",
|
27 |
+
type=int,
|
28 |
+
required=True,
|
29 |
+
help="Ending file number to download. Valid values: 0 - 1023",
|
30 |
+
)
|
31 |
+
parser.add_argument("--batch_size", type=int, default=32, help="Batch size")
|
32 |
+
parser.add_argument(
|
33 |
+
"--model_name",
|
34 |
+
type=str,
|
35 |
+
default="taskydata/deberta-v3-base_10xp3nirstbbflanseuni_10xc4",
|
36 |
+
help="Model name",
|
37 |
+
)
|
38 |
+
parser.add_argument(
|
39 |
+
"--local_cache_location",
|
40 |
+
type=str,
|
41 |
+
default="c4_download",
|
42 |
+
help="local cache location from where the dataset will be loaded",
|
43 |
+
)
|
44 |
+
parser.add_argument(
|
45 |
+
"--use_local_cache_location",
|
46 |
+
type=bool,
|
47 |
+
default=True,
|
48 |
+
help="Set True if you want to load the dataset from local cache.",
|
49 |
+
)
|
50 |
+
parser.add_argument(
|
51 |
+
"--clear_dataset_cache",
|
52 |
+
type=bool,
|
53 |
+
default=False,
|
54 |
+
help="Set True if you want to delete the dataset files from the cache after inference.",
|
55 |
+
)
|
56 |
+
parser.add_argument(
|
57 |
+
"--release_memory",
|
58 |
+
type=bool,
|
59 |
+
default=True,
|
60 |
+
help="Set True if you want to release the memory of used variables.",
|
61 |
+
)
|
62 |
+
|
63 |
+
args = parser.parse_args()
|
64 |
+
return args
|
65 |
+
|
66 |
+
|
67 |
+
def chunks(l, n):
|
68 |
+
for i in range(0, len(l), n):
|
69 |
+
yield l[i : i + n]
|
70 |
+
|
71 |
+
|
72 |
+
def batch_tokenize(data, batch_size):
|
73 |
+
batches = list(chunks(data, batch_size))
|
74 |
+
tokenized_batches = []
|
75 |
+
for batch in batches:
|
76 |
+
# max_length will automatically be set to the max length of the model (512 for deberta)
|
77 |
+
tensor = tokenizer(
|
78 |
+
batch,
|
79 |
+
return_tensors="pt",
|
80 |
+
padding="max_length",
|
81 |
+
truncation=True,
|
82 |
+
max_length=512,
|
83 |
+
)
|
84 |
+
tokenized_batches.append(tensor)
|
85 |
+
return tokenized_batches, batches
|
86 |
+
|
87 |
+
|
88 |
+
def batch_inference(data, batch_size=32):
|
89 |
+
preds = []
|
90 |
+
tokenized_batches, batches = batch_tokenize(data, batch_size)
|
91 |
+
for i in tqdm(range(len(batches))):
|
92 |
+
with torch.no_grad():
|
93 |
+
logits = model(**tokenized_batches[i].to(device)).logits.cpu()
|
94 |
+
preds.extend(logits)
|
95 |
+
return preds
|
96 |
+
|
97 |
+
|
98 |
+
if __name__ == "__main__":
|
99 |
+
args = parse_args()
|
100 |
+
|
101 |
+
tasky_commits_path = f"tasky_commits_java_{args.start}_{args.end}.jsonl"
|
102 |
+
if os.path.exists(f"java_add/{tasky_commits_path}"):
|
103 |
+
print("Exists:", tasky_commits_path)
|
104 |
+
exit()
|
105 |
+
|
106 |
+
tokenizer = AutoTokenizer.from_pretrained(args.model_name)
|
107 |
+
model = AutoModelForSequenceClassification.from_pretrained(args.model_name)
|
108 |
+
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
109 |
+
model.to(device)
|
110 |
+
model.eval()
|
111 |
+
|
112 |
+
path = "java_add_messages.jsonl"
|
113 |
+
ds = datasets.load_dataset("json", data_files=[path], ignore_verifications=True)["train"]
|
114 |
+
ds = ds[range(args.start, min(args.end, len(ds)))]
|
115 |
+
df = pd.DataFrame(ds, index=None)
|
116 |
+
#tasky_commits_path = f"tasky_commits_javascript_{args.start}_{args.end}.jsonl"
|
117 |
+
#if os.path.exists(f"javascript/{tasky_commits_path}"):
|
118 |
+
# print("Exists:", tasky_commits_path)
|
119 |
+
# exit()
|
120 |
+
|
121 |
+
texts = df["message"].to_list()
|
122 |
+
commits = df["commit"].to_list()
|
123 |
+
preds = batch_inference(texts, batch_size=args.batch_size)
|
124 |
+
|
125 |
+
assert len(preds) == len(texts)
|
126 |
+
|
127 |
+
# Write two jsonl files:
|
128 |
+
# 1) Probas for all of C4
|
129 |
+
# 2) Probas + texts for samples predicted as tasky
|
130 |
+
tasky_commits_path = f"tasky_commits_java_{args.start}_{args.end}.jsonl"
|
131 |
+
|
132 |
+
with open(tasky_commits_path, "w") as f:
|
133 |
+
for i in range(len(preds)):
|
134 |
+
predicted_class_id = preds[i].argmax().item()
|
135 |
+
pred = model.config.id2label[predicted_class_id]
|
136 |
+
tasky_proba = torch.softmax(preds[i], dim=-1)[-1].item()
|
137 |
+
|
138 |
+
f.write(
|
139 |
+
json.dumps(
|
140 |
+
{
|
141 |
+
"commit": commits[i],
|
142 |
+
"message": texts[i],
|
143 |
+
"proba": tasky_proba,
|
144 |
+
}
|
145 |
+
)
|
146 |
+
+ "\n"
|
147 |
+
)
|
148 |
+
|
inference.sh → inference_java.sh
RENAMED
@@ -22,4 +22,4 @@ TASK_START=$((($SLURM_ARRAY_TASK_ID) * $NUM_SAMPLES_PER_JOB))
|
|
22 |
TASK_END=$(($TASK_START + $NUM_SAMPLES_PER_JOB))
|
23 |
|
24 |
echo "Starting task $SLURM_ARRAY_TASK_ID with start $TASK_START and end $TASK_END"
|
25 |
-
python
|
|
|
22 |
TASK_END=$(($TASK_START + $NUM_SAMPLES_PER_JOB))
|
23 |
|
24 |
echo "Starting task $SLURM_ARRAY_TASK_ID with start $TASK_START and end $TASK_END"
|
25 |
+
python inference_java.py --start $TASK_START --end $TASK_END
|
inference.py → inference_javascript.py
RENAMED
@@ -99,7 +99,7 @@ if __name__ == "__main__":
|
|
99 |
args = parse_args()
|
100 |
|
101 |
tasky_commits_path = f"tasky_commits_javascript_{args.start}_{args.end}.jsonl"
|
102 |
-
if os.path.exists(f"
|
103 |
print("Exists:", tasky_commits_path)
|
104 |
exit()
|
105 |
|
@@ -109,7 +109,7 @@ if __name__ == "__main__":
|
|
109 |
model.to(device)
|
110 |
model.eval()
|
111 |
|
112 |
-
path = "
|
113 |
ds = datasets.load_dataset("json", data_files=[path], ignore_verifications=True)["train"]
|
114 |
ds = ds[range(args.start, min(args.end, len(ds)))]
|
115 |
df = pd.DataFrame(ds, index=None)
|
|
|
99 |
args = parse_args()
|
100 |
|
101 |
tasky_commits_path = f"tasky_commits_javascript_{args.start}_{args.end}.jsonl"
|
102 |
+
if os.path.exists(f"javascript_add/{tasky_commits_path}"):
|
103 |
print("Exists:", tasky_commits_path)
|
104 |
exit()
|
105 |
|
|
|
109 |
model.to(device)
|
110 |
model.eval()
|
111 |
|
112 |
+
path = "javascript_add_messages.jsonl"
|
113 |
ds = datasets.load_dataset("json", data_files=[path], ignore_verifications=True)["train"]
|
114 |
ds = ds[range(args.start, min(args.end, len(ds)))]
|
115 |
df = pd.DataFrame(ds, index=None)
|
inference_javascript.sh
CHANGED
@@ -14,7 +14,7 @@ set -x -e
|
|
14 |
source $six_ALL_CCFRWORK/start-tr13f-6B3-ml-t0
|
15 |
echo "START TIME: $(date)"
|
16 |
|
17 |
-
NUM_SAMPLES=
|
18 |
NUM_SAMPLES_PER_JOB=32909
|
19 |
#NUM_SAMPLES_PER_JOB=128
|
20 |
|
@@ -22,4 +22,4 @@ TASK_START=$((($SLURM_ARRAY_TASK_ID) * $NUM_SAMPLES_PER_JOB))
|
|
22 |
TASK_END=$(($TASK_START + $NUM_SAMPLES_PER_JOB))
|
23 |
|
24 |
echo "Starting task $SLURM_ARRAY_TASK_ID with start $TASK_START and end $TASK_END"
|
25 |
-
python
|
|
|
14 |
source $six_ALL_CCFRWORK/start-tr13f-6B3-ml-t0
|
15 |
echo "START TIME: $(date)"
|
16 |
|
17 |
+
NUM_SAMPLES=3290900
|
18 |
NUM_SAMPLES_PER_JOB=32909
|
19 |
#NUM_SAMPLES_PER_JOB=128
|
20 |
|
|
|
22 |
TASK_END=$(($TASK_START + $NUM_SAMPLES_PER_JOB))
|
23 |
|
24 |
echo "Starting task $SLURM_ARRAY_TASK_ID with start $TASK_START and end $TASK_END"
|
25 |
+
python inference_javascript.py --start $TASK_START --end $TASK_END
|
inference_python.py
CHANGED
@@ -99,7 +99,7 @@ if __name__ == "__main__":
|
|
99 |
args = parse_args()
|
100 |
|
101 |
tasky_commits_path = f"tasky_commits_python_{args.start}_{args.end}.jsonl"
|
102 |
-
if os.path.exists(f"
|
103 |
print("Exists:", tasky_commits_path)
|
104 |
exit()
|
105 |
|
@@ -109,7 +109,7 @@ if __name__ == "__main__":
|
|
109 |
model.to(device)
|
110 |
model.eval()
|
111 |
|
112 |
-
path = "
|
113 |
ds = datasets.load_dataset("json", data_files=[path], ignore_verifications=True)["train"]
|
114 |
ds = ds[range(args.start, min(args.end, len(ds)))]
|
115 |
df = pd.DataFrame(ds, index=None)
|
|
|
99 |
args = parse_args()
|
100 |
|
101 |
tasky_commits_path = f"tasky_commits_python_{args.start}_{args.end}.jsonl"
|
102 |
+
if os.path.exists(f"python_add/{tasky_commits_path}"):
|
103 |
print("Exists:", tasky_commits_path)
|
104 |
exit()
|
105 |
|
|
|
109 |
model.to(device)
|
110 |
model.eval()
|
111 |
|
112 |
+
path = "python_add_messages.jsonl"
|
113 |
ds = datasets.load_dataset("json", data_files=[path], ignore_verifications=True)["train"]
|
114 |
ds = ds[range(args.start, min(args.end, len(ds)))]
|
115 |
df = pd.DataFrame(ds, index=None)
|
java_add/tasky_commits_java_0_32909.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8abbe89263a7b460a82e70acc9be2c36181eeb4b209637f69f4b716b7db915fb
|
3 |
+
size 6172691
|
java_add/tasky_commits_java_131636_164545.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b042c07d0707fa3f3509a9dc03e81b7d5a1c34518d5b17026f4f5a00d90ce5f0
|
3 |
+
size 6208658
|
java_add/tasky_commits_java_164545_197454.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d43dd366f76c0c856e532dbd38428cb87dff364a33e37ea999a7aded5135382
|
3 |
+
size 6184881
|
java_add/tasky_commits_java_197454_230363.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d6762759fd046f34b89087748025271dcd7913d190755992b81c2914a015812
|
3 |
+
size 6114571
|
java_add/tasky_commits_java_230363_263272.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:436fe13c365c8682d0adde45ee6d1a7c01424049e599244ab7cc578809ce040f
|
3 |
+
size 6093075
|
java_add/tasky_commits_java_263272_296181.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebcca770155994fc16268ca24f956e4dc66e05ee9b9bfcd3dc74500f258c9f4e
|
3 |
+
size 6186736
|
java_add/tasky_commits_java_296181_329090.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f80541a91138f702d3daf1b115a66d9f9f39308671dfbc48cb5011fa0f27c779
|
3 |
+
size 6134757
|
java_add/tasky_commits_java_329090_361999.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba7d297ee3e7a186dc68a93bee481f343274812dd915d6eec8f5d14a9e91e3ec
|
3 |
+
size 6129030
|
java_add/tasky_commits_java_32909_65818.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94e495dbeb2839a79056009f58cbb12312c8d22aedb9500e4b89fafb2267401e
|
3 |
+
size 6148934
|
java_add/tasky_commits_java_361999_394908.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44b221af4fd5f5cbd98babecfd3e779fb0a4c38b8e076616b22460ef2da880ec
|
3 |
+
size 6136352
|
java_add/tasky_commits_java_394908_427817.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75885fc3e85d9c8ad457636b0887c15177b85139c442aee7337e3a45fc9a74b7
|
3 |
+
size 6159824
|
java_add/tasky_commits_java_427817_460726.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:918d28c8ea4cc93e7ad4c74b51b3957f10763eaf2a70602299205c125426dba8
|
3 |
+
size 4805399
|
java_add/tasky_commits_java_460726_493635.jsonl
ADDED
File without changes
|
java_add/tasky_commits_java_65818_98727.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30b50ce53d5959015cc56e42a9709586cd1908b50faa4eb9041cecc1411a2286
|
3 |
+
size 6166675
|
java_add/tasky_commits_java_98727_131636.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26881f45ef67696fa6cec750cadb7b1ca9cc02e37a72d7a15ad354c740479067
|
3 |
+
size 6119952
|
javascript/tasky_commits_javascript_0_32909.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1053088_1085997.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1118906_1151815.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1184724_1217633.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1283451_1316360.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1316360_1349269.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_131636_164545.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1415087_1447996.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1447996_1480905.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1513814_1546723.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1579632_1612541.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_164545_197454.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1678359_1711268.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1711268_1744177.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1809995_1842904.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1842904_1875813.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1875813_1908722.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1941631_1974540.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_1974540_2007449.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_2040358_2073267.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_2073267_2106176.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_2106176_2139085.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_2171994_2204903.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_2237812_2270721.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_2270721_2303630.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_230363_263272.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_2402357_2435266.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_2501084_2533993.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
javascript/tasky_commits_javascript_2599811_2632720.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|