<commit_before>#!/bin/bash

OUTPUT_PATH="gs://research-graph-synthetic/${USER}/sampling/$(date +"%Y-%m-%d_%H-%M-%S")"
TEMP_LOCATION="${OUTPUT_PATH}/temp"
echo "OUTPUT_PATH: ${OUTPUT_PATH}"

NSAMPLES="${1:-10000}"
echo "NSAMPLES: ${NSAMPLES}"

ENTRYPOINT="python3 /app/beam_sbm.py \
  --runner=DataflowRunner \
  --project=research-graph \
  --region=us-east1 \
  --temp_location="${TEMP_LOCATION}" \<commit_msg>Adding max number of workers cap to job definition.<commit_after>#!/bin/bash

OUTPUT_PATH="gs://research-graph-synthetic/${USER}/sampling/$(date +"%Y-%m-%d_%H-%M-%S")"
TEMP_LOCATION="${OUTPUT_PATH}/temp"
echo "OUTPUT_PATH: ${OUTPUT_PATH}"

NSAMPLES="${1:-10000}"
echo "NSAMPLES: ${NSAMPLES}"

ENTRYPOINT="python3 /app/beam_sbm.py \
  --runner=DataflowRunner \
  --project=research-graph \
  --region=us-east1 \
  --max_num_workers=256 \
  --temp_location="${TEMP_LOCATION}" \
{'fraction_non_alphanumeric': 0.21557562076749437, 'fraction_numerical': 0.02144469525959368, 'mean_word_length': 5.034013605442177, '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': '455616', 'n_tokens_mistral': 353, 'n_tokens_neox': 340, 'n_words': 43}