whoops forgot my code. and dimwit - the deletion if it has a slash is bc it saves space on my machine, i cant grab em all at tthe ssame time I need to delete as I add duh lol #!/bin/bash
f_out="Desktop/Response.txt"
f_prompts="Desktop/prompts.txt"
f_models="Desktop/modelMay.txt"
if [ ! -f "fout"]∣∣[!−f"f_prompts" ] || [ ! -f "fmodels"f_out"
prompts=()
while IFS= read -r line || [ -n "line"];doif[−n"line" ]; then
prompts+=("line")fidone<"f_prompts"
models=()
while IFS= read -r line || [ -n "line"];doif[−n"line" ]; then
models+=("line")fidone<"f_models"
t_start=$(date +%s%N)
load model, ask all prompts
for model in "models[@]";domstart=(date +%s%N)
for prompt in "(date +%s%N)
echo -e " +++ prompt at f_out"
echo -e " +++ prompt at model" "f_out"
end_time=(((end_time - t_start) / 1000000))
min=(bc -l <<<"scale=1; model after min Minutes " >>"(date +%s%N)
t_gen=(printf "%.1f\n" t_gen / 60000"))
echo -e "for all min Minutes"
echo -e "all min Minutes " >>"(date +%s%N)
t_gen=(printf "%.1f\n" t_gen / 60000"))
echo -e "for all min Minutes"
echo -e "all min Minutes " >>"$f_out"