๋ฐ˜์‘ํ˜•

๐Ÿ Python & library/Tensorflow 1

[Tensorflow] pretrained BERT๋ฅผ ์ด์šฉํ•œ text classification

Tensorflow tutorial-Classify text with BERT๋ฅผ ๋ฒˆ์—ญ ๋ฐ ์ •๋ฆฌํ•œ ๊ธ€. BERT๋ฅผ ์ด์šฉํ•œ ์˜ˆ์ œ๊ฐ€ ๋Œ€๋ถ€๋ถ„ Huggingface๋ฅผ ์ด์šฉํ•œ ๊ฒƒ์ธ๋ฐ, BERT๋ฅผ ๊ณต๋ถ€ํ•˜๊ธฐ์—๋Š” Huggingface๋ฅผ ์“ฐ์ง€ ์•Š๊ณ  Tensorflow๋‚˜ PyTorch๋ฅผ ์ด์šฉํ•œ ์ฝ”๋“œ๊ฐ€ ๋” ๋‚˜์„ ๊ฑฐ๋ผ๊ณ  ์ƒ๊ฐํ•ด ์ฐพ๋‹ค๊ฐ€ ๋ฐœ๊ฒฌํ–ˆ๋‹ค. ์›๊ธ€ ๋งํฌ: (ํ•œ๊ตญ์–ด ๋ฒˆ์—ญ์ด ์ž˜ ์•ˆ๋˜์–ด ์žˆ์Œ) BERT๋กœ ํ…์ŠคํŠธ ๋ถ„๋ฅ˜ | Text | TensorFlow ์ด ํŽ˜์ด์ง€๋Š” Cloud Translation API๋ฅผ ํ†ตํ•ด ๋ฒˆ์—ญ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. Switch to English BERT๋กœ ํ…์ŠคํŠธ ๋ถ„๋ฅ˜ ์ปฌ๋ ‰์…˜์„ ์‚ฌ์šฉํ•ด ์ •๋ฆฌํ•˜๊ธฐ ๋‚ด ํ™˜๊ฒฝ์„ค์ •์„ ๊ธฐ์ค€์œผ๋กœ ์ฝ˜ํ…์ธ ๋ฅผ ์ €์žฅํ•˜๊ณ  ๋ถ„๋ฅ˜ํ•˜์„ธ์š”. ์ด ํŠœํ† ๋ฆฌ์–ผ์—๋Š” ์ผ๋ฐ˜ www.tensorflow.org Setup prep..

๋ฐ˜์‘ํ˜•