Llama 3.2 prompting tutorial notebook

Hi everyone! I want to share a notebook that I have been working on to show how to use Llama 3.2 vision model in Kaggle notebooks, I use the short course introduction to llama to build this notebook, I had to make several changes, my notebook do not rely on API, instead I get the model directly from kaggle models, several portions of the code had to change along with the functions to make this work, this helps everyone with internet access play with this models that often requires heavy computational resources or subscription service to use it, you can draft, play and build a demo application following this template

In this notebook you’ll learn:

  1. Use Llama models in Kaggle notebooks

  2. Create functions needed to run the model to accept images and text

  3. Read receipt and get the information

  4. Choosing the right drink for your nutrition plans based on a picture

  5. Implement code based on a picture architecture of Llama model

  6. Get recipes and macros of food based on a picture of your fridge

  7. Grade assignments based on pictures

All feedback is welcome!

1 Like

Thank you for sharing this.