{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "eba2ee81", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "No config specified, defaulting to: sem_eval/raw\n", "Reusing dataset sem_eval (/Users/boudin-f/.cache/huggingface/datasets/taln-ls2n___sem_eval/raw/1.0.0/b40e008b5c96137733e24d9d244d70aa1fe6353ee65e180d8f6948af4027fbe4)\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "9379b6f5f5d1483ab184db7486ac67b5", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/2 [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": "209e7faf7c454aeabc936c07919ac1fe", "version_major": 2, "version_minor": 0 }, "text/plain": [ " 0%| | 0/100 [00:00