-
Notifications
You must be signed in to change notification settings - Fork 126
environments acft hf nlp data import
github-actions[bot] edited this page Jun 25, 2024
·
21 revisions
Environment used by Hugging Face NLP Finetune components
Version: 2
Preview
View in Studio: https://ml.azure.com/registries/azureml/environments/acft-hf-nlp-data-import/version/2
Docker image: mcr.microsoft.com/azureml/curated/acft-hf-nlp-data-import:2
# openmpi image
FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:20240624.v1
USER root
# sudo is expected by Singularity inside the image
RUN apt-get update && ACCEPT_EULA=Y apt-get -y upgrade && apt-get install sudo
RUN pip install --upgrade pip
COPY requirements.txt .
RUN pip install -r requirements.txt --no-cache-dir
# The below file is required for baking the code into the environment
COPY data_import_run.py /azureml/data_import/run.py
# dummy number to change when needing to force rebuild without changing the definition: 1