Commit a590896
Apply cleaning: remove deduplicated exact lines (#408)
* update `pseudo_crawl_seed_to_lm_dset`
* temporary hack to launch
* slurm script
* modify yacine script
* update slurm script
* duplicate script
* update new script
* Nit
* Count lines across documents instead of within
* Minimum of characters per line
* Export skipped lines in another file
* Update slurm script
* Remove none text
* Woops
* Fit Thomas setup
* Woops
* Woops
* Woops
* Woops
* Woops
* Have a save batch size
* Deactivate old code
* Woops added more cores
* Woops added more cores
* Debug why np.choice fails
* I'm stupid
* I'm stupid
* I'm stupid
* I'm stupid
* Remove columns as the dataset changes size
* Woops
* Lower memory footprint
* Got OOM
* Add simple log
* Change strategy to move folders after
* Woops
* Fix caching
* Try lowering memory footprint by 20
* Remove columns before map to reduce memory footprint
* Reduce the number of processes
* Ask for maximum time
* Use list comprehention to make it faster
* Revert "Use list comprehention to make it faster"
This reverts commit 5ccc341.
* Hopefully this helps
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: thomasw21 <24695242+thomasw21@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent b4be13f commit a590896
4 files changed
Lines changed: 482 additions & 25 deletions
File tree
- cc_pseudo_crawl
- python_scripts
- seeds_batch_1_2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
Lines changed: 57 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
| |||
123 | 130 | | |
124 | 131 | | |
125 | 132 | | |
126 | | - | |
127 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
128 | 147 | | |
129 | 148 | | |
130 | 149 | | |
| |||
137 | 156 | | |
138 | 157 | | |
139 | 158 | | |
140 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
141 | 162 | | |
142 | 163 | | |
143 | 164 | | |
| |||
160 | 181 | | |
161 | 182 | | |
162 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
163 | 198 | | |
164 | 199 | | |
165 | 200 | | |
166 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
167 | 207 | | |
168 | 208 | | |
169 | 209 | | |
170 | | - | |
| 210 | + | |
171 | 211 | | |
172 | 212 | | |
173 | 213 | | |
174 | 214 | | |
175 | 215 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
180 | 219 | | |
181 | 220 | | |
182 | 221 | | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
| 222 | + | |
188 | 223 | | |
189 | 224 | | |
190 | 225 | | |
| |||
196 | 231 | | |
197 | 232 | | |
198 | 233 | | |
199 | | - | |
| 234 | + | |
200 | 235 | | |
201 | 236 | | |
202 | 237 | | |
| |||
223 | 258 | | |
224 | 259 | | |
225 | 260 | | |
226 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
227 | 265 | | |
228 | 266 | | |
229 | 267 | | |
230 | 268 | | |
231 | | - | |
232 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
233 | 272 | | |
234 | 273 | | |
235 | 274 | | |
| 275 | + | |
236 | 276 | | |
237 | 277 | | |
238 | 278 | | |
| |||
0 commit comments