Open J-nowcow opened 1 year ago
[메모] eval_unified.sh에서
python main.py \ --data_path "../data/" \ ...
$OUT_DIR/eval.log done
부분이 있는데 이렇게 코드 짜면 eval.log에 print로 출력한 것들이 찍힘 이게 필요한 이유는 터미널에서 .sh 파일 실행하면 print문은 터미널에는 찍히지 않기 때문
eval_unified.sh 파일 실행하면 init_args() 에서 arguments 받아오고, frain_function에서 do_inference 부분 실행됨 model_path 맞춰주면 tokenizer, model 초기화됨
=> 여기서 t5tokenizer 부분 뜯으면 될 것 같은 느낌