Untitled
# evaluate results: # scp user@192.168.1.81:llama.cpp/*pygame.out*txt ./ for i in *.txt; do tr -cd '[:print:]\n' < $i | awk ' BEGIN{comment=1} { if ($1 != "pip") if (substr($1,1,3) == "```" ) comment = !comment; else if (comment) printf("# %s\n", $0); else print; }' > $i.py; done; for i in *.py; do echo "#### STARTING $i $(grep eval.*runs.*tokens.per.second $i)" python3 $i; done
Leave a Comment