๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ443

[Natural Language Processing Model] KOBERT์™€ Finetuning ์‹ค์Šต ๐ŸŒ KOBERT ๋ž€? KOBERT๋Š” Korean Bidirectional Encoder Representations from Transformers์˜ ์•ฝ์ž๋กœ, SKT Brain์—์„œ ๊ณต๊ฐœํ•œ ์ผ์ข…์˜ ๊ธฐ๊ณ„๋ฒˆ์—ญ ๋ชจ๋ธ์ด๋‹ค. KOBERT๋Š” 2018๋…„ Google ์—์„œ ๋ฐœํ‘œํ•œ "BERT"์˜ ํ•œ๊ตญ์–ด ๋ฒ„์ „ ๋ชจ๋ธ๋กœ์„œ ํ…์ŠคํŠธ ๋ถ„๋ฅ˜, ๊ฐœ์ฒด๋ช… ์ธ์‹, ๊ฐ์ • ๋ถ„์„, ๊ธฐ๊ณ„ ๋ฒˆ์—ญ ๋“ฑ์˜ ์ž์—ฐ์–ด ์ฒ˜๋ฆฌ(Natural Language Processing) ์ž‘์—…์—์„œ ๋›ฐ์–ด๋‚œ ์„ฑ๋Šฅ์„ ๋ฐœํœ˜ํ•  ์ˆ˜ ์žˆ๋‹ค. ๐ŸŒ KOBERT Finetuning ์‹ค์Šต 1. ํŒŒ์ด์ฌ ๋ฉ”์ธ ํŒจํ‚ค์ง€ ์„ค์น˜ # ํ†ตํ•ฉ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ์„ ์œ„ํ•œ ipywidgets ํŒจํ‚ค์ง€ ์„ค์น˜ !pip install ipywidgets # GitHub ์ €์žฅ์†Œ์—์„œ ์ตœ์‹  ๋ฒ„์ „์˜ KOBERT๋ฅผ ๋ถˆ๋Ÿฌ์™€ ์„ค์น˜ !pip .. 2023. 6. 3.
[GitHub & Git] GitHub์™€ Git Repository ์ƒ์„ฑ, ์‚ญ์ œํ•˜๋Š” ๋ฐฉ๋ฒ• ๐Ÿฆฉ Git Repository ๋ž€? Repository(์ €์žฅ์†Œ)๋Š” ํ”„๋กœ์ ํŠธ์˜ ๋ชจ๋“  ํŒŒ์ผ๊ณผ ์ด๋ ฅ์„ ํฌํ•จํ•˜๋Š” ๋””๋ ‰ํ† ๋ฆฌ ๋˜๋Š” ์ €์žฅ ๊ณต๊ฐ„์„ ์˜๋ฏธํ•˜๋ฉฐ, ์†Œ์Šค ์ฝ”๋“œ๋‚˜ ํ…์ŠคํŠธ ํŒŒ์ผ, ์ด๋ฏธ์ง€์™€ ์„ค์ • ํŒŒ์ผ ๋“ฑ์˜ ์š”์†Œ๋“ค์„ ํฌํ•จํ•  ์ˆ˜ ์žˆ๋‹ค. Repository(์ €์žฅ์†Œ)๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ํ”„๋กœ์ ํŠธ์˜ ๋ฒ„์ „ ๊ด€๋ฆฌ์™€ ํ˜‘์—… ๋ฐ ๊ณต์œ ๊ฐ€ ์šฉ์ดํ•ด์ง€๊ณ , ๋ณ€๊ฒฝ ์ด๋ ฅ์„ ์ถ”์ ํ•˜๊ณ  ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์–ด ๊ฐœ๋ฐœ ๊ณผ์ •์„ ํšจ์œจ์ ์œผ๋กœ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋‹ค๋Š” ์ด์ ์ด ์žˆ๋‹ค. ๐Ÿฆฉ Repository ์ƒ์„ฑํ•˜๊ธฐ A) Git ์—์„œ Repository ์ƒ์„ฑํ•˜๊ธฐ Repository๋ฅผ ์ƒ์„ฑํ•˜๊ณ ์ž ํ•˜๋Š” ๊ฒฝ๋กœ๋กœ ์ด๋™ ํ›„, Git Bash Here ํด๋ฆญํ•˜์—ฌ Git Bash ์—ด๊ธฐ $ git init git init ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด Git ์ดˆ๊ธฐํ™” ๋ฐ ์ €์žฅ์†Œ ์ƒ์„ฑ git status ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ์ƒ.. 2023. 6. 2.
[GitHub & Git] Git origin ๊ด€๋ จ ๋ช…๋ น์–ด ์ •๋ฆฌ ๐Ÿš— Git origin ์ด๋ž€? Origin์€ ํ˜„์žฌ Git์—์„œ ์ž‘์—…ํ•˜๋Š” ๋กœ์ปฌ ์ €์žฅ์†Œ(Local repository)์™€ ์—ฐ๊ฒฐ๋œ ์›๊ฒฉ ์ €์žฅ์†Œ(remote repository)์˜ ์ฃผ์†Œ(URL)๋ฅผ ๊ฐ€๋ฆฌํ‚ค๋Š” ๋‹จ์ถ• ์ด๋ฆ„์ด๋‹ค. ์ผ๋ฐ˜์ ์œผ๋กœ Origin์€ Git ์ €์žฅ์†Œ๋ฅผ ๋ณต์ œ(clone)ํ•  ๋•Œ ์ž๋™์œผ๋กœ ์ƒ์„ฑ๋˜๋ฉฐ, ์ด Origin์ด ๊ฐ€๋ฆฌํ‚ค๊ณ  ์žˆ๋Š” ์ฃผ์†Œ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋กœ์ปฌ ์ €์žฅ์†Œ์™€ ์›๊ฒฉ ์ €์žฅ์†Œ ๊ฐ„์— ๋ฐ์ดํ„ฐ๋ฅผ ๋™๊ธฐํ™” ๋ฐ ์—…๋ฐ์ดํŠธํ•  ์ˆ˜ ์žˆ๋‹ค. ๐Ÿš— Git origin ๊ด€๋ จ ๋ช…๋ น์–ด ์ •๋ฆฌ 1. Origin ์ƒ์„ฑ ํ˜„์กด ์ €์žฅ์†Œ X = Origin๋„ ์กด์žฌ X GitHub์—์„œ ์ƒˆ๋กœ์šด ์ €์žฅ์†Œ OriginTest ์ƒ์„ฑ Git Bash์—์„œ ์ƒ์„ฑํ•œ ์ €์žฅ์†Œ์™€ Clone ์ง„ํ–‰ + Clone ๊ณผ ๊ด€๋ จ๋œ ์ •๋ณด๋Š” ์•„๋ž˜ ํฌ์ŠคํŒ… ์ฐธ๊ณ  --> https://alim.. 2023. 6. 1.
[GitHub & Git] Git Clone ๊ธฐ๋Šฅ ์‚ฌ์šฉ๋ฒ• ๐ŸŒธ GitHub Clone ๊ธฐ๋Šฅ์ด๋ž€? ์›๊ฒฉ ์ €์žฅ์†Œ(๊นƒํ—ˆ๋ธŒ ์ €์žฅ์†Œ)๋ฅผ ๋กœ์ปฌ ํ™˜๊ฒฝ์œผ๋กœ ๋ณต์ œํ•˜๋Š” ๊ธฐ๋Šฅ์„ Clone ์ด๋ผ๊ณ  ํ•œ๋‹ค. ์ด๋ฅผ ํ†ตํ•ด ์›๊ฒฉ ์ €์žฅ์†Œ์— ์žˆ๋Š” ์ฝ”๋“œ์™€ ํŒŒ์ผ์„ ๋กœ์ปฌ ์ปดํ“จํ„ฐ๋กœ ๊ฐ€์ ธ์™€ ์ž‘์—…ํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ, ์ž‘์—…ํ•œ ๋‚ด์šฉ์„ ๊นƒํ—ˆ๋ธŒ๋กœ ํ‘ธ์‹œ(push)ํ•˜์—ฌ ๋ณ€๊ฒฝ์‚ฌํ•ญ์„ ์—…๋กœ๋“œํ•  ์ˆ˜ ์žˆ๋‹ค. ๐ŸŒธ GitHub Clone ๊ธฐ๋Šฅ ์‚ฌ์šฉ๋ฒ• : Clone ๊ธฐ๋Šฅ์€ ํฌ๊ฒŒ 3๊ฐ€์ง€ ๋ฐฉ๋ฒ•์œผ๋กœ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•˜๋‹ค. (์ด ํฌ์ŠคํŒ…์—์„œ๋Š” HTTPS, SSH ์ด 2๊ฐ€์ง€์˜ ๋ฐฉ๋ฒ•๋งŒ ์–ธ๊ธ‰) HTTPS SSH GitHub CLI 1. HTTPS๋กœ Clone ๊ธฐ๋Šฅ ์‚ฌ์šฉํ•˜๊ธฐ --> Git Bash๋ฅผ ์‹คํ–‰ํ•œ ํ›„, ์•„๋ž˜ ๋ช…๋ น์–ด ์ž…๋ ฅํ•˜์—ฌ Clone ์ƒ์„ฑ $ git clone "https://github.com/์‚ฌ์šฉ์ž์ด๋ฆ„/์ €์žฅ์†Œ์ด๋ฆ„.git" Clone์ด ์™„๋ฃŒ๋˜๋ฉด .. 2023. 5. 31.
[2023_05/31] ๊ต์ˆ˜๋‹˜ ์ƒ๋‹ด๋‚ด์šฉ ๋ณดํ˜ธ๋˜์–ด ์žˆ๋Š” ๊ธ€ ์ž…๋‹ˆ๋‹ค. 2023. 5. 31.
[GitHub & Git] Git remote ๊ด€๋ จ ๋ช…๋ น์–ด ์ •๋ฆฌ ๐Ÿ‰ Git remote ๋ช…๋ น์–ด๋ž€? Remote ๋ช…๋ น์–ด๋Š” Git(๋ถ„์‚ฐ ๋ฒ„์ „ ๊ด€๋ฆฌ ์‹œ์Šคํ…œ)์ด ์›๊ฒฉ ์ €์žฅ์†Œ์™€์˜ ์ƒํ˜ธ ์ž‘์šฉ์„ ์œ„ํ•ด ์ œ๊ณตํ•˜๋Š” ๋ช…๋ น์–ด์˜ ์ผ์ข…์ด๋‹ค. Remote ๋ช…๋ น์–ด๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์›๊ฒฉ ์ €์žฅ์†Œ๋ฅผ ์ œ๊ฑฐ, ์ถ”๊ฐ€ํ•˜๊ฑฐ๋‚˜ ์ˆ˜์ •ํ•˜๋Š” ๋“ฑ์˜ ์ž‘์—…์ด ๊ฐ€๋Šฅํ•˜๊ณ , ์›๊ฒฉ ์ €์žฅ์†Œ์™€์˜ ์—ฐ๊ฒฐ์„ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋‹ค. ๐Ÿ‰ Git remote ๋ช…๋ น์–ด ์ •๋ฆฌ 1. ์ƒˆ๋กœ์šด ์›๊ฒฉ ์ €์žฅ์†Œ ์ถ”๊ฐ€ $ git remote add "์ €์žฅ์†Œ๋ช…" "์ €์žฅ์†Œ URL" ์ถ”๊ฐ€ํ•œ ์ €์žฅ์†Œ๋ช… ์ถ”๊ฐ€ํ•œ ์ €์žฅ์†Œ์˜ URL RemoteTest https://github.com.alimhanhan/RemoteTest.git 2. ๊ธฐ์กด ์›๊ฒฉ ์ €์žฅ์†Œ ์ œ๊ฑฐ $ git remote remove "์‚ญ์ œํ•˜๊ณ ์ž ํ•˜๋Š” ์ €์žฅ์†Œ๋ช…" 3. ํ˜„์กดํ•˜๋Š” ์›๊ฒฉ ์ €์žฅ์†Œ ๋ชฉ๋ก ํ™•์ธ $ git remote -v.. 2023. 5. 30.