Coder Social home page Coder Social logo

llm-workshop's Introduction

Large Language Models (LLMs): Tutorial Workshop

Workshop Agenda
Argonne National Laboratory
February 12th and 13th, 2024
Building 240, Room 1501 (in-person)

This repository contains the materials used in the LLM Tutorial Workshop, February 12th and 13th, 2024.

The workshop material will rely on Jupyter Notebooks which are targeted for running on Google's Colaboratory Platform.

Tutorials
  1. LLMs 101
  2. Prompt Engineering
  3. Retrieval Augmented Generation (RAG)
  4. Fine-Tuning an Existing LLM
  5. LLMs from Scratch

Before You Arrive โœ…

Important

Complete the following steps BEFORE you come to the tutorial

  • Google Colab Setup Account

    Google Colab Instructions

    The Colab platform gives the user a virtual machine in which to run Python codes including machine learning codes.

    The VM comes with a preinstalled environment that includes most of what is needed for these tutorials.

    • You need a Google Account to use Colaboratory
    • Go to Google's Colaboratory Platform and sign in with your Google account
    • You should see this page start_page
    • Click on the New Notebook at the bottom
    • Now you will see a new notebook where you can type in python code. clean_page
    • After you enter code, type <shift> + <enter> to execute the code cell.
    • A full introduction to the notebook environment is out of scope for this tutorial, but many can be found with a simple Google search
    • We will be using notebooks from this repository during the tutorial, so you should be familiar with how to import them into Colaboratory
    • Now you can open the File menu at the top left and select Open Notebook which will open a dialogue box.
    • Select the GitHub tab in the dialogue box.
    • From here you can enter the url for the github repo: https://github.com/brettin/llm_tutorial and hit <enter>. open_github
    • This will show you a list of the Notebooks available in the repo.
    • Select the introduction.ipynb file to open and work through it.
    • As each session of the tutorial begins, you will simply select the corresponding notebook from this list and it will create a copy for you in your Colaboratory account (all *.ipynb files in the Colaboratory account will be stored in your Google Drive).
    • To use a TPU, in the notbook the select Runtime -> Change Runtime Type and you have a dropbox list of hardward settings to choose from where the notebook can run.
  • ๐Ÿค— Hugging Face: Account and Access Token

    Hugging Face Instructions
    • Sign up for a huggingface account and obtain an access token: https://huggingface.co
    • Sign Up (top bar) Log into huggingface and get an access token:
      • Login -> Settings (left pane) -> Access Tokens (left pane) -> New token (center pane)
  • ๐Ÿฆ™ Request access to Llama-2 model

    Llama-2 Access Instructions

llm-workshop's People

Contributors

architvasan avatar vksastry avatar saforem2 avatar brettin avatar priyankavsetty avatar chian avatar gdharuman11 avatar

Stargazers

 avatar  avatar Himanshu Patel avatar Spencer Schneidenbach avatar Max Grover avatar Miguel Vazquez avatar Nick Galioto avatar  avatar Sebastian Rivera avatar Akash Dhruv avatar Brian Hsu avatar selkamand avatar Functional and Evolutionary Genomics of Regulatory RNA (RegRNALab) avatar Ella Xi Wang avatar Adrian Torrie avatar Jeffery avatar Stark avatar  avatar Thomas Lynn avatar Mark Hereld avatar

Watchers

 avatar William Allcock avatar Venkat Vishwanath avatar Christopher Knight avatar Jeff Neel avatar Taylor Childers avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.