-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (24 loc) · 875 Bytes
/
Makefile
File metadata and controls
31 lines (24 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.PHONY: install seed demo test eval clean download-model
install:
uv sync --all-extras
@echo "Downloading Privacy Filter model weights (first time only)..."
uv run python -c "from transformers import AutoTokenizer, AutoModelForTokenClassification; AutoTokenizer.from_pretrained('openai/privacy-filter'); AutoModelForTokenClassification.from_pretrained('openai/privacy-filter')"
@echo "✓ Install complete"
seed:
uv run python scripts/seed_data.py
@echo "✓ Synthetic data seeded to data/synthetic_fs.sqlite"
demo:
uv run python scripts/run_demo.py
test:
uv run pytest tests/ -v
eval:
uv run python eval/eval_harness.py
clean:
rm -f data/synthetic_fs.sqlite
rm -f audit.jsonl
rm -f vault.jsonl
rm -f review_queue.jsonl
@echo "✓ Cleaned generated files"
download-model:
uv run python scripts/download_model.py
@echo "✓ Model downloaded to models/"