Small experiments and notebooks for prompt engineering, HF models, and quick GenAI prototypes.
notebooks/01_text_generation.ipynb— Quick HuggingFace text-generation experiments (GPT-2, DistilGPT-2).notebooks/02_summarization.ipynb— Summarization experiments using BART, T5, Pegasus models.notebooks/03_qa_with_context.ipynb— Retrieval-based QA with context and FAISS indexing.notebooks/04_prompt_engineering.ipynb— Few shot and CoT demonstrationsrc/— Helper scripts for PDF ingestion, text chunking, embeddings, FAISS index, and QA pipeline.data/— PDF files and other dataset resources.requirements.txt— Python dependencies for the project.
- Clone:
git clone https://github.com/lydiamavin/genai-sandbox.git cd genai-sandbox - Create venv & install:
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt - Run notebook or the small script:
python notebooks/01_text_generation.py