2021 11 25 - KR-HappyFace/meetup-logs GitHub Wiki

ํ”ผ์–ด์„ธ์…˜

  • ์˜์ง„๋‹˜์ด pytorch-dalle ์˜ˆ์‹œ ์‹ค์Šต์ฝ”๋“œ๋ฅผ ์—๋Ÿฌ๊ฐ€ ๋‚˜๋Š”๋ถ€๋ถ„์„ ๊ณ ์ณ์„œ ํ•™์Šต์‹œํ‚ค๊ณ  inference ๊นŒ์ง€ ์™„์„ฑ์‹œ์ผฐ๋‹ค!! (๋งํฌ:https://github.com/boostcampaitech2/final-project-level3-nlp-15/blob/main/rainbow_dalle_example.ipynb)

  • ์žฌ์˜๋‹˜์ด optuna ์‹ค์Šต์ฝ”๋“œ๋ฅผ ๋Œ๋ ค๋ดค๋Š”๋ฐ ์‹œ๊ฐ„์ด ์—„์ฒญ ์˜ค๋ž˜๊ฑธ๋ฆฐ๋‹ค๊ณ  ํ–ˆ์Œ โ†’ 1epochs์— 2~3๋ถ„ ์ธ๋ฐ 100์—ํฌํฌ๊ฐ€ ํ•„์š”ํ•˜๋‹ค.

    • model ํ•™์Šต ์ž์ฒด ์‹œ๊ฐ„์„ ์ค„์ด๋Š”๊ฒŒ ํ•„์š”ํ•œ๋‹ค.
    • network quantization์ด๋‚˜ network compiling์ด ํ•„์š”ํ• ๋“ฏ
  • ํ”„๋ฃจ๋‹๊ณผ dropout ์ด ๋น„์Šทํ•ด๋ณด์ด๋Š”๋ฐ ์ด๊ฑธ ์ด์šฉํ•  ์ˆ˜ ์—†์„๊นŒ?

โ†’ dropout์ด๋ž‘ ์กฐ๊ธˆ ๋‹ค๋ฅธ๊ฑฐ ๊ฐ™์•„์„œ ์–ด๋ ค์šธ ๊ฒƒ ๊ฐ™๋‹ค.

  • pruning์ด ์ผ๋ฐ˜ํ™”ํ•ด์„œ ์ ์šฉ์‹œํ‚ค๊ธฐ ์–ด๋ ต๋‹ค๊ณ  ํ–ˆ๋Š”๋ฐ optuna ์‹ค์Šต ์ฝ”๋“œ๋ฅผ ๋ณด๋ฉด ์ด๋ฏธ ์žˆ๋Š”๊ฒƒ ๊ฐ™๋‹ค.
pruned_trials = [t for t in study.trials if t.state == optuna.trial.TrialState.PRUNED]
  • ์ด ๊ฒฝ๋Ÿ‰ํ™”๋ฅผ ์šฐ๋ฆฌ final project์— ์ ์šฉ์‹œํ‚ค๋ฉด dalle ๊ฑฑ์ •์„ ์ข€ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์ง€ ์•Š์„๊นŒ??

  • ๋Œ€ํšŒ ๊ธฐ๊ฐ„์„ ์–ธ์ œ๊นŒ์ง€๋กœ ์žก์•„์•ผํ• ๊นŒ? โ†’ ๋Œ€ํšŒ๋ž‘ final project๋ฅผ ์–ด๋–ค ๋น„์œจ๋กœ ํ•ด์•ผํ• ๊นŒ ์•ž์œผ๋กœ

โ†’ ๊ฐ์ž ์–˜๊ธฐ๋ฅผ ํ•ด๋ณด์ž

  • ์ด๋ฒˆ ๋Œ€ํšŒ๋„ ์ถฉ๋ถ„ํžˆ ์ค‘์š”ํ•œ ๋Œ€ํšŒ๊ธด ํ•œ๋“ฏ. โ†’ ๊ฐ์ž ๋งก๊ณ ์‹ถ์€ ๋ถ„์•ผ๋ฅผ ์–˜๊ธฐํ•˜๊ณ  ๊ทธ ๋ถ€๋ถ„์„ ํ•˜์ž.

โ†’ ๋‹ค์Œ์ฃผ ๋ชฉ์š”์ผ๊นŒ์ง€๋Š” ๋งˆ์ง€๋ง‰ ๋Œ€ํšŒ๋‹ˆ๊นŒ ์ง‘์ค‘ํ•ด์„œ ํ•ด๋ณด์ž