Muennighoff
commited on
Commit
β’
6fbb8ba
1
Parent(s):
cce6d68
Organize
Browse filesThis view is limited to 50 files because it contains too many changes. Β
See raw diff
- .gitattributes +188 -0
- inference.py +138 -0
- inference.sh +25 -0
- tasky_commits_0_32909.jsonl β java/tasky_commits_0_32909.jsonl +0 -0
- tasky_commits_1020179_1053088.jsonl β java/tasky_commits_1020179_1053088.jsonl +0 -0
- tasky_commits_1053088_1085997.jsonl β java/tasky_commits_1053088_1085997.jsonl +0 -0
- tasky_commits_1085997_1118906.jsonl β java/tasky_commits_1085997_1118906.jsonl +0 -0
- tasky_commits_1118906_1151815.jsonl β java/tasky_commits_1118906_1151815.jsonl +0 -0
- tasky_commits_1151815_1184724.jsonl β java/tasky_commits_1151815_1184724.jsonl +0 -0
- tasky_commits_1184724_1217633.jsonl β java/tasky_commits_1184724_1217633.jsonl +0 -0
- tasky_commits_1217633_1250542.jsonl β java/tasky_commits_1217633_1250542.jsonl +0 -0
- tasky_commits_1250542_1283451.jsonl β java/tasky_commits_1250542_1283451.jsonl +0 -0
- tasky_commits_1283451_1316360.jsonl β java/tasky_commits_1283451_1316360.jsonl +0 -0
- tasky_commits_1316360_1349269.jsonl β java/tasky_commits_1316360_1349269.jsonl +0 -0
- tasky_commits_131636_164545.jsonl β java/tasky_commits_131636_164545.jsonl +0 -0
- tasky_commits_1349269_1382178.jsonl β java/tasky_commits_1349269_1382178.jsonl +0 -0
- tasky_commits_1382178_1415087.jsonl β java/tasky_commits_1382178_1415087.jsonl +0 -0
- tasky_commits_1415087_1447996.jsonl β java/tasky_commits_1415087_1447996.jsonl +0 -0
- tasky_commits_1447996_1480905.jsonl β java/tasky_commits_1447996_1480905.jsonl +0 -0
- tasky_commits_1480905_1513814.jsonl β java/tasky_commits_1480905_1513814.jsonl +0 -0
- tasky_commits_1513814_1546723.jsonl β java/tasky_commits_1513814_1546723.jsonl +0 -0
- tasky_commits_1546723_1579632.jsonl β java/tasky_commits_1546723_1579632.jsonl +0 -0
- tasky_commits_1579632_1612541.jsonl β java/tasky_commits_1579632_1612541.jsonl +0 -0
- tasky_commits_1612541_1645450.jsonl β java/tasky_commits_1612541_1645450.jsonl +0 -0
- tasky_commits_1645450_1678359.jsonl β java/tasky_commits_1645450_1678359.jsonl +0 -0
- tasky_commits_164545_197454.jsonl β java/tasky_commits_164545_197454.jsonl +0 -0
- tasky_commits_1678359_1711268.jsonl β java/tasky_commits_1678359_1711268.jsonl +0 -0
- tasky_commits_1711268_1744177.jsonl β java/tasky_commits_1711268_1744177.jsonl +0 -0
- tasky_commits_1744177_1777086.jsonl β java/tasky_commits_1744177_1777086.jsonl +0 -0
- tasky_commits_1777086_1809995.jsonl β java/tasky_commits_1777086_1809995.jsonl +0 -0
- tasky_commits_1809995_1842904.jsonl β java/tasky_commits_1809995_1842904.jsonl +0 -0
- tasky_commits_1842904_1875813.jsonl β java/tasky_commits_1842904_1875813.jsonl +0 -0
- tasky_commits_1875813_1908722.jsonl β java/tasky_commits_1875813_1908722.jsonl +0 -0
- tasky_commits_1908722_1941631.jsonl β java/tasky_commits_1908722_1941631.jsonl +0 -0
- tasky_commits_1941631_1974540.jsonl β java/tasky_commits_1941631_1974540.jsonl +0 -0
- tasky_commits_1974540_2007449.jsonl β java/tasky_commits_1974540_2007449.jsonl +0 -0
- tasky_commits_197454_230363.jsonl β java/tasky_commits_197454_230363.jsonl +0 -0
- tasky_commits_2007449_2040358.jsonl β java/tasky_commits_2007449_2040358.jsonl +0 -0
- tasky_commits_2040358_2073267.jsonl β java/tasky_commits_2040358_2073267.jsonl +0 -0
- tasky_commits_2073267_2106176.jsonl β java/tasky_commits_2073267_2106176.jsonl +0 -0
- tasky_commits_2106176_2139085.jsonl β java/tasky_commits_2106176_2139085.jsonl +0 -0
- tasky_commits_2139085_2171994.jsonl β java/tasky_commits_2139085_2171994.jsonl +0 -0
- tasky_commits_2171994_2204903.jsonl β java/tasky_commits_2171994_2204903.jsonl +0 -0
- tasky_commits_2204903_2237812.jsonl β java/tasky_commits_2204903_2237812.jsonl +0 -0
- tasky_commits_2237812_2270721.jsonl β java/tasky_commits_2237812_2270721.jsonl +0 -0
- tasky_commits_2270721_2303630.jsonl β java/tasky_commits_2270721_2303630.jsonl +0 -0
- tasky_commits_2303630_2336539.jsonl β java/tasky_commits_2303630_2336539.jsonl +0 -0
- tasky_commits_230363_263272.jsonl β java/tasky_commits_230363_263272.jsonl +0 -0
- tasky_commits_2336539_2369448.jsonl β java/tasky_commits_2336539_2369448.jsonl +0 -0
- tasky_commits_2369448_2402357.jsonl β java/tasky_commits_2369448_2402357.jsonl +0 -0
.gitattributes
CHANGED
@@ -54,3 +54,191 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
54 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
55 |
java_messages.jsonl filter=lfs diff=lfs merge=lfs -text
|
56 |
python_messages.jsonl filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
55 |
java_messages.jsonl filter=lfs diff=lfs merge=lfs -text
|
56 |
python_messages.jsonl filter=lfs diff=lfs merge=lfs -text
|
57 |
+
java/tasky_commits_131636_164545.jsonl filter=lfs diff=lfs merge=lfs -text
|
58 |
+
java/tasky_commits_2501084_2533993.jsonl filter=lfs diff=lfs merge=lfs -text
|
59 |
+
java/tasky_commits_2961810_2994719.jsonl filter=lfs diff=lfs merge=lfs -text
|
60 |
+
python/tasky_commits_python_1316360_1349269.jsonl filter=lfs diff=lfs merge=lfs -text
|
61 |
+
python/tasky_commits_python_2961810_2994719.jsonl filter=lfs diff=lfs merge=lfs -text
|
62 |
+
java/tasky_commits_0_32909.jsonl filter=lfs diff=lfs merge=lfs -text
|
63 |
+
java/tasky_commits_2237812_2270721.jsonl filter=lfs diff=lfs merge=lfs -text
|
64 |
+
java/tasky_commits_2731447_2764356.jsonl filter=lfs diff=lfs merge=lfs -text
|
65 |
+
java/tasky_commits_3093446_3126355.jsonl filter=lfs diff=lfs merge=lfs -text
|
66 |
+
java/tasky_commits_888543_921452.jsonl filter=lfs diff=lfs merge=lfs -text
|
67 |
+
python/tasky_commits_python_1447996_1480905.jsonl filter=lfs diff=lfs merge=lfs -text
|
68 |
+
python/tasky_commits_python_559453_592362.jsonl filter=lfs diff=lfs merge=lfs -text
|
69 |
+
python/tasky_commits_python_691089_723998.jsonl filter=lfs diff=lfs merge=lfs -text
|
70 |
+
python/tasky_commits_python_756907_789816.jsonl filter=lfs diff=lfs merge=lfs -text
|
71 |
+
java/tasky_commits_1777086_1809995.jsonl filter=lfs diff=lfs merge=lfs -text
|
72 |
+
java/tasky_commits_2797265_2830174.jsonl filter=lfs diff=lfs merge=lfs -text
|
73 |
+
java/tasky_commits_559453_592362.jsonl filter=lfs diff=lfs merge=lfs -text
|
74 |
+
java/tasky_commits_855634_888543.jsonl filter=lfs diff=lfs merge=lfs -text
|
75 |
+
python/tasky_commits_python_1184724_1217633.jsonl filter=lfs diff=lfs merge=lfs -text
|
76 |
+
python/tasky_commits_python_2007449_2040358.jsonl filter=lfs diff=lfs merge=lfs -text
|
77 |
+
python/tasky_commits_python_2731447_2764356.jsonl filter=lfs diff=lfs merge=lfs -text
|
78 |
+
python/tasky_commits_python_2994719_3027628.jsonl filter=lfs diff=lfs merge=lfs -text
|
79 |
+
python/tasky_commits_python_3060537_3093446.jsonl filter=lfs diff=lfs merge=lfs -text
|
80 |
+
python/tasky_commits_python_2073267_2106176.jsonl filter=lfs diff=lfs merge=lfs -text
|
81 |
+
python/tasky_commits_python_2533993_2566902.jsonl filter=lfs diff=lfs merge=lfs -text
|
82 |
+
python/tasky_commits_python_2863083_2895992.jsonl filter=lfs diff=lfs merge=lfs -text
|
83 |
+
python/tasky_commits_python_3027628_3060537.jsonl filter=lfs diff=lfs merge=lfs -text
|
84 |
+
python/tasky_commits_python_3192173_3225082.jsonl filter=lfs diff=lfs merge=lfs -text
|
85 |
+
java/tasky_commits_1250542_1283451.jsonl filter=lfs diff=lfs merge=lfs -text
|
86 |
+
java/tasky_commits_2830174_2863083.jsonl filter=lfs diff=lfs merge=lfs -text
|
87 |
+
java/tasky_commits_2895992_2928901.jsonl filter=lfs diff=lfs merge=lfs -text
|
88 |
+
python/tasky_commits_python_1349269_1382178.jsonl filter=lfs diff=lfs merge=lfs -text
|
89 |
+
python/tasky_commits_python_2171994_2204903.jsonl filter=lfs diff=lfs merge=lfs -text
|
90 |
+
python/tasky_commits_python_2303630_2336539.jsonl filter=lfs diff=lfs merge=lfs -text
|
91 |
+
python/tasky_commits_python_2928901_2961810.jsonl filter=lfs diff=lfs merge=lfs -text
|
92 |
+
python/tasky_commits_python_3093446_3126355.jsonl filter=lfs diff=lfs merge=lfs -text
|
93 |
+
java/tasky_commits_2928901_2961810.jsonl filter=lfs diff=lfs merge=lfs -text
|
94 |
+
java/tasky_commits_625271_658180.jsonl filter=lfs diff=lfs merge=lfs -text
|
95 |
+
python/tasky_commits_python_1974540_2007449.jsonl filter=lfs diff=lfs merge=lfs -text
|
96 |
+
java/tasky_commits_2336539_2369448.jsonl filter=lfs diff=lfs merge=lfs -text
|
97 |
+
python/tasky_commits_python_1020179_1053088.jsonl filter=lfs diff=lfs merge=lfs -text
|
98 |
+
python/tasky_commits_python_1085997_1118906.jsonl filter=lfs diff=lfs merge=lfs -text
|
99 |
+
python/tasky_commits_python_1118906_1151815.jsonl filter=lfs diff=lfs merge=lfs -text
|
100 |
+
python/tasky_commits_python_1250542_1283451.jsonl filter=lfs diff=lfs merge=lfs -text
|
101 |
+
python/tasky_commits_python_2040358_2073267.jsonl filter=lfs diff=lfs merge=lfs -text
|
102 |
+
python/tasky_commits_python_2468175_2501084.jsonl filter=lfs diff=lfs merge=lfs -text
|
103 |
+
python/tasky_commits_python_789816_822725.jsonl filter=lfs diff=lfs merge=lfs -text
|
104 |
+
java/tasky_commits_1349269_1382178.jsonl filter=lfs diff=lfs merge=lfs -text
|
105 |
+
java/tasky_commits_2994719_3027628.jsonl filter=lfs diff=lfs merge=lfs -text
|
106 |
+
python/tasky_commits_python_1777086_1809995.jsonl filter=lfs diff=lfs merge=lfs -text
|
107 |
+
python/tasky_commits_python_2270721_2303630.jsonl filter=lfs diff=lfs merge=lfs -text
|
108 |
+
java/tasky_commits_1053088_1085997.jsonl filter=lfs diff=lfs merge=lfs -text
|
109 |
+
java/tasky_commits_1809995_1842904.jsonl filter=lfs diff=lfs merge=lfs -text
|
110 |
+
java/tasky_commits_2435266_2468175.jsonl filter=lfs diff=lfs merge=lfs -text
|
111 |
+
java/tasky_commits_2665629_2698538.jsonl filter=lfs diff=lfs merge=lfs -text
|
112 |
+
java/tasky_commits_3225082_3257991.jsonl filter=lfs diff=lfs merge=lfs -text
|
113 |
+
python/tasky_commits_python_1579632_1612541.jsonl filter=lfs diff=lfs merge=lfs -text
|
114 |
+
python/tasky_commits_python_1612541_1645450.jsonl filter=lfs diff=lfs merge=lfs -text
|
115 |
+
python/tasky_commits_python_2501084_2533993.jsonl filter=lfs diff=lfs merge=lfs -text
|
116 |
+
python/tasky_commits_python_3159264_3192173.jsonl filter=lfs diff=lfs merge=lfs -text
|
117 |
+
java/tasky_commits_1316360_1349269.jsonl filter=lfs diff=lfs merge=lfs -text
|
118 |
+
java/tasky_commits_1480905_1513814.jsonl filter=lfs diff=lfs merge=lfs -text
|
119 |
+
java/tasky_commits_2106176_2139085.jsonl filter=lfs diff=lfs merge=lfs -text
|
120 |
+
java/tasky_commits_65818_98727.jsonl filter=lfs diff=lfs merge=lfs -text
|
121 |
+
java/tasky_commits_98727_131636.jsonl filter=lfs diff=lfs merge=lfs -text
|
122 |
+
python/tasky_commits_python_1875813_1908722.jsonl filter=lfs diff=lfs merge=lfs -text
|
123 |
+
python/tasky_commits_python_822725_855634.jsonl filter=lfs diff=lfs merge=lfs -text
|
124 |
+
python/tasky_commits_python_954361_987270.jsonl filter=lfs diff=lfs merge=lfs -text
|
125 |
+
java/tasky_commits_1118906_1151815.jsonl filter=lfs diff=lfs merge=lfs -text
|
126 |
+
java/tasky_commits_2073267_2106176.jsonl filter=lfs diff=lfs merge=lfs -text
|
127 |
+
java/tasky_commits_2468175_2501084.jsonl filter=lfs diff=lfs merge=lfs -text
|
128 |
+
java/tasky_commits_2698538_2731447.jsonl filter=lfs diff=lfs merge=lfs -text
|
129 |
+
java/tasky_commits_954361_987270.jsonl filter=lfs diff=lfs merge=lfs -text
|
130 |
+
python/tasky_commits_python_1382178_1415087.jsonl filter=lfs diff=lfs merge=lfs -text
|
131 |
+
python/tasky_commits_python_1480905_1513814.jsonl filter=lfs diff=lfs merge=lfs -text
|
132 |
+
python/tasky_commits_python_2830174_2863083.jsonl filter=lfs diff=lfs merge=lfs -text
|
133 |
+
python/tasky_commits_python_658180_691089.jsonl filter=lfs diff=lfs merge=lfs -text
|
134 |
+
python/tasky_commits_python_888543_921452.jsonl filter=lfs diff=lfs merge=lfs -text
|
135 |
+
java/tasky_commits_1085997_1118906.jsonl filter=lfs diff=lfs merge=lfs -text
|
136 |
+
java/tasky_commits_1283451_1316360.jsonl filter=lfs diff=lfs merge=lfs -text
|
137 |
+
java/tasky_commits_197454_230363.jsonl filter=lfs diff=lfs merge=lfs -text
|
138 |
+
java/tasky_commits_723998_756907.jsonl filter=lfs diff=lfs merge=lfs -text
|
139 |
+
python/tasky_commits_python_2106176_2139085.jsonl filter=lfs diff=lfs merge=lfs -text
|
140 |
+
python/tasky_commits_python_921452_954361.jsonl filter=lfs diff=lfs merge=lfs -text
|
141 |
+
java/tasky_commits_1382178_1415087.jsonl filter=lfs diff=lfs merge=lfs -text
|
142 |
+
java/tasky_commits_1447996_1480905.jsonl filter=lfs diff=lfs merge=lfs -text
|
143 |
+
java/tasky_commits_3060537_3093446.jsonl filter=lfs diff=lfs merge=lfs -text
|
144 |
+
python/tasky_commits_python_1546723_1579632.jsonl filter=lfs diff=lfs merge=lfs -text
|
145 |
+
python/tasky_commits_python_2435266_2468175.jsonl filter=lfs diff=lfs merge=lfs -text
|
146 |
+
python/tasky_commits_python_3225082_3257991.jsonl filter=lfs diff=lfs merge=lfs -text
|
147 |
+
java/tasky_commits_3027628_3060537.jsonl filter=lfs diff=lfs merge=lfs -text
|
148 |
+
python/tasky_commits_python_1842904_1875813.jsonl filter=lfs diff=lfs merge=lfs -text
|
149 |
+
python/tasky_commits_python_2599811_2632720.jsonl filter=lfs diff=lfs merge=lfs -text
|
150 |
+
java/tasky_commits_1217633_1250542.jsonl filter=lfs diff=lfs merge=lfs -text
|
151 |
+
java/tasky_commits_1744177_1777086.jsonl filter=lfs diff=lfs merge=lfs -text
|
152 |
+
java/tasky_commits_1974540_2007449.jsonl filter=lfs diff=lfs merge=lfs -text
|
153 |
+
java/tasky_commits_592362_625271.jsonl filter=lfs diff=lfs merge=lfs -text
|
154 |
+
java/tasky_commits_1678359_1711268.jsonl filter=lfs diff=lfs merge=lfs -text
|
155 |
+
java/tasky_commits_2007449_2040358.jsonl filter=lfs diff=lfs merge=lfs -text
|
156 |
+
python/tasky_commits_python_1151815_1184724.jsonl filter=lfs diff=lfs merge=lfs -text
|
157 |
+
python/tasky_commits_python_1645450_1678359.jsonl filter=lfs diff=lfs merge=lfs -text
|
158 |
+
python/tasky_commits_python_3257991_3290900.jsonl filter=lfs diff=lfs merge=lfs -text
|
159 |
+
python/tasky_commits_python_592362_625271.jsonl filter=lfs diff=lfs merge=lfs -text
|
160 |
+
java/tasky_commits_1546723_1579632.jsonl filter=lfs diff=lfs merge=lfs -text
|
161 |
+
java/tasky_commits_1579632_1612541.jsonl filter=lfs diff=lfs merge=lfs -text
|
162 |
+
java/tasky_commits_1941631_1974540.jsonl filter=lfs diff=lfs merge=lfs -text
|
163 |
+
java/tasky_commits_2204903_2237812.jsonl filter=lfs diff=lfs merge=lfs -text
|
164 |
+
java/tasky_commits_230363_263272.jsonl filter=lfs diff=lfs merge=lfs -text
|
165 |
+
java/tasky_commits_394908_427817.jsonl filter=lfs diff=lfs merge=lfs -text
|
166 |
+
python/tasky_commits_python_1217633_1250542.jsonl filter=lfs diff=lfs merge=lfs -text
|
167 |
+
python/tasky_commits_python_1809995_1842904.jsonl filter=lfs diff=lfs merge=lfs -text
|
168 |
+
python/tasky_commits_python_2797265_2830174.jsonl filter=lfs diff=lfs merge=lfs -text
|
169 |
+
python/tasky_commits_python_625271_658180.jsonl filter=lfs diff=lfs merge=lfs -text
|
170 |
+
java/tasky_commits_2533993_2566902.jsonl filter=lfs diff=lfs merge=lfs -text
|
171 |
+
java/tasky_commits_2764356_2797265.jsonl filter=lfs diff=lfs merge=lfs -text
|
172 |
+
java/tasky_commits_3192173_3225082.jsonl filter=lfs diff=lfs merge=lfs -text
|
173 |
+
java/tasky_commits_756907_789816.jsonl filter=lfs diff=lfs merge=lfs -text
|
174 |
+
python/tasky_commits_python_1513814_1546723.jsonl filter=lfs diff=lfs merge=lfs -text
|
175 |
+
python/tasky_commits_python_1941631_1974540.jsonl filter=lfs diff=lfs merge=lfs -text
|
176 |
+
python/tasky_commits_python_2764356_2797265.jsonl filter=lfs diff=lfs merge=lfs -text
|
177 |
+
python/tasky_commits_python_2895992_2928901.jsonl filter=lfs diff=lfs merge=lfs -text
|
178 |
+
java/tasky_commits_1612541_1645450.jsonl filter=lfs diff=lfs merge=lfs -text
|
179 |
+
java/tasky_commits_1842904_1875813.jsonl filter=lfs diff=lfs merge=lfs -text
|
180 |
+
java/tasky_commits_2566902_2599811.jsonl filter=lfs diff=lfs merge=lfs -text
|
181 |
+
python/tasky_commits_python_1283451_1316360.jsonl filter=lfs diff=lfs merge=lfs -text
|
182 |
+
python/tasky_commits_python_131636_164545.jsonl filter=lfs diff=lfs merge=lfs -text
|
183 |
+
python/tasky_commits_python_2402357_2435266.jsonl filter=lfs diff=lfs merge=lfs -text
|
184 |
+
python/tasky_commits_python_2665629_2698538.jsonl filter=lfs diff=lfs merge=lfs -text
|
185 |
+
python/tasky_commits_python_3126355_3159264.jsonl filter=lfs diff=lfs merge=lfs -text
|
186 |
+
java/tasky_commits_1415087_1447996.jsonl filter=lfs diff=lfs merge=lfs -text
|
187 |
+
java/tasky_commits_2270721_2303630.jsonl filter=lfs diff=lfs merge=lfs -text
|
188 |
+
python/tasky_commits_python_1053088_1085997.jsonl filter=lfs diff=lfs merge=lfs -text
|
189 |
+
python/tasky_commits_python_2632720_2665629.jsonl filter=lfs diff=lfs merge=lfs -text
|
190 |
+
python/tasky_commits_python_723998_756907.jsonl filter=lfs diff=lfs merge=lfs -text
|
191 |
+
python/tasky_commits_python_855634_888543.jsonl filter=lfs diff=lfs merge=lfs -text
|
192 |
+
java/tasky_commits_263272_296181.jsonl filter=lfs diff=lfs merge=lfs -text
|
193 |
+
java/tasky_commits_32909_65818.jsonl filter=lfs diff=lfs merge=lfs -text
|
194 |
+
java/tasky_commits_789816_822725.jsonl filter=lfs diff=lfs merge=lfs -text
|
195 |
+
java/tasky_commits_1020179_1053088.jsonl filter=lfs diff=lfs merge=lfs -text
|
196 |
+
java/tasky_commits_1875813_1908722.jsonl filter=lfs diff=lfs merge=lfs -text
|
197 |
+
python/tasky_commits_python_2369448_2402357.jsonl filter=lfs diff=lfs merge=lfs -text
|
198 |
+
python/tasky_commits_python_2698538_2731447.jsonl filter=lfs diff=lfs merge=lfs -text
|
199 |
+
java/tasky_commits_1513814_1546723.jsonl filter=lfs diff=lfs merge=lfs -text
|
200 |
+
java/tasky_commits_1711268_1744177.jsonl filter=lfs diff=lfs merge=lfs -text
|
201 |
+
java/tasky_commits_2599811_2632720.jsonl filter=lfs diff=lfs merge=lfs -text
|
202 |
+
java/tasky_commits_2632720_2665629.jsonl filter=lfs diff=lfs merge=lfs -text
|
203 |
+
python/tasky_commits_python_2237812_2270721.jsonl filter=lfs diff=lfs merge=lfs -text
|
204 |
+
java/tasky_commits_1151815_1184724.jsonl filter=lfs diff=lfs merge=lfs -text
|
205 |
+
java/tasky_commits_2402357_2435266.jsonl filter=lfs diff=lfs merge=lfs -text
|
206 |
+
java/tasky_commits_460726_493635.jsonl filter=lfs diff=lfs merge=lfs -text
|
207 |
+
java/tasky_commits_691089_723998.jsonl filter=lfs diff=lfs merge=lfs -text
|
208 |
+
python/tasky_commits_python_1908722_1941631.jsonl filter=lfs diff=lfs merge=lfs -text
|
209 |
+
python/tasky_commits_python_460726_493635.jsonl filter=lfs diff=lfs merge=lfs -text
|
210 |
+
java/tasky_commits_1184724_1217633.jsonl filter=lfs diff=lfs merge=lfs -text
|
211 |
+
python/tasky_commits_python_987270_1020179.jsonl filter=lfs diff=lfs merge=lfs -text
|
212 |
+
java/tasky_commits_1645450_1678359.jsonl filter=lfs diff=lfs merge=lfs -text
|
213 |
+
java/tasky_commits_2171994_2204903.jsonl filter=lfs diff=lfs merge=lfs -text
|
214 |
+
java/tasky_commits_296181_329090.jsonl filter=lfs diff=lfs merge=lfs -text
|
215 |
+
java/tasky_commits_3257991_3290900.jsonl filter=lfs diff=lfs merge=lfs -text
|
216 |
+
java/tasky_commits_822725_855634.jsonl filter=lfs diff=lfs merge=lfs -text
|
217 |
+
java/tasky_commits_921452_954361.jsonl filter=lfs diff=lfs merge=lfs -text
|
218 |
+
java/tasky_commits_987270_1020179.jsonl filter=lfs diff=lfs merge=lfs -text
|
219 |
+
python/tasky_commits_python_2336539_2369448.jsonl filter=lfs diff=lfs merge=lfs -text
|
220 |
+
python/tasky_commits_python_2566902_2599811.jsonl filter=lfs diff=lfs merge=lfs -text
|
221 |
+
python/tasky_commits_python_526544_559453.jsonl filter=lfs diff=lfs merge=lfs -text
|
222 |
+
java/tasky_commits_164545_197454.jsonl filter=lfs diff=lfs merge=lfs -text
|
223 |
+
java/tasky_commits_2369448_2402357.jsonl filter=lfs diff=lfs merge=lfs -text
|
224 |
+
java/tasky_commits_329090_361999.jsonl filter=lfs diff=lfs merge=lfs -text
|
225 |
+
java/tasky_commits_427817_460726.jsonl filter=lfs diff=lfs merge=lfs -text
|
226 |
+
java/tasky_commits_526544_559453.jsonl filter=lfs diff=lfs merge=lfs -text
|
227 |
+
python/tasky_commits_python_1678359_1711268.jsonl filter=lfs diff=lfs merge=lfs -text
|
228 |
+
python/tasky_commits_python_1711268_1744177.jsonl filter=lfs diff=lfs merge=lfs -text
|
229 |
+
python/tasky_commits_python_1744177_1777086.jsonl filter=lfs diff=lfs merge=lfs -text
|
230 |
+
python/tasky_commits_python_2139085_2171994.jsonl filter=lfs diff=lfs merge=lfs -text
|
231 |
+
java/tasky_commits_2139085_2171994.jsonl filter=lfs diff=lfs merge=lfs -text
|
232 |
+
java/tasky_commits_2863083_2895992.jsonl filter=lfs diff=lfs merge=lfs -text
|
233 |
+
java/tasky_commits_658180_691089.jsonl filter=lfs diff=lfs merge=lfs -text
|
234 |
+
python/tasky_commits_python_493635_526544.jsonl filter=lfs diff=lfs merge=lfs -text
|
235 |
+
java/tasky_commits_1908722_1941631.jsonl filter=lfs diff=lfs merge=lfs -text
|
236 |
+
java/tasky_commits_2040358_2073267.jsonl filter=lfs diff=lfs merge=lfs -text
|
237 |
+
java/tasky_commits_2303630_2336539.jsonl filter=lfs diff=lfs merge=lfs -text
|
238 |
+
java/tasky_commits_3126355_3159264.jsonl filter=lfs diff=lfs merge=lfs -text
|
239 |
+
java/tasky_commits_3159264_3192173.jsonl filter=lfs diff=lfs merge=lfs -text
|
240 |
+
java/tasky_commits_361999_394908.jsonl filter=lfs diff=lfs merge=lfs -text
|
241 |
+
java/tasky_commits_493635_526544.jsonl filter=lfs diff=lfs merge=lfs -text
|
242 |
+
python/tasky_commits_python_1415087_1447996.jsonl filter=lfs diff=lfs merge=lfs -text
|
243 |
+
python/tasky_commits_python_2204903_2237812.jsonl filter=lfs diff=lfs merge=lfs -text
|
244 |
+
python/tasky_commits_python_32909_65818.jsonl filter=lfs diff=lfs merge=lfs -text
|
inference.py
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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=64, 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 |
+
tokenizer = AutoTokenizer.from_pretrained(args.model_name)
|
102 |
+
model = AutoModelForSequenceClassification.from_pretrained(args.model_name)
|
103 |
+
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
|
104 |
+
model.to(device)
|
105 |
+
model.eval()
|
106 |
+
|
107 |
+
path = "python_messages.jsonl"
|
108 |
+
ds = datasets.load_dataset("json", data_files=[path], ignore_verifications=True)["train"]
|
109 |
+
ds = ds[range(args.start, args.end)]
|
110 |
+
df = pd.DataFrame(ds, index=None)
|
111 |
+
texts = df["message"].to_list()
|
112 |
+
commits = df["commit"].to_list()
|
113 |
+
preds = batch_inference(texts, batch_size=args.batch_size)
|
114 |
+
|
115 |
+
assert len(preds) == len(texts)
|
116 |
+
|
117 |
+
# Write two jsonl files:
|
118 |
+
# 1) Probas for all of C4
|
119 |
+
# 2) Probas + texts for samples predicted as tasky
|
120 |
+
tasky_commits_path = f"tasky_commits_python_{args.start}_{args.end}.jsonl"
|
121 |
+
|
122 |
+
with open(tasky_commits_path, "w") as f:
|
123 |
+
for i in range(len(preds)):
|
124 |
+
predicted_class_id = preds[i].argmax().item()
|
125 |
+
pred = model.config.id2label[predicted_class_id]
|
126 |
+
tasky_proba = torch.softmax(preds[i], dim=-1)[-1].item()
|
127 |
+
|
128 |
+
f.write(
|
129 |
+
json.dumps(
|
130 |
+
{
|
131 |
+
"commit": commits[i],
|
132 |
+
"message": texts[i],
|
133 |
+
"proba": tasky_proba,
|
134 |
+
}
|
135 |
+
)
|
136 |
+
+ "\n"
|
137 |
+
)
|
138 |
+
|
inference.sh
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
#SBATCH --job-name=inference
|
3 |
+
#SBATCH --nodes=1
|
4 |
+
#SBATCH --ntasks-per-node=1 # crucial - only 1 task per dist per node!
|
5 |
+
#SBATCH --cpus-per-task=8 # number of cores per tasks
|
6 |
+
#SBATCH --hint=nomultithread # we get physical cores not logical
|
7 |
+
#SBATCH --gres=gpu:1 # number of gpus
|
8 |
+
#SBATCH --time 12:00:00 # maximum execution time (HH:MM:SS)
|
9 |
+
#SBATCH --output=%x-%j.out # output file name
|
10 |
+
#SBATCH --account=ajs@v100
|
11 |
+
|
12 |
+
set -x -e
|
13 |
+
|
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 |
+
|
21 |
+
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 inference.py --start $TASK_START --end $TASK_END
|
tasky_commits_0_32909.jsonl β java/tasky_commits_0_32909.jsonl
RENAMED
File without changes
|
tasky_commits_1020179_1053088.jsonl β java/tasky_commits_1020179_1053088.jsonl
RENAMED
File without changes
|
tasky_commits_1053088_1085997.jsonl β java/tasky_commits_1053088_1085997.jsonl
RENAMED
File without changes
|
tasky_commits_1085997_1118906.jsonl β java/tasky_commits_1085997_1118906.jsonl
RENAMED
File without changes
|
tasky_commits_1118906_1151815.jsonl β java/tasky_commits_1118906_1151815.jsonl
RENAMED
File without changes
|
tasky_commits_1151815_1184724.jsonl β java/tasky_commits_1151815_1184724.jsonl
RENAMED
File without changes
|
tasky_commits_1184724_1217633.jsonl β java/tasky_commits_1184724_1217633.jsonl
RENAMED
File without changes
|
tasky_commits_1217633_1250542.jsonl β java/tasky_commits_1217633_1250542.jsonl
RENAMED
File without changes
|
tasky_commits_1250542_1283451.jsonl β java/tasky_commits_1250542_1283451.jsonl
RENAMED
File without changes
|
tasky_commits_1283451_1316360.jsonl β java/tasky_commits_1283451_1316360.jsonl
RENAMED
File without changes
|
tasky_commits_1316360_1349269.jsonl β java/tasky_commits_1316360_1349269.jsonl
RENAMED
File without changes
|
tasky_commits_131636_164545.jsonl β java/tasky_commits_131636_164545.jsonl
RENAMED
File without changes
|
tasky_commits_1349269_1382178.jsonl β java/tasky_commits_1349269_1382178.jsonl
RENAMED
File without changes
|
tasky_commits_1382178_1415087.jsonl β java/tasky_commits_1382178_1415087.jsonl
RENAMED
File without changes
|
tasky_commits_1415087_1447996.jsonl β java/tasky_commits_1415087_1447996.jsonl
RENAMED
File without changes
|
tasky_commits_1447996_1480905.jsonl β java/tasky_commits_1447996_1480905.jsonl
RENAMED
File without changes
|
tasky_commits_1480905_1513814.jsonl β java/tasky_commits_1480905_1513814.jsonl
RENAMED
File without changes
|
tasky_commits_1513814_1546723.jsonl β java/tasky_commits_1513814_1546723.jsonl
RENAMED
File without changes
|
tasky_commits_1546723_1579632.jsonl β java/tasky_commits_1546723_1579632.jsonl
RENAMED
File without changes
|
tasky_commits_1579632_1612541.jsonl β java/tasky_commits_1579632_1612541.jsonl
RENAMED
File without changes
|
tasky_commits_1612541_1645450.jsonl β java/tasky_commits_1612541_1645450.jsonl
RENAMED
File without changes
|
tasky_commits_1645450_1678359.jsonl β java/tasky_commits_1645450_1678359.jsonl
RENAMED
File without changes
|
tasky_commits_164545_197454.jsonl β java/tasky_commits_164545_197454.jsonl
RENAMED
File without changes
|
tasky_commits_1678359_1711268.jsonl β java/tasky_commits_1678359_1711268.jsonl
RENAMED
File without changes
|
tasky_commits_1711268_1744177.jsonl β java/tasky_commits_1711268_1744177.jsonl
RENAMED
File without changes
|
tasky_commits_1744177_1777086.jsonl β java/tasky_commits_1744177_1777086.jsonl
RENAMED
File without changes
|
tasky_commits_1777086_1809995.jsonl β java/tasky_commits_1777086_1809995.jsonl
RENAMED
File without changes
|
tasky_commits_1809995_1842904.jsonl β java/tasky_commits_1809995_1842904.jsonl
RENAMED
File without changes
|
tasky_commits_1842904_1875813.jsonl β java/tasky_commits_1842904_1875813.jsonl
RENAMED
File without changes
|
tasky_commits_1875813_1908722.jsonl β java/tasky_commits_1875813_1908722.jsonl
RENAMED
File without changes
|
tasky_commits_1908722_1941631.jsonl β java/tasky_commits_1908722_1941631.jsonl
RENAMED
File without changes
|
tasky_commits_1941631_1974540.jsonl β java/tasky_commits_1941631_1974540.jsonl
RENAMED
File without changes
|
tasky_commits_1974540_2007449.jsonl β java/tasky_commits_1974540_2007449.jsonl
RENAMED
File without changes
|
tasky_commits_197454_230363.jsonl β java/tasky_commits_197454_230363.jsonl
RENAMED
File without changes
|
tasky_commits_2007449_2040358.jsonl β java/tasky_commits_2007449_2040358.jsonl
RENAMED
File without changes
|
tasky_commits_2040358_2073267.jsonl β java/tasky_commits_2040358_2073267.jsonl
RENAMED
File without changes
|
tasky_commits_2073267_2106176.jsonl β java/tasky_commits_2073267_2106176.jsonl
RENAMED
File without changes
|
tasky_commits_2106176_2139085.jsonl β java/tasky_commits_2106176_2139085.jsonl
RENAMED
File without changes
|
tasky_commits_2139085_2171994.jsonl β java/tasky_commits_2139085_2171994.jsonl
RENAMED
File without changes
|
tasky_commits_2171994_2204903.jsonl β java/tasky_commits_2171994_2204903.jsonl
RENAMED
File without changes
|
tasky_commits_2204903_2237812.jsonl β java/tasky_commits_2204903_2237812.jsonl
RENAMED
File without changes
|
tasky_commits_2237812_2270721.jsonl β java/tasky_commits_2237812_2270721.jsonl
RENAMED
File without changes
|
tasky_commits_2270721_2303630.jsonl β java/tasky_commits_2270721_2303630.jsonl
RENAMED
File without changes
|
tasky_commits_2303630_2336539.jsonl β java/tasky_commits_2303630_2336539.jsonl
RENAMED
File without changes
|
tasky_commits_230363_263272.jsonl β java/tasky_commits_230363_263272.jsonl
RENAMED
File without changes
|
tasky_commits_2336539_2369448.jsonl β java/tasky_commits_2336539_2369448.jsonl
RENAMED
File without changes
|
tasky_commits_2369448_2402357.jsonl β java/tasky_commits_2369448_2402357.jsonl
RENAMED
File without changes
|