Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +3 -14
Dockerfile
CHANGED
|
@@ -1,20 +1,9 @@
|
|
| 1 |
-
FROM
|
| 2 |
-
|
| 3 |
-
ENV DEBIAN_FRONTEND=noninteractive
|
| 4 |
-
|
| 5 |
-
RUN apt-get update && apt-get install -y git curl && rm -rf /var/lib/apt/lists/*
|
| 6 |
|
| 7 |
WORKDIR /app
|
| 8 |
|
| 9 |
-
#
|
| 10 |
-
RUN pip install --no-cache-dir
|
| 11 |
-
transformers>=4.46.0 \
|
| 12 |
-
datasets>=3.0.0 \
|
| 13 |
-
peft>=0.13.0 \
|
| 14 |
-
trl>=0.12.0 \
|
| 15 |
-
bitsandbytes>=0.44.0 \
|
| 16 |
-
accelerate>=1.0.0 \
|
| 17 |
-
huggingface_hub>=0.26.0
|
| 18 |
|
| 19 |
COPY train.py /app/train.py
|
| 20 |
|
|
|
|
| 1 |
+
FROM unsloth/unsloth:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
# Additional deps
|
| 6 |
+
RUN pip install --no-cache-dir einops jaxtyping
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
COPY train.py /app/train.py
|
| 9 |
|