Spaces:
Running on Zero
Running on Zero
Download Makefile from zhatrix/logistics-llm: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/spaces/zhatrix/logistics-llm/resolve/main/Makefile
- Command line
-
hf download hf://spaces/zhatrix/logistics-llm/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/zhatrix/logistics-llm/resolve/main/Makefile
1.23 kB
| PORT ?= 8010 | |
| .PHONY: install kb data train serve-mlx serve serve-ollama eval eval-stress fuse | |
| install: | |
| uv sync | |
| kb: | |
| uv run python scripts/build_kb.py | |
| data: | |
| uv run python scripts/gen_sft.py --n-tool 480 --n-extract 240 --n-route 120 --n-numeric 320 | |
| train: | |
| bash scripts/train.sh $(ITERS) | |
| serve-mlx: | |
| bash scripts/serve_mlx.sh | |
| serve: | |
| uv run uvicorn logicllm.server.app:app --host 127.0.0.1 --port $(PORT) | |
| serve-ollama: | |
| LLM_BACKEND=ollama uv run uvicorn logicllm.server.app:app --host 127.0.0.1 --port $(PORT) | |
| eval: | |
| uv run python scripts/eval.py | |
| eval-stress: | |
| uv run python scripts/eval.py --cases eval/stress.jsonl --out /tmp/stress.jsonl | |
| fuse: | |
| bash scripts/fuse.sh | |