From 6fefc07ae4af5e5e741c37f80562ce946e6f9f85 Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Tue, 7 Apr 2026 13:50:13 -0700 Subject: [PATCH] Add Makefile and fix stale README refs - Add Makefile with install, install-dev, test, lint, format, clean targets - Fix stale llama-recipes clone URL in NotebookLlama README --- Makefile | 22 ++++++++++++++++++++ end-to-end-use-cases/NotebookLlama/README.md | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..f59dc56d1 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +.PHONY: install install-dev test lint format clean + +install: + pip install -e . + +install-dev: + pip install -e '.[tests]' + +test: + python -m pytest src/tests/ -v + +lint: + python -m py_compile src/llama_cookbook/finetuning.py + @echo "Lint passed" + +format: + black src/ + +clean: + find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true + find . -type d -name .ipynb_checkpoints -exec rm -rf {} + 2>/dev/null || true + find . -type f -name "*.pyc" -delete 2>/dev/null || true diff --git a/end-to-end-use-cases/NotebookLlama/README.md b/end-to-end-use-cases/NotebookLlama/README.md index 6bde69809..45690d8de 100644 --- a/end-to-end-use-cases/NotebookLlama/README.md +++ b/end-to-end-use-cases/NotebookLlama/README.md @@ -41,8 +41,8 @@ You'll need your Hugging Face access token, which you can get at your Settings p - First, please Install the requirements from [here]() by running inside the folder: ``` -git clone https://github.com/meta-llama/llama-recipes -cd llama-recipes/end-to-end-use-cases/NotebookLlama/ +git clone https://github.com/meta-llama/llama-cookbook +cd llama-cookbook/end-to-end-use-cases/NotebookLlama/ pip install -r requirements.txt ```