Skip to content

randykerber/quick-start-guide-to-llms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start Guide to Large Language Models

Get your copy today!

Quick Start Guide to Large Language Models

Welcome to the GitHub repository for the "Quick Start Guide to Large Language Models" book. This repository contains the code snippets and notebooks used in the book, demonstrating various applications of Transformer models.

Repository Structure

Directories

  • notebooks: This directory contains Jupyter notebooks for each chapter in the book.
  • data: Contains the datasets used in the notebooks.
  • images: Contains images and graphs used in the notebooks.

Notebooks

Here are some of the notebooks included in the notebooks directory:

Part I - Introduction to Large Language Models

Part II - Getting the Most Out of LLMs

  • 4_fine_tuned_classification.ipynb: Learn how to perform text classification through fine-tuning OpenAI models
  • Check out UPDATED 4_fine_tuned_classification_sentiment.ipynb for the updated version of the previous notebook because OpenAI made a new Fine-tuning API and Amazon revoked access to the dataset I used (always keeping me on my toes, thanks everyone)
  • 5_adv_prompt_engineering.ipynb: Advanced techniques for prompt engineering including k-shot, semantic k-shot, chain of thought prompting, chaining, and building a retrieval augmented generating (RAG) enabled chatbot with GPT-4.
  • 5_VQA.ipynb: Introduction to prompt chaining and Visual Question Answering (VQA) with open source LLMs
  • 6_recommendation_engine.ipynb: Building a recommendation engine using custom fine-tuned LLMs

Part III - Advanced LLM Usage

We will continue to add more notebooks exploring topics like fine-tuning, advanced prompt engineering, combining transformers, and various use-cases. Stay tuned!

How to Use

To use this repository, clone it to your local machine, navigate to the notebooks directory, and open the Jupyter notebook of your choice. Note that some notebooks may require specific datasets, which can be found in the data directory.

Please ensure that you have the necessary libraries installed and that they are up to date. This can usually be done by running pip install -r requirements.txt in the terminal.

Contributing

Contributions are welcome! Feel free to submit a pull request if you have any additions, corrections, or enhancements to submit.

Disclaimer

This repository is for educational purposes and is meant to accompany the "Quick Start Guide to Large Language Models" book. Please refer to the book for in-depth explanations and discussions of the topics covered in the notebooks.

About

Repo to go with LLMs book

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.9%
  • Other 0.1%