Download Makefile from llm-jp/open-japanese-llm-leaderboard-v2: direct link, hf CLI and curl.
- Browser
- Download file 556 Bytes
-
https://huggingface.co/spaces/llm-jp/open-japanese-llm-leaderboard-v2/resolve/main/Makefile
- Command line
-
hf download hf://spaces/llm-jp/open-japanese-llm-leaderboard-v2/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/llm-jp/open-japanese-llm-leaderboard-v2/resolve/main/Makefile
556 Bytes
| .PHONY: style format sync-requirements | |
| style: | |
| uv run ruff check --fix . | |
| quality: | |
| uv run ruff check . | |
| # uv export cannot emit --extra-index-url from [tool.uv.sources] into | |
| # requirements.txt (astral-sh/uv#13572, #10008 — "working as intended"). | |
| # HF Spaces only reads requirements.txt, so we regenerate via uv export and | |
| # then splice the pytorch-cpu index back in. | |
| sync-requirements: | |
| uv lock | |
| uv export --format requirements-txt --no-hashes -o requirements.txt | |
| sed -i '3i--extra-index-url https://download.pytorch.org/whl/cpu' requirements.txt | |