Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions end-to-end-use-cases/NotebookLlama/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down