<commit_before>sudo: required

services:
  - docker

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y qemu-kvm bridge-utils libvirt-bin
  - lsmod | grep kvm
  - cd docker/qemu-nvme/

install:
  - docker build -t ljishen/qemu-nvme .

before_script:
  - wget -O img/vm.img http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
  - dd if=/dev/zero of=device/blknvme bs=1M count=1024
  - docker ps -a | grep qemu-nvme

script:
  - docker run -ti --privileged -v `pwd`/device:/root/device -v `pwd`/img:/root/img ljishen/qemu-nvme -smp 4 -m 4G
<commit_msg>Add sudo to the lsmod command<commit_after>sudo: required

services:
  - docker

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y qemu-kvm bridge-utils libvirt-bin
  - sudo lsmod | grep kvm
  - cd docker/qemu-nvme/

install:
  - docker build -t ljishen/qemu-nvme .

before_script:
  - wget -O img/vm.img http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
  - dd if=/dev/zero of=device/blknvme bs=1M count=1024
  - docker ps -a | grep qemu-nvme

script:
  - docker run -ti --privileged -v `pwd`/device:/root/device -v `pwd`/img:/root/img ljishen/qemu-nvme -smp 4 -m 4G

{'fraction_non_alphanumeric': 0.13344182262001628, 'fraction_numerical': 0.01627339300244101, 'mean_word_length': 2.929712460063898, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1004246', 'n_tokens_mistral': 551, 'n_tokens_neox': 499, 'n_words': 116}