Add Control v2 incremental experiment results (evidence, visuals, 42 fixed samples)
a64600b verified Download method_v2/evidence/code/packaging/start.ps1 from CharlesZhang-USTC/snf_experiments: direct link, hf CLI and curl.
- Browser
- Download file 665 Bytes
-
https://huggingface.co/CharlesZhang-USTC/snf_experiments/resolve/main/method_v2/evidence/code/packaging/start.ps1
- Command line
-
hf download hf://CharlesZhang-USTC/snf_experiments/method_v2/evidence/code/packaging/start.ps1
-
curl -L -o start.ps1 https://huggingface.co/CharlesZhang-USTC/snf_experiments/resolve/main/method_v2/evidence/code/packaging/start.ps1
665 Bytes
| param([string]$Storage=(Join-Path (Split-Path $PSScriptRoot -Parent) 'runtime'), | |
| [string]$Image='snf-five-models:cu128', | |
| [Parameter(ValueFromRemainingArguments=$true)][string[]]$Command=@('doctor')) | |
| $ErrorActionPreference='Stop' | |
| foreach ($dir in 'weights','data','outputs') { New-Item -ItemType Directory -Force -Path (Join-Path $Storage $dir) | Out-Null } | |
| $resolved=(Resolve-Path -LiteralPath $Storage).Path | |
| docker run --rm --gpus all --ipc=host --init -e HF_TOKEN -e HF_ENDPOINT ` | |
| -v "${resolved}/weights:/weights" -v "${resolved}/data:/data" -v "${resolved}/outputs:/outputs" $Image @Command | |
| if ($LASTEXITCODE -ne 0) { throw 'Container failed' } | |