Download mosesdecoder/cruise-control/web/show_commit.php from sleepyhead111/vllm_fairseq: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/sleepyhead111/vllm_fairseq/resolve/main/mosesdecoder/cruise-control/web/show_commit.php
- Command line
-
hf download hf://sleepyhead111/vllm_fairseq/mosesdecoder/cruise-control/web/show_commit.php
-
curl -L -o show_commit.php https://huggingface.co/sleepyhead111/vllm_fairseq/resolve/main/mosesdecoder/cruise-control/web/show_commit.php
388 Bytes
| include("html_templates.php"); | |
| include("log_wrapper.php"); | |
| $type = $_GET["type"]; | |
| $commit_id = $_GET["commit_id"]; | |
| if (($type != "log" && $type != "info") || empty($commit_id)) { | |
| warn("Wrong arguments, dying") && die(); | |
| } | |
| header("Content-Type: text/plain; charset=UTF-8"); | |
| include(StaticData::logs_path . "/" . substr($commit_id, 0, 1) . "/" . $commit_id . "." . $type); | |