Finetune a GPT Model for Spam Detection on Your Laptop in Just 5 Minutes

https://github.com/rasbt/LLMs-from-scratch/blob/main/ch06/01_main-chapter-code/ch06.ipynb
{
"by": "rasbt",
"descendants": 0,
"id": 40248475,
"score": 3,
"time": 1714748577,
"title": "Finetune a GPT Model for Spam Detection on Your Laptop in Just 5 Minutes",
"type": "story",
"url": "https://github.com/rasbt/LLMs-from-scratch/blob/main/ch06/01_main-chapter-code/ch06.ipynb"
}
{
"author": "rasbt",
"date": null,
"description": "Implementing a ChatGPT-like LLM in PyTorch from scratch, step by step - rasbt/LLMs-from-scratch",
"image": "https://repository-images.githubusercontent.com/669879380/79da1d51-4ef9-4733-a61c-1d7851020d9a",
"logo": "https://logo.clearbit.com/github.com",
"publisher": "GitHub",
"title": "LLMs-from-scratch/ch06/01_main-chapter-code/ch06.ipynb at main · rasbt/LLMs-from-scratch",
"url": "https://github.com/rasbt/LLMs-from-scratch/blob/main/ch06/01_main-chapter-code/ch06.ipynb"
}
{
"url": "https://github.com/rasbt/LLMs-from-scratch/blob/main/ch06/01_main-chapter-code/ch06.ipynb",
"title": "LLMs-from-scratch/ch06/01_main-chapter-code/ch06.ipynb at main · rasbt/LLMs-from-scratch",
"description": "Actions Automate any workflow Packages Host and manage packages Security Find and fix...",
"links": [
"https://github.com/rasbt/LLMs-from-scratch/blob/main/ch06/01_main-chapter-code/ch06.ipynb"
],
"image": "https://repository-images.githubusercontent.com/669879380/79da1d51-4ef9-4733-a61c-1d7851020d9a",
"content": "<div>\n <ul>\n <li>\n <div>\n <ul>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/actions\">\n <div>\n <p>Actions</p><p>\n Automate any workflow\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/packages\">\n <div>\n <p>Packages</p><p>\n Host and manage packages\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/security\">\n <div>\n <p>Security</p><p>\n Find and fix vulnerabilities\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/codespaces\">\n <div>\n <p>Codespaces</p><p>\n Instant dev environments\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/copilot\">\n <div>\n <p>GitHub Copilot</p><p>\n Write better code with AI\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/code-review\">\n <div>\n <p>Code review</p><p>\n Manage code changes\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/issues\">\n <div>\n <p>Issues</p><p>\n Plan and track work\n </p></div>\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/features/discussions\">\n <div>\n <p>Discussions</p><p>\n Collaborate outside of code\n </p></div>\n</a></li>\n </ul>\n </div>\n</li>\n <li>\n</li>\n <li>\n <div>\n <p><span>Explore</span></p><ul>\n <li>\n <a target=\"_blank\" href=\"https://resources.github.com/learn/pathways\">\n Learning Pathways\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://resources.github.com/\">\n White papers, Ebooks, Webinars\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/customer-stories\">\n Customer Stories\n</a></li>\n <li>\n <a target=\"_blank\" href=\"https://partner.github.com/\">\n Partners\n</a></li>\n </ul>\n </div>\n</li>\n <li>\n <div>\n <div>\n <ul>\n <li>\n <a target=\"_blank\" href=\"https://github.com/sponsors\">\n <div>\n <p>GitHub Sponsors</p><p>\n Fund open source developers\n </p></div>\n</a></li>\n </ul>\n </div>\n <div>\n <ul>\n <li>\n <a target=\"_blank\" href=\"https://github.com/readme\">\n <div>\n <p>The ReadME Project</p><p>\n GitHub community articles\n </p></div>\n</a></li>\n </ul>\n </div>\n </div>\n</li>\n <li>\n <div>\n <ul>\n <li>\n <a target=\"_blank\" href=\"https://github.com/enterprise\">\n <div>\n <p>Enterprise platform</p><p>\n AI-powered developer platform\n </p></div>\n</a></li>\n </ul>\n </div>\n</li>\n <li>\n <a target=\"_blank\" href=\"https://github.com/pricing\">Pricing</a>\n</li>\n </ul>\n <div>\n <div>\n <div>\n <p>\n </p><h2 id=\"feedback-dialog-title\">\n Provide feedback\n </h2>\n <p></p>\n </div>\n <div>\n <p>\n </p><h2 id=\"custom-scopes-dialog-title\">\n Saved searches\n </h2>\n <h2 id=\"custom-scopes-dialog-description\">Use saved searches to filter your results more quickly</h2>\n <p></p>\n </div>\n </div>\n <p><a target=\"_blank\" href=\"https://github.com/signup?ref_cta=Sign+up&amp;ref_loc=header+logged+out&amp;ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&amp;source=header-repo&amp;source_repo=rasbt%2FLLMs-from-scratch\">\n Sign up\n </a>\n </p></div>\n </div>",
"author": "",
"favicon": "https://github.githubassets.com/favicons/favicon.svg",
"source": "github.com",
"published": "",
"ttr": 17,
"type": "object"
}