์ค๋ฌด ์ค์ฌ์ ๋ฅ๋ฌ๋ NLP ์ฌํ: LLM ์ํคํ ์ฒ์ ํ์ธํ๋ ์ค์
๊ธฐ์ด๋ ์์ง๋ง ์ค๋ฌด ์ ์ฉ์ด ๋ง๋งํ์ ๊ฐ์? ํ์ ๊ฒฝํ์ ๋ น์ฌ ๋ณต์กํ LLM ๊ตฌ์กฐ๋ฅผ ๋ช ์พํ๊ฒ ํ์ด๋๋ฆฝ๋๋ค.
์๊ฐ์ 575๋ช
๋์ด๋ ์ค๊ธ์ด์
์๊ฐ๊ธฐํ ๋ฌด์ ํ

์ต๊ทผ Google ์ด Tensorflow ์ต์ ๋ฒ์ ์ ๊ธฐ์กด source ์ back testing ์์ ํ ์๋ ๋ถ์์ ํ ์ํ๋ก release ํ๊ณ ์๋ ๊ฒ ๊ฐ์ต๋๋ค. ๋ค์๊ณผ ๊ฐ์ด tensorflow ๋ฅผ ํ์ฌ์ 2.17.0 ์์ ์ด์ ์ ์์ ๋ 2.15.0 version ์ผ๋ก downgrade ํ์ฌ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ์์ต๋๋ค. github source ๋ update ํด ๋์์ต๋๋ค.
# ํ์ฌ์ tensorflow version ์ญ์
!pip uninstall --y tensorflow
# tensorflow version downgrade
!pip install tensorflow==2.15.0
# downgrade ๋์๋์ง ํ์ธ
import tensorflow as tf
print(tf.__version__)
# Downgrade๋ TensorFlow์ ๋ฒ์ ์ ๋ง๋ package ์ค์น
!apt install --allow-change-held-packages libcudnn8=8.1.0.77-1+cuda11.2
# Install the compatible cuDNN version for CUDA 11.8
!apt install --allow-change-held-packages libcudnn8=8.1.0.77-1+cuda11.2
# Uninstall existing TensorFlow and related packages
!pip uninstall -y -q tensorflow keras tensorflow-estimator tensorflow-text
# Install the required protobuf version
!pip install protobuf~=3.20.3
# Install TensorFlow Datasets
!pip install -q tensorflow_datasets
# Install TensorFlow 2.15.0 and TensorFlow Text 2.15.0
!pip install -q -U tensorflow-text==2.15.0
์ด๋ ๊ฒ ํ์๋ฉด T4 GPU ๊ธฐ์ค Colab ์ผ๋ก 1์๊ฐ ์ด๋ด์ training ์์ ๋๋ผ ์ ์์ต๋๋ค.






