{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "eba2ee81", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "No config specified, defaulting to: inspec/raw\n", "Reusing dataset inspec (/Users/boudin-f/.cache/huggingface/datasets/taln-ls2n___inspec/raw/1.1.0/156f7172f117a205a845b4378fa15df490952487673e2d2fff33b39c1173b661)\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "6b71557b1f2b4fb48282f7d5d4a4fe37", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/3 [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": null, "id": "6f219825", "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "cecaef36d18c43caa6c8386cb67cdd96", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/1000 [00:00