WorldDisasterLM-8B / Makefile
drdeveloper88's picture
Upload WorldDisasterLM-8B source code: FastAPI backend, training pipeline, 11-language support
495526b
Raw
History Blame Contribute Delete
454 Bytes
PYTHON ?= python
# Project root needs to be on PYTHONPATH because the directory name contains spaces.
export PYTHONPATH := $(CURDIR)
.PHONY: data train evaluate test lint api demo collect
collect:
$(PYTHON) scripts/collect_data.py
data:
$(PYTHON) dataset_builder.py
train:
$(PYTHON) train.py
evaluate:
$(PYTHON) evaluate.py
test:
pytest -q
lint:
ruff check .
api:
uvicorn backend.app.main:app --reload --port 8000
demo:
$(PYTHON) app.py