<commit_before>#!/bin/bash
# Remove pypi tensorflow from deepforge-server
source activate deepforge-server
pip uninstall tensorflow -y
conda install tensorflow==1.14 -y

# Install jq and remove local from config/components.json file
wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -O jq && chmod +x jq

< config/components.json  ./jq '.Compute.backends=(.Compute.backends | map(select(. != "local")))' \
> config/components2.json && mv config/components2.json config/components.json

deepforge start --server
<commit_msg>Disable GME storage on deployment. Closes #1618 (#1619)<commit_after>#!/bin/bash
# Remove pypi tensorflow from deepforge-server
source activate deepforge-server
pip uninstall tensorflow -y
conda install tensorflow==1.14 -y

# Install jq and remove local from config/components.json file
wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -O jq && chmod +x jq

< config/components.json  ./jq '.Compute.backends=(.Compute.backends | map(select(. != "local")))' \
> config/components2.json
< config/components2.json  ./jq '.Storage.backends=(.Storage.backends | map(select(. != "gme")))' \
> config/components.json

deepforge start --server

{'fraction_non_alphanumeric': 0.1403654485049834, 'fraction_numerical': 0.02159468438538206, 'mean_word_length': 4.502283105022831, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6174307', 'n_tokens_mistral': 422, 'n_tokens_neox': 388, 'n_words': 98}