train-llama / Dockerfile
nroggendorff's picture
Merge when ready d'MFmJGh
3e3840b verified
raw
history blame
288 Bytes
FROM nroggendorff/train-llama:latest
ARG CONFIG="config.json"
RUN tmp=$(mktemp) && \
jq '.init = 0 | ."instruct-finetune-bool" = false' "${CONFIG}" > "$tmp" && \
mv "$tmp" "${CONFIG}"
RUN chown -R user:user config.json
CMD ["bash", "-c", "python prep.py && deepspeed train.py"]