<commit_before>#!/bin/bash -eu
docker rm ims-daemon
docker run --cap-add=NET_ADMIN -it --name "ims-daemon" -v $HOME/.aws:/mnt/ims ims /bin/bash -c "ifconfig eth0:0 169.254.169.254 netmask 255.255.255.255 && ./ims start --config=/mnt/ims/ims.conf $*"<commit_msg>use host net<commit_after>#!/bin/bash -eu
docker rm ims-daemon
docker run --net="host" --cap-add=NET_ADMIN -it --name "ims-daemon" -v $HOME/.aws:/mnt/ims ims /bin/bash -c "ifconfig lo:0 169.254.169.254 netmask 255.255.255.255 && ./ims start --config=/mnt/ims/ims.conf $*"
{'fraction_non_alphanumeric': 0.20112781954887218, 'fraction_numerical': 0.09586466165413533, 'mean_word_length': 3.3688524590163933, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '7080731', 'n_tokens_mistral': 265, 'n_tokens_neox': 214, 'n_words': 51}