-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreading_times_lmer.sh
executable file
·32 lines (26 loc) · 1.13 KB
/
reading_times_lmer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
PROJECT_PATH=/nethome/jsteuer/git/lsv/babylm
cd $PROJECT_PATH
PYTHON_BIN="/nethome/jsteuer/miniconda3/envs/babylm-rts/bin"
$PYTHON_BIN/python --version
# SAVED_MODELS_DIR="/local/models/babylm/opt_with_alibi"
# SAVED_MODELS_DIR="/local/models/babylm/opt_with_alibi_save_steps"
SAVED_MODELS_DIR="/local/models/babylm/opt_with_alibi_save_steps_wikitext"
OUTPUT_DIR="/nethome/jsteuer/git/lsv/babylm/lmer/wikitext"
NATURALSOTRIES_DIR="/nethome/jsteuer/git/lsv/babylm/naturalstories/naturalstories_RTS"
# BABYLM_TRAIN_FILE="/data/corpora/babylm/babylm_data/babylm_100M/babylm_full.train.txt"
BABYLM_TRAIN_FILE="/data/users/jsteuer/datasets/wikitext-103-v1/wikitext_full.txt"
# for checkpoint in {100,250,500,1000,10000,20000,1}
# for checkpoint in {500,1000,2000,3000,1}
# for checkpoint in {500,}
# for checkpoint in {2000,3000}
# for checkpoint in {1,}
for checkpoint in {5,}
do
$PYTHON_BIN/python reading_times_lmer.py \
--checkpoint $checkpoint \
--babylm_train_file $BABYLM_TRAIN_FILE \
--models_dir $SAVED_MODELS_DIR \
--output_dir $OUTPUT_DIR \
--naturalstories_dir $NATURALSOTRIES_DIR
done