{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "eba2ee81", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "No config specified, defaulting to: taln_archives/raw\n", "Reusing dataset taln_archives (/Users/boudin-f/.cache/huggingface/datasets/taln-ls2n___taln_archives/raw/1.0.0/edf5310cc76b9c9758d5785dec61311aadfc728038d62dcb784086552dce4173)\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "79acb44f1fca4c428c183d6762f7bb94", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/1 [00:00=/](?=[{a}])\".format(a=ALPHA),\n", " ]\n", ")\n", "\n", "infix_re = compile_infix_regex(infixes)\n", "nlp.tokenizer.infix_finditer = infix_re.finditer" ] }, { "cell_type": "code", "execution_count": 4, "id": "047ab1cc", "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "806cc5748b4a40b490a138d38a3590fb", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/1207 [00:00