Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +0 -4
Dockerfile
CHANGED
@@ -1,14 +1,10 @@
|
|
1 |
FROM nroggendorff/train-llama:latest
|
2 |
|
3 |
-
USER root
|
4 |
-
|
5 |
ARG CONFIG="config.json"
|
6 |
-
|
7 |
RUN tmp=$(mktemp) && \
|
8 |
jq '.init = 1 | ."instruct-finetune-bool" = false' "${CONFIG}" > "$tmp" && \
|
9 |
mv "$tmp" "${CONFIG}"
|
10 |
RUN chown -R user:user config.json
|
11 |
|
12 |
RUN python -u prep.py
|
13 |
-
|
14 |
CMD ["python", "train.py"]
|
|
|
1 |
FROM nroggendorff/train-llama:latest
|
2 |
|
|
|
|
|
3 |
ARG CONFIG="config.json"
|
|
|
4 |
RUN tmp=$(mktemp) && \
|
5 |
jq '.init = 1 | ."instruct-finetune-bool" = false' "${CONFIG}" > "$tmp" && \
|
6 |
mv "$tmp" "${CONFIG}"
|
7 |
RUN chown -R user:user config.json
|
8 |
|
9 |
RUN python -u prep.py
|
|
|
10 |
CMD ["python", "train.py"]
|