{ "cells": [ { "cell_type": "markdown", "id": "c024bfa4-1a7a-4751-b5a1-827225a3478b", "metadata": { "id": "c024bfa4-1a7a-4751-b5a1-827225a3478b" }, "source": [ "
\n",
"\n",
"Supplementary code for the Build a Large Language Model From Scratch book by Sebastian Raschka \n", " Code repository: https://github.com/rasbt/LLMs-from-scratch\n", "\n", " | \n",
"\n",
"![]() | \n",
"
\n", " | Label | \n", "Text | \n", "
---|---|---|
0 | \n", "ham | \n", "Go until jurong point, crazy.. Available only ... | \n", "
1 | \n", "ham | \n", "Ok lar... Joking wif u oni... | \n", "
2 | \n", "spam | \n", "Free entry in 2 a wkly comp to win FA Cup fina... | \n", "
3 | \n", "ham | \n", "U dun say so early hor... U c already then say... | \n", "
4 | \n", "ham | \n", "Nah I don't think he goes to usf, he lives aro... | \n", "
... | \n", "... | \n", "... | \n", "
5567 | \n", "spam | \n", "This is the 2nd time we have tried 2 contact u... | \n", "
5568 | \n", "ham | \n", "Will ü b going to esplanade fr home? | \n", "
5569 | \n", "ham | \n", "Pity, * was in mood for that. So...any other s... | \n", "
5570 | \n", "ham | \n", "The guy did some bitching but I acted like i'd... | \n", "
5571 | \n", "ham | \n", "Rofl. Its true to its name | \n", "
5572 rows × 2 columns
\n", "