(x)
| 58 | range(int(len(dataset) * 0.01), len(dataset))) |
| 59 | |
| 60 | def strip_html(x): |
| 61 | x['question'] = strip_html_tags(x['question']) |
| 62 | for a in x['answers']: |
| 63 | a['text'] = strip_html_tags(a['text']) |
| 64 | return x |
| 65 | |
| 66 | dataset = dataset.map(strip_html, num_proc=64) |
| 67 |
nothing calls this directly
no test coverage detected