File size: 288 Bytes
3a7ff51
b81453a
8408f6b
4cc1cab
a170c73
4cc1cab
7ba5af5
4cc1cab
02d464d
1
2
3
4
5
6
7
8
9
10
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"]