Thibaut Forest
Claude Opus 5 (1M context)
Phase 21-23: unmasked foreign pooling for held-out splits + Docker PATH fix
3c7b883 Download Dockerfile from thibautforest/BatterySwapAI2026-Example: direct link, hf CLI and curl.
- Browser
- Download file 908 Bytes
-
https://huggingface.co/thibautforest/BatterySwapAI2026-Example/resolve/main/Dockerfile
- Command line
-
hf download hf://thibautforest/BatterySwapAI2026-Example/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/thibautforest/BatterySwapAI2026-Example/resolve/main/Dockerfile
908 Bytes
| # Submission will be executed with this image | |
| FROM huggingface/competitions:latest | |
| # Default to running on train split only | |
| ENV BATTERYSWAP_SPLITS=train | |
| ENV BATTERYSWAP_SUBMISSION_PATH=submission.csv | |
| WORKDIR /app | |
| # NOTE: allowed requirements are specified by competition | |
| # WARNING: Your customizations in requirements.txt will be ignored | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy relevant files | |
| # You can copy more in here, if needed | |
| # (or just keep it under batteryswap_example/) | |
| COPY batteryswap_example/ ./batteryswap_example | |
| COPY script.py ./ | |
| # The competition env (with the pinned packages) lives at /app/env; newer | |
| # base-image entrypoints put miniconda first on PATH at runtime, which shadows | |
| # it and breaks `python3 script.py` with ModuleNotFoundError. Pin it back. | |
| ENV PATH=/app/env/bin:${PATH} | |
| # Default to making submissions | |
| CMD python3 script.py | |