<commit_before>FROM tensorflow/tensorflow:latest

MAINTAINER <EMAIL> <<EMAIL>>

# Install dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
    build-essential \
    curl \
    libfreetype6-dev \
    libpng12-dev \
    libzmq3-dev \
    pkg-config \
    python \
    python-dev \
    rsync \
    software-properties-common \
    cmake \
    swig \
    zlib1g-dev \
    unzip \
    git \
    && \
apt-get clean && \
    rm -rf /var/lib/apt/lists/*

# Install pip
RUN curl -O https://bootstrap.pypa.io/get-pip.py && \
    python get-pip.py && \
    rm get-pip.py
 
WORKDIR /
ADD . /

RUN rm -rf *.png _cmd_*.txt

# Add TensorForce dependencies
RUN pip install -r requirements_benchmark.txt

RUN [ -d benchmarks ] || mkdir benchmarks && rm -rf benchmarks/*

ENTRYPOINT ["python", "benchmark.py"]<commit_msg>updated dockerfile<commit_after>FROM tensorflow/tensorflow:latest

MAINTAINER <EMAIL> <<EMAIL>>

# Install dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
    build-essential \
    curl \
    libfreetype6-dev \
    libpng12-dev \
    libzmq3-dev \
    pkg-config \
    python \
    python-dev \
    rsync \
    software-properties-common \
    cmake \
    swig \
    zlib1g-dev \
    unzip \
    git \
    && \
apt-get clean && \
    rm -rf /var/lib/apt/lists/*

# Install pip
RUN curl -O https://bootstrap.pypa.io/get-pip.py && \
    python get-pip.py && \
    rm get-pip.py
 
WORKDIR /tensorforce-benchmark
ADD . .

RUN rm -rf *.png _cmd_*.txt

# Add TensorForce dependencies
RUN pip install -r requirements_benchmark.txt

RUN pip install -e .

RUN [ -d benchmarks ] || mkdir benchmarks && rm -rf benchmarks/*

ENTRYPOINT ["python", "scripts/openai_benchmark.py"]
{'fraction_non_alphanumeric': 0.12824956672443674, 'fraction_numerical': 0.005777007510109763, 'mean_word_length': 2.2927756653992395, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '7334107', 'n_tokens_mistral': 630, 'n_tokens_neox': 604, 'n_words': 145}