Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +0 -4
Dockerfile
CHANGED
|
@@ -31,10 +31,6 @@ WORKDIR /app
|
|
| 31 |
COPY requirements.txt .
|
| 32 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 33 |
pip install --no-cache-dir -r requirements.txt
|
| 34 |
-
RUN python3 -c "from transformers import AutoTokenizer, AutoModelForCausalLM; \
|
| 35 |
-
model_name = 'microsoft/phi-3-mini-128k-instruct'; \
|
| 36 |
-
AutoTokenizer.from_pretrained(model_name); \
|
| 37 |
-
AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)"
|
| 38 |
# Copy the rest of the application code
|
| 39 |
|
| 40 |
COPY . .
|
|
|
|
| 31 |
COPY requirements.txt .
|
| 32 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 33 |
pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
# Copy the rest of the application code
|
| 35 |
|
| 36 |
COPY . .
|