Skip to content

Instantly share code, notes, and snippets.

@pohanchi
Created May 4, 2022 00:28
Show Gist options
  • Save pohanchi/237c352d48d5e40c52ef02b01a56b2fa to your computer and use it in GitHub Desktop.
Save pohanchi/237c352d48d5e40c52ef02b01a56b2fa to your computer and use it in GitHub Desktop.
#/usr/bin/zsh
#test_task = ['<annoyance>', '<pride>', '<joy>', '<sadness>', '<approval>', '<confusion>']
# echo "container ID = ${curid}"
# echo "task name = ${1},"
# echo "mode= ${2},"
# echo "agent= ${3},"
# echo "prompt = ${4},"
# echo "bot = ${5},"
# echo "type = ${6},"
# echo "exp_name = ${7},"
# echo "end_batch = ${8},"
# echo "sample_time = ${9},"
# echo "wandb tag = ${10},"
# echo "init step = ${11},"
# echo "save path = ${12},"
# echo "model = ${13},"
# echo "extra_label = ${extra_label},"
# echo "save_interval = ${14}"
# echo "container ID = ${15}"
# <annoyance> <pride> <joy> <sadness> <approval> <confusion>
# bot DialogGPT, blenderbot, GPT3
for word in election longe musicalinstruments birds office animal water science shapes school transportation dance mythicalbeasts family vegetables aprilfool shoes emotions flowers weapons rocks roadways farm;
do
for bot in DialogGPT blenderbot gpt3;
do
echo "=================================================================="
echo "${word}"
echo ${word}
source ~/.zshrc; tasker "ii${word:0:3}${bot:1:4}" "bash scripts/twccpipeline/pipeline.sh ${word} finetune coherence InputIndependent $bot word ft_data_II_${word}_${bot}_no_coh 500 8 directly-finetune-II-coh-0.01 2 coh-II-${word}-${bot} microsoft/DialoGPT-medium test_word_list.txt 50"
sleep 45
echo "=================================================================="
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment