<commit_before>#!/bin/bash

### Generic job script for all experiments.

#PBS -l nodes=1:ppn=6 	### Request at least 6 cores
#PBS -l walltime=99:00:00	### Die after four days
#PBS -l mem=6000MB
#PBS -q nlp

# Usage example:
# export REMBED_FLAGS="--learning_rate 0.2"; qsub -v MATLABCMD quant/run.sh

# Change to the submission directory.
cd $PBS_O_WORKDIR 

# Log what we're running and where.
echo `hostname` - $PBS_JOBID - $REMBED_FLAGS >> ~/rembed_machine_assignments.txt

python rembed/models/classifier.py $REMBED_FLAGS<commit_msg>Debugging run.sh<commit_after>#!/bin/bash

### Generic job script for all experiments.

#PBS -l nodes=1:ppn=6 	### Request at least 6 cores
#PBS -l walltime=99:00:00	### Die after four days
#PBS -l mem=6000MB
#PBS -q nlp

# Usage example:
# export REMBED_FLAGS="--learning_rate 0.2"; qsub -v REMBED_FLAGS quant/run.sh

# Change to the submission directory.
cd $PBS_O_WORKDIR
echo Lauching from working directory $PBS_O_WORKDIR
echo Flags: $REMBED_FLAGS

# Log what we're running and where.
echo `hostname` - $PBS_JOBID - $REMBED_FLAGS >> ~/rembed_machine_assignments.txt

python rembed/models/classifier.py $REMBED_FLAGS
{'fraction_non_alphanumeric': 0.11754537597234227, 'fraction_numerical': 0.02592912705272256, 'mean_word_length': 4.648780487804878, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6967812', 'n_tokens_mistral': 459, 'n_tokens_neox': 422, 'n_words': 125}