Spaces:
Runtime error
Runtime error
Download Dockerfile from mindchain/rlm-arithmetic-training: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/spaces/mindchain/rlm-arithmetic-training/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mindchain/rlm-arithmetic-training/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mindchain/rlm-arithmetic-training/resolve/main/Dockerfile
587 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install core Python packages ONLY - no IPEX, no OpenVINO | |
| RUN pip install --no-cache-dir \ | |
| torch \ | |
| transformers \ | |
| accelerate \ | |
| trl \ | |
| datasets \ | |
| huggingface_hub \ | |
| bitsandbytes | |
| # Note: NO peft - we're testing without LoRA! | |
| # Copy training script | |
| COPY train_arithmetic_v9_no_lora.py . | |
| # Set HF token from secret | |
| ENV HF_TOKEN=${HF_TOKEN} | |
| # Run training | |
| CMD ["python", "train_arithmetic_v9_no_lora.py"] | |