<commit_before>#
# Starspace CPU Dockerfile
# @author <NAME> (loretoparisi at gmail dot com)
# @see https://github.com/facebookresearch/Starspace
# v1.0.0
#
# Copyright (c) 2017 <NAME> - https://github.com/loretoparisi/docker
#

FROM ubuntu:16.04


MAINTAINER <NAME> <EMAIL>

# working directory
WORKDIR /starspace

# install
RUN \
	apt-get update && apt-get install -y \
	autoconf \
    automake \
	libtool \
	build-essential \
	unzip \
	git \
	wget

# build boost lib
RUN \
 wget https://dl.bintray.com/boostorg/release/1.63.0/source/boost_1_63_0.zip && \
 unzip boost_1_63_0.zip && \
 mv boost_1_63_0 /usr/local/bin

# build starspace
RUN \
	git clone https://github.com/facebookresearch/Starspace.git && \
	cd Starspace && \
	make

# defaults command
CMD ["bash"]

<commit_msg>added build step for utils<commit_after>#
# Starspace CPU Dockerfile
# @author <NAME> (loretoparisi at gmail dot com)
# @see https://github.com/facebookresearch/Starspace
# v1.0.0
#
# Copyright (c) 2017 <NAME> - https://github.com/loretoparisi/docker
#

FROM ubuntu:16.04


MAINTAINER <NAME> <EMAIL>

# working directory
WORKDIR /starspace

# install
RUN \
	apt-get update && apt-get install -y \
	autoconf \
        automake \
	libtool \
	build-essential \
	unzip \
	git \
	wget

# build boost lib
RUN \
 wget https://dl.bintray.com/boostorg/release/1.63.0/source/boost_1_63_0.zip && \
 unzip boost_1_63_0.zip && \
 mv boost_1_63_0 /usr/local/bin

# build starspace
RUN \
	git clone https://github.com/facebookresearch/Starspace.git && \
	cd Starspace && \
	make && \
	make embed_doc && \
	make query_nn && \
	make print_ngrams && \
	make query_predict

# defaults command
CMD ["bash"]


{'fraction_non_alphanumeric': 0.1318154583582984, 'fraction_numerical': 0.03235470341521869, 'mean_word_length': 3.2710997442455243, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 8, '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': '3795099', 'n_tokens_mistral': 677, 'n_tokens_neox': 639, 'n_words': 144}