train-llama / Dockerfile
nroggendorff's picture
Update Dockerfile
f572853 verified
raw
history blame
283 Bytes
FROM nroggendorff/train-llama:latest
ARG CONFIG="config.json"
RUN tmp=$(mktemp) && \
jq '.init = 0 | ."instruct-finetune-bool" = true' "${CONFIG}" > "$tmp" && \
mv "$tmp" "${CONFIG}"
RUN chown -R user:user config.json
CMD ["bash", "-c", "python prep.py && python train.py"]