<commit_before>FROM nvidia/cuda:9.2-cudnn7-devel-ubuntu18.04

RUN apt-get update -y && apt-get install -y --no-install-recommends \
    ca-certificates \
    cmake \
    curl \
    git \
    libopenexr-dev \
    libpng-dev \
    libtiff-dev \
    libturbojpeg0-dev \
    libwebp-dev \
    make \
    openssh-client \
    python-dev \
    python3-dev \
    zlib1g-dev \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

RUN curl -LO https://bootstrap.pypa.io/get-pip.py \
    && python2 get-pip.py --no-cache-dir \
    && python3 get-pip.py --no-cache-dir \
    && rm get-pip.py

RUN pip2 install --no-cache-dir numpy \
    && pip3 install --no-cache-dir numpy

ENV OPENCV_VERSION=3.4.1
RUN cd $(mktemp -d) \
    && curl -L https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.tar.gz | tar zxf - \
    && mkdir opencv-${OPENCV_VERSION}/build \
    && cd opencv-${OPENCV_VERSION}/build \
    && cmake .. \
    -DCMAKE_BUILD_TYPE=Release \
    -DWITH_CUDA=OFF \
    -DWITH_IPP=OFF \<commit_msg>libturbojpeg -> libjpeg<commit_after>FROM nvidia/cuda:9.2-cudnn7-devel-ubuntu18.04

RUN apt-get update -y && apt-get install -y --no-install-recommends \
    ca-certificates \
    cmake \
    curl \
    git \
    libjpeg9-dev \
    libopenexr-dev \
    libpng-dev \
    libtiff-dev \
    libwebp-dev \
    make \
    openssh-client \
    python-dev \
    python3-dev \
    zlib1g-dev \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

RUN curl -LO https://bootstrap.pypa.io/get-pip.py \
    && python2 get-pip.py --no-cache-dir \
    && python3 get-pip.py --no-cache-dir \
    && rm get-pip.py

RUN pip2 install --no-cache-dir numpy \
    && pip3 install --no-cache-dir numpy

ENV OPENCV_VERSION=3.4.1
RUN cd $(mktemp -d) \
    && curl -L https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.tar.gz | tar zxf - \
    && mkdir opencv-${OPENCV_VERSION}/build \
    && cd opencv-${OPENCV_VERSION}/build \
    && cmake .. \
    -DCMAKE_BUILD_TYPE=Release \
    -DWITH_CUDA=OFF \
    -DWITH_IPP=OFF \
{'fraction_non_alphanumeric': 0.1576598909271195, 'fraction_numerical': 0.01685671789786812, 'mean_word_length': 2.0029761904761907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6693679', 'n_tokens_mistral': 833, 'n_tokens_neox': 795, 'n_words': 139}