Download tasks/tasksmith-48efdcc71e7d/tests/source/Dockerfile from FineEnvs/HF_ML_Tasksmith: direct link, hf CLI and curl.
- Browser
- Download file 3.56 kB
-
https://huggingface.co/datasets/FineEnvs/HF_ML_Tasksmith/resolve/main/tasks/tasksmith-48efdcc71e7d/tests/source/Dockerfile
- Command line
-
hf download hf://datasets/FineEnvs/HF_ML_Tasksmith/tasks/tasksmith-48efdcc71e7d/tests/source/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/FineEnvs/HF_ML_Tasksmith/resolve/main/tasks/tasksmith-48efdcc71e7d/tests/source/Dockerfile
3.56 kB
| FROM python:3.12-slim | |
| WORKDIR /workspace | |
| RUN python -m pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu torch==2.11.0+cpu numpy==2.5.3 transformers==4.49.0 tokenizers==0.21.4 huggingface-hub==0.35.3 accelerate==1.4.0 safetensors==0.4.5 sentencepiece==0.2.0 protobuf==3.20.3 pillow==12.3.0 parameterized==0.9.0 pytest==8.4.2 pytest-timeout==2.3.1 packaging==26.3 setuptools==78.1.0 wheel==0.48.0 regex==2024.11.6 requests==2.32.3 requests-mock==1.12.1 filelock==3.13.1 pyyaml==6.0.2 psutil==7.0.0 fsspec==2024.12.0 tqdm==4.67.1 | |
| RUN HF_HUB_OFFLINE=0 TRANSFORMERS_OFFLINE=0 python -c 'exec('"'"'"""Standalone image-build program; never import target models or receive credentials."""\n\nfrom __future__ import annotations\n\nimport hashlib\nimport json\nfrom pathlib import Path\n\n\ndef fetch_assets(assets: list[dict], cache: Path) -> None:\n from huggingface_hub import get_hf_file_metadata, hf_hub_download, hf_hub_url\n\n manifests = | |