ãã¡ãã¯ã¨ã ã¹ãªã¼ Advent Calendar 2024 2æ¥ç®ã®è¨äºã§ãã
ããã«ã¡ã¯ãAIã»æ©æ¢°å¦ç¿ãã¼ã ã®æ± å¶ï¼@mski_iksmï¼ã§ãã
è¿å¹´ãæ©æ¢°å¦ç¿ã¯å¤ãã®ã¢ããªã±ã¼ã·ã§ã³ã§å½ããåã®ããã«ä½¿ããããã¼ã«ã«ãªãã¤ã¤ããã¾ããã§ããæ©æ¢°å¦ç¿ã¯ãã©ã¤ãã©ãªãå¼ã³åºãã ãã§ç°¡åã«ä½¿ãããã¨ããããã«ã¯ãããªãç¹æã®é£ãããããã¾ãããã ä¾ãã°ãã¢ãã«ã®å¦ç¿å®é¨ã試è¡é¯èª¤ããªããä½åº¦ãç¹°ãè¿ãã¦ãããã¡ã«ããã©ã®ãã¼ã¿ã使ããã©ããªè¨å®ã§å¦ç¿ãããã¢ãã«ãä¸çªè¯ãã£ãã®ãåãããªããªã£ããã¨ããçµé¨ã¯ãªãã§ããããã ã¾ããæ¬çªç°å¢ã§ä½¿ç¨ããã¢ãã«ãå®é¨ç°å¢ã§ä½ã£ããã®ãåç¾ã§ããããå®é¨ã§ã¯ãã¾ããã£ãã®ã«ãæ¬çªã§ã¯ã¤ãã¤ãâ¦ãã¨ãã£ãåé¡ã«ç´é¢ãããã¨ãããæ¹ãå¤ããã¨æãã¾ãã
ãããã課é¡ã«åãçµã¿ãªããæ©æ¢°å¦ç¿ããã¸ã§ã¯ãã®çç£æ§ãåä¸ããããããè¿å¹´ã§ã¯MLOpsã®åãçµã¿ãåºã¾ã£ã¦ãã¾ãã ç§ãã¡ã¨ã ã¹ãªã¼ã®AIã»æ©æ¢°å¦ç¿ãã¼ã ãä¾å¤ã§ã¯ãªããæ¥ã ãã¾ãã¾ãªæ¹åæ´»åãè¡ã£ã¦ãã¾ãã
ãã®è¨äºã§ã¯ãç§ãã¡ã®ãã¼ã ãç´é¢ãã¦ããMLOpsã«ããããããããããªèª²é¡ã¨ããããã解決ããããã®åãçµã¿ã«ã¤ãã¦ãç´¹ä»ãã¾ãã ã¾ãããã¼ã ã§ã¯æ¹åãã¦ãã¦ãå ±æããããããããã«ãç¬èªã®ãã¤ãã©ã¤ã³ãã¼ã«ã§ãã gokart ãéçºã»æ´»ç¨ãã¦ãã¾ãããã®è¨äºã§ã¯ããã®gokartãã©ã®ããã«ä½¿ã£ã¦èª²é¡ã解決ãã¦ãããã«ã¤ãã¦ããä¼ããã¾ãã
ãªããæ¬è¨äºã¯PyCon JP 2024ã§ä½¿ç¨ããè³æãåºã«æ§æãã¦ãã¾ãã
- tl;dr
- gokartã¨ã¯ï¼
- 課é¡1: å®é¨ããæ©æ¢°å¦ç¿ã¢ãã«ã®åç¾æ§ããªã
- 課é¡2: ã¢ãã«ã®ãã¼ã¸ã§ã³ç®¡çãé¢å
- 課é¡3: ç¹å¾´éä½æãã¢ãã«ãã¨ã«ããç´ãã®ãé¢å
- 課é¡4: éçºè ã«ãã£ã¦æ¸ãæ¹ã«ã°ãã¤ãããããæ å½å¤ãããã¯ãã®å¦çã®æµããããããªã
- 課é¡5: ç¹å¾´éä½æã»ã¢ãã«å¦ç¿ã並åå®è¡ããã
- We are hiring!
tl;dr
- ã¨ã ã¹ãªã¼ã§ã¯ãMLOpsã«ããããããããããªèª²é¡ã解æ¶ãããããçµæã®ä¿åãå¦çã®ãã¤ãã©ã¤ã³åãããã¦ã³ã¼ãã®æ¨æºåã»å ±éåã«åãçµãã§ãã¾ã
- ããã«ããããã®è§£æ±ºçããã¼ã å ¨ä½ã§æ¨ªå±éããããããããã«ãç¬èªã®ãã¤ãã©ã¤ã³ãã¼ã« gokart ãéçºã»æ´»ç¨ãã¦ãã¾ã
gokartã¨ã¯ï¼
gokart ã¯ããã¼ã¿å¦çã®æµããå®ç¾©ã»å®è¡ããããã®ãã¤ãã©ã¤ã³ãã¼ã«ã§ãã ã¦ã¼ã¶ã¼ã¯ããã¼ã¿ã®ãã¦ã³ãã¼ããç¹å¾´éã®ä½æãã¢ãã«ã®å¦ç¿ã¨ãã£ãåå¦çããã¿ã¹ã¯ãã¨å¼ã°ããã¯ã©ã¹ã¨ãã¦è¨è¿°ããããããé£çµããããã¨ã§ãã¤ãã©ã¤ã³ãå®ç¾©ãã¾ãã å®è¡æã«ã¯ãgokartãã¿ã¹ã¯éã®ä¾åé¢ä¿ãèªåã§è§£æ±ºããªãããå¦çãã¹ã ã¼ãºã«é²ãã¦ããã¾ãã
gokartã¯ãSpotify社ãéçºãããã¼ã« luigi ããã¼ã¹ã«ããã©ããã¼ã¨ãã¦éçºããã¾ããã æ©æ¢°å¦ç¿ã«ããããããããããªèª²é¡ã解決ãããããåç¾æ§ã®ç¢ºä¿ãå¦çã®å¹çåãªã©ã®ãã¦ãã¦ãæ©è½ã¨ãã¦çµã¿è¾¼ã¾ãã¦ãã¾ãã ç¾å¨ããã¨ã ã¹ãªã¼ã®AIã»æ©æ¢°å¦ç¿ãã¼ã ã®ã¡ã³ãã¼ãä¸å¿ã«ãOSSã¨ãã¦æ´»çºã«éçºãé²ãããã¦ãã¾ãã
AIã»æ©æ¢°å¦ç¿ãã¼ã ã§ã¯ãã»ã¼ãã¹ã¦ã®Pythonãããã¯ãã«ããã¦gokartãæ¡ç¨ãã¦ãã¾ããããã«ããããããã¯ãéã§ãã¦ãã¦ã容æã«å ±æã§ããç°å¢ãæ´ã£ã¦ãã¾ãã
æ¬è¨äºã§ã¯ãæ©æ¢°å¦ç¿ã«ãããå課é¡ãgokartã使ã£ã¦ã©ã®ããã«è§£æ±ºããã¦ããããå ·ä½çã«ãç´¹ä»ãã¦ããã¾ãã
課é¡1: å®é¨ããæ©æ¢°å¦ç¿ã¢ãã«ã®åç¾æ§ããªã
æ©æ¢°å¦ç¿ã¢ãã«ã使ã£ããããã¯ããéçºããéãã¾ãå®é¨ç°å¢ã§ã¢ãã«ä½æã試è¡é¯èª¤ããããç¨åº¦è¯ãã¢ãã«ãã§ãããæ¬çªç°å¢ã«ãããã¤ãããã¨ããæµããä¸è¬çãã¨æãã¾ãã ãã®ã¨ããåç¾æ§ã®è¦³ç¹ãããå®é¨ç°å¢ã¨æ¬çªç°å¢ã§ã¢ãã«ãå®å ¨ã«ä¸è´ãããã¨ãé常ã«éè¦ã§ãã
ããããã¢ãã«ãä¸è´ããªããªãè¦å ã¯ãã¾ãã¾ããã¾ãã ãã¨ãã°ãã¢ãã«ã®ãã¤ãã¼ãã©ã¡ã¼ã¿ãä¿åãå¿ããå ´åãã¢ãã«ã®è¤é度ãç°ãªãå ¨ãå¥ã®ã¢ãã«ãä½ããã¦ãã¾ããã¨ãããã¾ãã ã¾ããã©ã³ãã ã·ã¼ããä¿åããªãã£ãå ´åã§ããå¦ç¿éç¨ãå¤ãããããåç¾ãã§ããªããªã£ã¦ãã¾ãã¾ãã ããã«ãå®é¨ç°å¢ã§ã¢ãã«ãä½æãã¦ããæ¬çªç°å¢ã«ç§»ãéã«ãã¼ã¿ãæ´æ°ããã¦ããã¨ãæ°ãããã¼ã¿ãç¨ãã¦åå¦ç¿ããã¢ãã«ãå¾®å¦ã«ç°ãªã£ã¦ãã¾ãå¯è½æ§ãããã¾ãã
ããããçç±ãããå®é¨ç°å¢ã§ãã¾ããã£ãã¢ãã«ãæ¬çªç°å¢ã§åç¾ãããã¨ãã¦ããæå¾ éãã«åä½ããªããã¨ãããã®ã¯å°ããã®ã§ãã
解決1: å ¨å®é¨çµæãè¨å®ã¨ãã¢ã§ä¿å
å®é¨ç°å¢ã¨æ¬çªç°å¢ã§ã®ã¢ãã«ã®ãºã¬ã¯ãå¦çã®çµæãä¿åãå ±æãããã¨ã§é²ããã¨ãã§ãã¾ãã ä¾ãã°ãç¹å¾´éãã¼ã¿ã®ä½æãªã©åå¦çãçµãã£ãã¿ã¤ãã³ã°ã§çµæããã¡ã¤ã«ã¨ãã¦ä¿åãããããå®é¨ç°å¢ã¨æ¬çªç°å¢ã§å ±æããã°ãåç¾æ§ãä¿ã¤ãã¨ãå¯è½ã§ãã æå ã®PCã§ä½æããã¢ãã«ãæ¬çªç°å¢ã«ã¢ãããã¼ããã¦ãããã¤ããçµé¨ãããæ¹ãå¤ããã¨æãã¾ãããåç¾æ§ãæ ä¿ããããã«ã¯ãããã工夫ãéè¦ã§ãã
gokart ã§ã¯ãåå¦çãã¨ã«çµæãä¿åããä»çµã¿ãçµã¿è¾¼ã¾ãã¦ãã¾ãã gokartã§ã¯ãã²ã¨ã¾ã¨ã¾ãã®å¦çããã¿ã¹ã¯ï¼Taskï¼ãã¨å¼ã°ããã¯ã©ã¹ã§å®ç¾©ããè¤æ°ã®ã¿ã¹ã¯éãä¾åé¢ä¿ã§çµã³ã¤ãããã¨ã§å¦çã®æµããå®ç¾©ãã¾ãã åã¿ã¹ã¯ã¯ãèªåã®å¦çãå®äºããã¨ããã®çµæããã¡ã¤ã«ã«ä¿åãã¾ãã ãã®ä¿åå ã¹ãã¬ã¼ã¸ãå®é¨ç°å¢ã¨æ¬çªç°å¢ã§å ±æãããã¨ã§ãå®å ¨ãªåç¾æ§ãå®ç¾ããä»çµã¿ã«ãªã£ã¦ãã¾ãã
課é¡2: ã¢ãã«ã®ãã¼ã¸ã§ã³ç®¡çãé¢å
解決1ã«ã¦ãã¢ãã«ããã¼ã¿ãå¦çãã¨ã«ä¿åããä»çµã¿ãå°å ¥ãã¾ããããããã«ããä¿åãããã¡ã¤ã«æ°ãå¢ãããã¦ç®¡çãç ©éã«ãªãã¨ããæ°ããªèª²é¡ãçºçãã¾ããã ã¨ããã®ããåå¦çãã¨ã«çµæãã¡ã¤ã«ãä¿åããããããè¨å®ãã¡ã¤ã«ãç¹å¾´éãã¼ã¿ãã¢ãã«ãäºæ¸¬çµæã¨ãã£ãåãã¡ã¤ã«ã®çµã¿åããã管çããå¿ è¦ãçããããã§ãã
ä¾ãã°ãã©ã®å®é¨ã§ä½æããããã¼ã¿ãªã®ããææ¡ããããã«ããã¡ã¤ã«åã«å®é¨çªå·ãå«ãã工夫ã¯èãããã¾ãã ããããããã®å®é¨ã§ã¯ç¹å¾´éãã¼ã¿ã ããä½ãç´ããããã¨ãã£ãã±ã¼ã¹ã§ã¯ããã¹ã¦ã®ãã¡ã¤ã«åãçµ±ä¸ãããã¨ãé£ãããªãå¯è½æ§ãããã¾ãã
ãæ§è½ã®è¯ãã¢ãã«ã¯ã§ããããã©ãã©ã®è¨å®ããã¼ã¿ã®çµã¿åããã§çæãããã®ãåãããªããªã£ããã¨ãã£ãäºæ ãé²ãããã«ãããã¡ã¤ã«ãçµæã®é©åãªç®¡çãæ¬ ããã¾ããããããã管çãå¹ççã«è¡ãä»çµã¿ãæ±ãããã¦ãã¾ãã
解決2: ã¢ãã«ã®ä½ãæ¹ããã¤ãã©ã¤ã³ã¨ãã¦ç®¡ç
ããã§ã®å¯¾çã¯ãã¢ãã«ãç¹å¾´éãã¡ã¤ã«ãã®ãã®ãç´æ¥ç®¡çããã®ã§ã¯ãªããã¢ãã«ã®ä½ãæ¹ãã®ãã®ã管çããã¨ããæ¹æ³ã§ãã ã©ã®ãã¼ã¿ã½ã¼ã¹ã使ç¨ããã©ã®ããã«ç¹å¾´éãä½æããã©ã®ããã«ã¢ãã«ãå¦ç¿ããããã¨ãã£ãä¸é£ã®ããã»ã¹ããã¹ã¦ã³ã¼ãã«è¨è¿°ãã¾ãã ãã®ã³ã¼ãã管çãããã¨ã§ãã¢ãã«ãç¹å¾´éãã¡ã¤ã«ã®çµã¿åãããä¸å çã«ä¿ã¤ãã¨ãå¯è½ã«ãªãã¾ãã
gokart ã¯ãã¾ãã«ãã®ãã¢ãã«ã®ä½ãæ¹ãããã¤ãã©ã¤ã³ã¨ãã¦å®ç¾©ããããã®ãã¼ã«ã§ãã gokartã§ã¯ãå¦çã1ã¤ã®ãã¿ã¹ã¯ï¼Taskï¼ãã¨ãã¦ã¯ã©ã¹ã§è¨è¿°ããããããé£çµããã¦ãã¤ãã©ã¤ã³ãæ§ç¯ãã¾ãã åã¿ã¹ã¯ã®çµæãã©ã®ãã¡ã¤ã«ã«æ ¼ç´ããã¦ãããã¯gokartãèªåã§ç®¡çãã¦ããããããã¦ã¼ã¶ã¼ããã¼ã¿ãã¢ãã«ã®ãã¡ã¤ã«åã®çµã¿åãããè¦ããå¿ è¦ãããã¾ããã
ããã«ãgokartã§ã¯ãã¤ãã©ã¤ã³ã®ã³ã¼ãã¨è¨å®ãå¥ã ã®ãã¡ã¤ã«ã¨ãã¦ç®¡çã§ãã¾ãã æ©æ¢°å¦ç¿ã§ã¯ãä¸é¨ã®ãã©ã¡ã¼ã¿ã ããç°ãªãã¢ãã«ãä½åº¦ã試è¡ãããã¨ãããããã¾ãã ãã®ãããªå ´åãæ¯åã³ã¼ããä¸ããæ¸ãç´ãã®ã¯éå¹çã§ãã gokartã§ã¯ããã¤ãã©ã¤ã³ã®ã³ã¼ãã¨è¨å®ãåãã¦ç®¡çãããã¨ã§ãã³ã¼ãã®åå©ç¨æ§ãåä¸ãããå¹ççã«å®é¨ãé²ããããããã«ãã¦ãã¾ãã
課é¡3: ç¹å¾´éä½æãã¢ãã«ãã¨ã«ããç´ãã®ãé¢å
æ©æ¢°å¦ç¿ã¢ãã«ãä½æããéã«ã¯ãã¢ãã«ã®ç¨®é¡ããã¤ãã¼ãã©ã¡ã¼ã¿ãå¤ããªããä½åº¦ãå®é¨ãç¹°ãè¿ããã¨ãããããã¾ãã ãããã解決ç2ã§è¿°ã¹ãããã«ãã¢ãã«ã®ä½ãæ¹ããã¤ãã©ã¤ã³ã¨ãã¦å®ç¾©ãã¦ããå ´åãè¨å®ãå¤æ´ãã¦å®é¨ãããã³ã«ããã¤ãã©ã¤ã³å ¨ä½ãæåããå®è¡ãç´ããã¨ã«ãªã£ã¦ãã¾ãã¾ãã
å ·ä½çã«ã¯ããã¼ã¿ã®ãã¦ã³ãã¼ããç¹å¾´éã®ä½æã¨ãã£ãå¦çããæ¯åããç´ãå¿ è¦ããããããå ¨ãåãå¦çãä½åº¦ãç¹°ãè¿ããã¨ã«ãªãã¾ãã ããã§ã¯ãå®é¨ãã¨ã«æéããªã½ã¼ã¹ãç¡é§ã«æ¶è²»ãã¦ãã¾ããé常ã«éå¹çã§ãã
解決3: å¿ è¦ãªé¨åã ããéç®ãã¦åå®è¡
ãã®åé¡ã¯ãåå®è¡ãå¿ è¦ãªé¨åãç¹å®ãããã®é¨åã ããåå®è¡ãããã¨ã§è§£æ±ºã§ãã¾ãã ãã¨ãã°ãã¢ãã«ã®å¦ç¿ã ããããç´ãå ´åãå段ã®ãã¼ã¿ãã¦ã³ãã¼ããç¹å¾´éä½æã¯ããç´ãå¿ è¦ããªããããããããã¹ãããããã¢ãã«å¦ç¿ã®é¨åã ããåå®è¡ããã°å¹ççã§ãã
ãããããã®ãããªé¨åçãªåå®è¡ã¯ç°¡åã«å®ç¾ã§ããã§ããããï¼ ã¢ãã«å¦ç¿ã®åå®è¡ã¯å¦çã®ã¹ããããæ確ã«åé¢ããã¦ããããæ¯è¼ç容æã«è¡ãã¾ãããä¸é¨ã®ç¹å¾´éä½æãããç´ãå ´åããã®å¤æ´ãå½±é¿ãåã¼ãé¨åã ããåãåºãã¦åå®è¡ããå¿ è¦ããããé£æ度ãé«ããªãã¾ãã
gokart ã«ã¯ããã®èª²é¡ã解決ããããã®ä»çµã¿ãåãã£ã¦ãã¾ãã åå®è¡ãå¿ è¦ãªã¿ã¹ã¯ãèªåã§å¤å®ãããã®ã¿ã¹ã¯ã¨å½±é¿ãåããä¸æµã®ã¿ã¹ã¯ã ããåå®è¡ããæ©è½ãããã¾ãã ãã¨ãã°ãä¸é¨ã®ç¹å¾´éä½æã¿ã¹ã¯ã ããããç´ãå ´åããã®ã¿ã¹ã¯ã¨ãã®ä¸æµã«ããã¢ãã«å¦ç¿ã¿ã¹ã¯ãªã©ã®ä¾åã¿ã¹ã¯ã ããåå®è¡ãããã以å¤ã®ã¿ã¹ã¯ã¯ã¹ãããããä»çµã¿ã§ãã
ãã®åå®è¡æ©è½ã¯ãgokartã¿ã¹ã¯ã®å¦ççµæãã¡ã¤ã«ãæ¢ã«åå¨ãããã©ããã§å¤æããã¾ãã gokartã§ã¯ãã¿ã¹ã¯ãå®è¡ããéã«ãã¾ã対å¿ããçµæãã¡ã¤ã«ãã¹ãã¬ã¼ã¸ã«åå¨ãããã確èªãã¾ããçµæãã¡ã¤ã«ãè¦ã¤ãã£ãå ´åãã¿ã¹ã¯ã®å¦çãã¹ãããããä¿åæ¸ã¿ã®çµæãã¡ã¤ã«ãèªã¿è¾¼ãã§æ¬¡ã®å¦çã«é²ã¿ã¾ããã¿ã¹ã¯æ¬ä½ã®å¦çãå®è¡ãããã®ã¯ãçµæãã¡ã¤ã«ãåå¨ããªãå ´åãã¤ã¾ãååå®è¡æããã©ã¡ã¼ã¿å¤æ´æã ãã§ãã
ã¿ã¹ã¯çµæãã¡ã¤ã«ã®ååã¯ãã¿ã¹ã¯ã®ãã©ã¡ã¼ã¿ã«ãã£ã¦åçã«æ±ºå®ããã¾ãã ãã¨ãã°ãç¹å¾´éä½æã¿ã¹ã¯ã®å ´åããã¼ã¿ã®ã½ã¼ã¹ãç¹å¾´éã®ä½ãæ¹ããã©ã¡ã¼ã¿ã¨ãã¦æå®ãããããã«åºã¥ãã¦ãã¡ã¤ã«åãçæããã¾ãããã©ã¡ã¼ã¿ãå¤ããã°æ°ãããã¡ã¤ã«åãçæãããæ¢åã®çµæãã¡ã¤ã«ããªããããåå®è¡ãå¿ è¦ã§ããã¨å¤æããã¾ãã
ããã«ãgokartã§ã¯ã¿ã¹ã¯ã®ãã©ã¡ã¼ã¿ã ãã§ãªããä¾åããä¸æµã¿ã¹ã¯ããã®è¨å®ãèªåçã«çµæãã¡ã¤ã«åã«å½±é¿ãä¸ããä»çµã¿ã«ãªã£ã¦ãã¾ãã ãã¨ãã°ãä¸å³ã®ããã«ã¢ãã«å¦ç¿ã¿ã¹ã¯ã®ä¸æµã«ç¹å¾´éä½æã¿ã¹ã¯ãããå ´åãç¹å¾´éä½æã¿ã¹ã¯ã®è¨å®ãã©ã¡ã¼ã¿ãå¤æ´ãããã¨ãããã«ä¾åããã¢ãã«å¦ç¿ã¿ã¹ã¯ã®ãã¡ã¤ã«åãå¤ããã¾ãããã®ä»çµã¿ã«ãã£ã¦ãç¹å¾´éä½æã¿ã¹ã¯ã®å¤æ´ãä¸æµã®ã¢ãã«å¦ç¿ã¿ã¹ã¯ã«å½±é¿ãä¸ãããã¨ãgokartãèªèããå¿ è¦ãªã¿ã¹ã¯ã ããåå®è¡ã§ããããã«ãªãã¾ãã
課é¡4: éçºè ã«ãã£ã¦æ¸ãæ¹ã«ã°ãã¤ãããããæ å½å¤ãããã¯ãã®å¦çã®æµããããããªã
ãã¼ã ã§éçºãé²ãã¦ããã¨ãéçºè ã«ãã£ã¦ã³ã¼ãã®æ¸ãæ¹ã«ã°ãã¤ããåºã¦ãããã¨ãããã¾ãã ã¨ã ã¹ãªã¼ã®AIã»æ©æ¢°å¦ç¿ãã¼ã ã§ã¯ããããã¯ããã¨ã«ã³ã¼ããªãã¸ããªãåãããã¤ã¯ããµã¼ãã¹å½¢å¼ã§éçºãã¦ãã¾ãããã®æ¹å¼ã«ã¯ãæ°ããæè¡ãåãè¾¼ã¿ããããªã£ãããã³ã¼ãã®è²¬ä»»ç¯å²ãæ確ã«ãªã£ããã¨ãã£ãã¡ãªãããããã¾ãã
ãããä¸æ¹ã§ãæ å½è ã«ãã£ã¦æ¸ãæ¹ã«ã°ãã¤ããåºãã¨ãããã¡ãªãããåå¨ãã¾ãã ãã¨ãã°ããã©ã®ã¹ã¯ãªãããã©ã®é çªã§å®è¡ããã°ããã®ãããã¨ã³ããã¤ã³ãã®ãã¡ã¤ã«ãã©ãã«ããã®ããã¨ãã£ãåºæ¬çãªæ§é ãåããã«ããã£ããããã¯ã©ã¹ã®ç²åº¦ããã1è¡ã®é·ããã¨ãã£ãç´°ããæ¸ãæ¹ã®éããç®ç«ã¤ãã¨ãããã¾ãããã®çµæãã³ã¼ããæ¸ããæ¬äººä»¥å¤ã«ã¯ææ¡ãã¥ãããã®ã«ãªã£ã¦ãã¾ãã¾ãã
ãã®åé¡ã¯ç¹ã«ãæ å½è 以å¤ã®ã¡ã³ãã¼ã«ã確èªãã¦ãããå¿ è¦ãããã³ã¼ãã¬ãã¥ã¼ã®å ´ã§é¡èã«ãªãã¾ããã³ã¼ãã®å 容ãç解ããã®ã«æéãããããå¹ççãªã¬ãã¥ã¼ãé£ãããªããã¨ãå°ãªãããã¾ããã
解決4: æ¸ãæ¹ã®æ¨æºåãå¼·å¶ãã
ã¨ã ã¹ãªã¼ã®AIã»æ©æ¢°å¦ç¿ãã¼ã ã§ã¯ãã³ã¼ãã®æ¸ãæ¹ãæ¨æºåãããã¨ã§ãæ¸ãæ¹ã®ã°ãã¤ããæå¶ãããã¼ã å ¨ä½ã§ã®éçºå¹çãåä¸ããã¦ãã¾ãã
ã©ã®ã¹ã¯ãªãããé ã«å®è¡ããã°ããã®ãï¼
gokart ãå©ç¨ãã1ã¤ã®ãã¤ãã©ã¤ã³å ã§ã¿ã¹ã¯ãé£çµãããä»çµã¿ãæ¡ç¨ãã¦ãã¾ãã ããã«ãããç¹å¾´éä½æãã¢ãã«å¦ç¿ã¨ãã£ãå¦çãã¨ã«ã¹ã¯ãªãããåããããããé çªã«å®è¡ããå¿ è¦ããªããªãã¾ãã ããã«ãå ¨å¦çã1ã¤ã®ãã¤ãã©ã¤ã³ã«éç´ãããã¨ã§ãå ¨ä½ã®æµããè¦éãããããªããå¯èªæ§ã¨ä¿å®æ§ãåä¸ãã¾ãã
ã©ãã«ã¨ã³ããã¤ã³ãã®ãã¡ã¤ã«ãããã®ãï¼
cookiecutter ã使ã£ã¦ããã¸ã§ã¯ãã®ãã³ãã¬ã¼ããå®ç¾©ãã¦ãã¾ãã cookiecutterã¯ãããã¸ã§ã¯ãã®ãã³ãã¬ã¼ããåºã«çµ±ä¸ããããã£ã¬ã¯ããªæ§é ãèªåçæãããã¼ã«ã§ããããã«ãããã¨ã³ããã¤ã³ãã®ãã¡ã¤ã«ããã®ä»ã®éè¦ãªãã¡ã¤ã«ã®å ´æãæ確ã«ãªããæ°è¦ã¡ã³ãã¼ã§ãããã¸ã§ã¯ãæ§é ãããã«ææ¡ã§ããããã«ãªãã¾ãã
ãã ããcookiecutterã§ãã³ãã¬ã¼ããé©ç¨ããã®ã¯ãªãã¸ããªä½ææã®ã¿ã§ãããã®ããããã³ãã¬ã¼ãã«å¤æ´ãå ããããå ´åããããæ¢åã®ããã¸ã§ã¯ãã«åæ ã§ãã¾ããã
ãã®èª²é¡ã解決ããããããã¼ã ã§ã¯ cruft ãä½µç¨ãã¦ãã¾ãã cruftã¯ãç¾å¨ã®ããã¸ã§ã¯ãã¨ææ°ã®cookiecutterãã³ãã¬ã¼ãã¨ã®éã®å·®åãæ¤åºãããããæ¢åã®ãªãã¸ããªã«åæ ãããã¼ã«ã§ããããã«ããããã³ãã¬ã¼ãã®æ´æ°å 容ã常ã«ããã¸ã§ã¯ãã«é©ç¨ã§ããä»çµã¿ãæ´ã£ã¦ãã¾ãã
ã¯ã©ã¹ã®ç²åº¦ã1è¡ã®é·ããªã©ãç´°ããæ¸ãæ¹ã®éããæ°ã«ãªã
AIã»æ©æ¢°å¦ç¿ãã¼ã ã§ã¯ããç´°ããæ¸ãæ¹ã®ã«ã¼ã«ã¯Linterã«ä»»ããããã¨ããèãæ¹ãæ¡ç¨ãã¦ãã¾ãã
2024å¹´11æç¾å¨ãã³ã¼ãã®ãªã³ã/ãã©ã¼ããããã¼ã«ã¨ã㦠ruff ã使ç¨ãã¦ãã¾ãã ruffã¯é常ã«é«éã§åä½ãããããéçºä½æ¥ã®å¦¨ãã«ãªãããèªåçã«ã³ã¼ããã©ã¼ããããæ´ãã¦ããã¾ããããã«ãããã³ã¼ãã¹ã¿ã¤ã«ãçµ±ä¸ãããã¬ãã¥ã¼ãä¿å®ã®è² æ ãå¤§å¹ ã«è»½æ¸ããã¦ãã¾ãã
ã¾ããgokartã®æ¸ãæ¹ã«ã°ãã¤ããåºãåé¡ã«å¯¾ãã¦ããç¬èªã«ã¼ã«ãè¨å®ããLinterãæ´»ç¨ãã¦å¯¾å¿ãã¦ãã¾ããããã«ããããã¼ã å ã§ã®çµ±ä¸çãªæ¸ãæ¹ãç¶æãããéçºå¹çãåä¸ãã¦ãã¾ãã
詳ããå 容ã«ã¤ãã¦ã¯ã以ä¸ã®ããã°è¨äºãã覧ãã ããã
課é¡5: ç¹å¾´éä½æã»ã¢ãã«å¦ç¿ã並åå®è¡ããã
ãã¼ã¿ã®ãã¦ã³ãã¼ããç¹å¾´éä½æã¯ãè¤æ°ã®ã¿ã¹ã¯ã«åå²ã§ãããã¨ãããããã¾ãã ãã¨ãã°ããã¼ã¿ãã¦ã³ãã¼ããæåä½ã§è¡ã£ãããç¹å¾´éä½æãã«ãã´ãªãã¨ã«åãã¦å¦çãããããå ´åã§ãããããã®å¦çã¯äºãã«ä¾åé¢ä¿ããªããã¨ãå¤ãããã並åå®è¡ãå¯è½ãªã±ã¼ã¹ãããã¾ãã
ããããããã«ãããããããå¦çãç´åã«å®è¡ãã¦ããã¨ãä¸è¦ãªå¾ ã¡æéãçºçãããããªã½ã¼ã¹ãå¹ççã«ä½¿ãããªãåé¡ãçãã¾ãã 並ååã§ããå¦çãç´åã§é²ãããã¨ã§ãå ¨ä½ã®å¦çæéãé·å¼ããããã¸ã§ã¯ãã®é²è¡ã«æªå½±é¿ãä¸ãããã¨ãå°ãªãããã¾ããã
解決5: åæ£å¦çãè¡ã
ä¾åé¢ä¿ã®ãªãç¬ç«ããã¿ã¹ã¯ãè¤æ°ã®ãã¼ãã«åæ£ããããã¨ã§ãå¦çæéãå¤§å¹ ã«ç縮ã§ããå ´åãããã¾ãã ãã ãããã®æ¹æ³ãå®ç¾ããããã«ã¯ãã©ã®å¦çãã©ã®ãã¼ãã«å²ãæ¯ãã®ããé©åã«æ±ºå®ããå¿ è¦ãããã¾ãã
gokart ã¯åæ£å¦çããµãã¼ããã¦ããããããç°¡åã«å®ç¾ããä»çµã¿ãåãã£ã¦ãã¾ãã gokartã§åæ£å¦çãè¡ãéã¯ãè¤æ°ã®ãã¼ãã«åä¸ã®ãã¤ãã©ã¤ã³ãæå ¥ããã ãã§å®ç¾å¯è½ã§ããgokartã«ã¯ãã¿ã¹ã¯ã®å®è¡é åºãã©ã³ãã ã«ããæ©è½ãããã©ã«ãã§åãã£ã¦ãããåä¸ã®åªå 度ãæã¤ã¿ã¹ã¯ãããå ´åãä¸å³ã®ããã«ã©ã³ãã ãªé çªã§ã¹ã±ã¸ã¥ã¼ã«ããã¾ãã
ããã«ã解決ç3 ã§ç´¹ä»ããããã«ãgokartã«ã¯ä¸åº¦å®äºããã¿ã¹ã¯ãåå®è¡ããªãæ©è½ãããã¾ãããã®ãããåãã¼ããã©ã³ãã ãªé åºã§ã¿ã¹ã¯ãå®è¡ãã¦ãããã§ã«ä»ã®ãã¼ãã§å®äºããã¿ã¹ã¯ã¯ã¹ãããããã¾ãã
ãããã®ä»çµã¿ãããªãã¡ãã¿ã¹ã¯ã®ã©ã³ãã ãªå®è¡é åºãã¨ãåå®è¡ã®æå¶ããçµã¿åããããã¨ã§ãgokartã¯å¹ççãªåæ£å¦çãå®ç¾ãã¦ãã¾ãã
We are hiring!
æ©æ¢°å¦ç¿ã®éçºã«ã¯å¤ãã®è©¦è¡é¯èª¤ãä¼´ãã¾ãããå®é¨ç®¡çãæ··ä¹±ããããã¨ãã£ã課é¡ãã¤ããã®ã§ãã å®å®ããæ¬çªéç¨ãå®ç¾ããããã«ã¯ã管çã³ã¹ããæãã¤ã¤ãåç¾æ§ã»åå®è¡æ§ã»æ¨æºåãå¾¹åºããå¿ è¦ãããã¾ãã ãããã®èª²é¡ã解決ãããã¦ãã¦ãè©°ãè¾¼ãã ã©ã¤ãã©ãªã¨ãã¦ãç§ãã¡ã¯ gokart ãéçºãã¦ãã¾ãã
ã¨ã ã¹ãªã¼ã§ã¯ããã®gokartãæ´»ç¨ãã100ãè¶ ãããã¤ã¯ããµã¼ãã¹ã«ãã¦ãã¦ã横å±éãã¦ãã¾ãã gokartãéãã¦ãæ©æ¢°å¦ç¿ããã¸ã§ã¯ãã®å¹çåã¨å質åä¸ãå®ç¾ãã¦ãã¾ããã
ç¾å¨ãã¨ã ã¹ãªã¼ã®AIã»æ©æ¢°å¦ç¿ãã¼ã ã§ã¯ãããããMLOpsã®æ¹åã«èå³ã®ããæ¹ãç©æ¥µçã«æ¡ç¨ä¸ã§ãã èå³ããæã¡ã®æ¹ã¯ããã²æ¬¡ã®ãªã³ã¯ãããå¿åãã ãããçããã¨ä¸ç·ã«MLOpsã®èª²é¡ã解決ããæªæ¥ãä½ãããã¨ã楽ãã¿ã«ãã¦ãã¾ãï¼