|
67 | 67 | "name": "stdout",
|
68 | 68 | "output_type": "stream",
|
69 | 69 | "text": [
|
70 |
| - "tiktoken version: 0.7.0\n" |
| 70 | + "tiktoken version: 0.9.0\n" |
71 | 71 | ]
|
72 | 72 | }
|
73 | 73 | ],
|
|
180 | 180 | "name": "stderr",
|
181 | 181 | "output_type": "stream",
|
182 | 182 | "text": [
|
183 |
| - "Fetching encoder.json: 1.04Mit [00:00, 4.13Mit/s] \n", |
184 |
| - "Fetching vocab.bpe: 457kit [00:00, 2.56Mit/s] \n" |
| 183 | + "Fetching encoder.json: 1.04Mit [00:00, 3.69Mit/s] \n", |
| 184 | + "Fetching vocab.bpe: 457kit [00:00, 2.53Mit/s] \n" |
185 | 185 | ]
|
186 | 186 | }
|
187 | 187 | ],
|
|
256 | 256 | "id": "e9077bf4-f91f-42ad-ab76-f3d89128510e",
|
257 | 257 | "metadata": {},
|
258 | 258 | "outputs": [
|
| 259 | + { |
| 260 | + "name": "stderr", |
| 261 | + "output_type": "stream", |
| 262 | + "text": [ |
| 263 | + "/Users/sebastian/Developer/LLMs-from-scratch/.venv/lib/python3.10/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", |
| 264 | + " from .autonotebook import tqdm as notebook_tqdm\n" |
| 265 | + ] |
| 266 | + }, |
259 | 267 | {
|
260 | 268 | "data": {
|
261 | 269 | "text/plain": [
|
262 |
| - "'4.48.0'" |
| 270 | + "'4.49.0'" |
263 | 271 | ]
|
264 | 272 | },
|
265 | 273 | "execution_count": 12,
|
|
423 | 431 | "name": "stdout",
|
424 | 432 | "output_type": "stream",
|
425 | 433 | "text": [
|
426 |
| - "[1544, 18798, 11, 995, 13, 1148, 256, 5303, 82, 438, 257, 1332, 30]\n" |
| 434 | + "[15496, 11, 995, 13, 1148, 428, 438, 257, 1332, 30]\n" |
427 | 435 | ]
|
428 | 436 | }
|
429 | 437 | ],
|
|
451 | 459 | "metadata": {},
|
452 | 460 | "outputs": [],
|
453 | 461 | "source": [
|
454 |
| - "with open('../01_main-chapter-code/the-verdict.txt', 'r', encoding='utf-8') as f:\n", |
| 462 | + "with open(\"../01_main-chapter-code/the-verdict.txt\", \"r\", encoding=\"utf-8\") as f:\n", |
455 | 463 | " raw_text = f.read()"
|
456 | 464 | ]
|
457 | 465 | },
|
|
473 | 481 | "name": "stdout",
|
474 | 482 | "output_type": "stream",
|
475 | 483 | "text": [
|
476 |
| - "3.39 ms ± 21.9 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
| 484 | + "3.84 ms ± 9.83 μs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
477 | 485 | ]
|
478 | 486 | }
|
479 | 487 | ],
|
|
499 | 507 | "name": "stdout",
|
500 | 508 | "output_type": "stream",
|
501 | 509 | "text": [
|
502 |
| - "1.08 ms ± 5.99 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)\n" |
| 510 | + "901 μs ± 6.27 μs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)\n" |
503 | 511 | ]
|
504 | 512 | }
|
505 | 513 | ],
|
|
532 | 540 | "name": "stdout",
|
533 | 541 | "output_type": "stream",
|
534 | 542 | "text": [
|
535 |
| - "10.2 ms ± 115 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
| 543 | + "11 ms ± 94.4 μs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
536 | 544 | ]
|
537 | 545 | }
|
538 | 546 | ],
|
|
550 | 558 | "name": "stdout",
|
551 | 559 | "output_type": "stream",
|
552 | 560 | "text": [
|
553 |
| - "10 ms ± 36.1 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
| 561 | + "10.8 ms ± 180 μs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
554 | 562 | ]
|
555 | 563 | }
|
556 | 564 | ],
|
|
575 | 583 | "name": "stdout",
|
576 | 584 | "output_type": "stream",
|
577 | 585 | "text": [
|
578 |
| - "3.79 ms ± 48.2 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
| 586 | + "3.66 ms ± 3.67 μs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
579 | 587 | ]
|
580 | 588 | }
|
581 | 589 | ],
|
|
593 | 601 | "name": "stdout",
|
594 | 602 | "output_type": "stream",
|
595 | 603 | "text": [
|
596 |
| - "3.83 ms ± 58.8 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
| 604 | + "3.77 ms ± 49.3 μs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
597 | 605 | ]
|
598 | 606 | }
|
599 | 607 | ],
|
|
619 | 627 | "name": "stdout",
|
620 | 628 | "output_type": "stream",
|
621 | 629 | "text": [
|
622 |
| - "1.59 ms ± 11.5 µs per loop (mean ± std. dev. of 7 runs, 1,000 loops each)\n" |
| 630 | + "9.37 ms ± 50.3 μs per loop (mean ± std. dev. of 7 runs, 100 loops each)\n" |
623 | 631 | ]
|
624 | 632 | }
|
625 | 633 | ],
|
|
644 | 652 | "name": "python",
|
645 | 653 | "nbconvert_exporter": "python",
|
646 | 654 | "pygments_lexer": "ipython3",
|
647 |
| - "version": "3.11.4" |
| 655 | + "version": "3.10.16" |
648 | 656 | }
|
649 | 657 | },
|
650 | 658 | "nbformat": 4,
|
|
0 commit comments