
Overview
A notebook that uses an open-source model to generate test datasets in JSON or CSV. It runs Meta-Llama-3.1-8B-Instruct through Hugging Face, quantized to fit on a Google Colab T4 GPU, with a Gradio UI on top. Multi-shot prompting keeps the output in the requested format.
Skills
- Hugging Face API to load and run open source model
- Transformers
- Tokenizer to apply chat template
- Quantization to reduce model size for use on Colab T4 Box.
- Gradio for demo UI development
- Multishot Prompting to enforce multiple output formats
- Google Colab with use of the T4 GPU box
