2023-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¯ããã« 2023å¹´ã大å¤ãä¸è©±ã«ãªãã¾ããã´ããï¼ nikkieã ã´ããï¼ ãããå¹´ããè¿ããã ããã´ããã´ããã1 å æ¥OpenAPIä»æ§ãæ¸ãã¦ãGPTããSlackã«æ稿ãã¾ããã ãã®ä¸ã§OpenAPIä»æ§ã«ãããå¯è½æ§ãæããã®ã§ãã¡ãã£ã¨èå³ã®åãã¾ã¾ã«ç´ æ¯ããâ¦
ã¯ããã« å¸å½ã«æ å ããï¼ nikkieã§ãã å¹´å§ã«çæAIæ¬ã»ChatGPTæ¬åºçã©ãã·ã¥ãæ§ããçãä¸ãã£ã¦ãã¾ããã ãããªä¸ããæãã試ããããªã£ãChatGPTï¼GPT-4ï¼ã®å©ç¨ä¾ã§ãã 人é¡ç·ããããè¨ç»ã¸ã®ä¸æ©ã¨ãªãããã¨ãï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ 2024å¹´1â¦
ã¯ããã« ç´ä»£åã¡ãããèªçæ¥ããã§ã¨ããããã¾ãï¼ nikkieã§ãã GPTsããSlackã¸æ稿ã§ãããã¨ãç¥ããã©ãè¨å®ãã¦ããã®ãæ°ã«ãªãã¾ããã è¨å®æ¹æ³ãåãã£ãã®ã§ã¢ã¦ãããããã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ããããã¦ãGPTsããSlackã«æ稿ãã§ãâ¦
ã¯ããã« å±ãããã¦ãã ããï¼ nikkieã§ãã ãã®ãããçãã£ãã®ã§ãããGitHub Actionsã§ãã«ããã¦Docker Hubã«ä¸ããã¤ã¡ã¼ã¸ãM1 Macã§ã¯åãããªãã¨ããäºè±¡ã«ç´é¢ãã¾ããã ããã解決ããããã®ãã«ããã©ãããã©ã¼ã ãã«ãã«ã¤ãã¦è¨äºã«ãã¾â¦
ã¯ããã« ã¯ã¼ãã»ã¼ã¼ã¼ã¼ã¼ï¼ï¼ nikkieã§ã ã¿ã¤ãã«ãå ¨ã¦ã§ãã 鬼ãçç¬ãã¦ãã¨æãã¾ããã2024å¹´2æ11æ¥ã¯å¤§éªã§ãä¼ããã¾ãããï¼ ç®æ¬¡ ã¯ããã« ç®æ¬¡ PHPã«ã³ãã¡ã¬ã³ã¹é¢è¥¿2024 ãªã¹ã¹ã¡noteï¼ ãä»ãã追ãã¤ãï¼ãPHPã«ã³ãã¡ã¬ã³ã¹é¢è¥¿2024 1â¦
ã¯ããã« æ±æµ·æããããã£ãããã£ãããããããã¾ãã¦ããnikkieã§ãã ãã£ããé ããªã£ã¦ãã¾ãã¾ãããã11/30(æ¨)ã®Guidoæ°ã¤ã³ã¿ã©ã¯ãã£ãè¨å¿µè¬æ¼ä¼ãè¨äºã«ãã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ Guidoæ°ã¤ã³ã¿ã©ã¯ãã£ãè¨å¿µè¬æ¼ä¼ Guidoããï¼ä¿ºã®ä½ã£ãâ¦
ã¯ããã« RAISE THE DREAM!!! nikkieã§ãã ããªã¢ã12話ãæãåºãã ãã§æ³£ãã身ä½ã«ããã¦ãã¾ã£ã1ã®ã§ãããä»åã¯æè¡ãã¿ã Pythonã§raiseãããã®ã¨ãã£ãããä¾å¤ï¼2 Pythonã®ä¾å¤ã®æ±ããå ·ä½çã«è¨ãã¨try ... exceptã®exceptç¯ã«ã¤ãã¦åãä¸ãâ¦
ã¯ããã« nikkieã§ãã 12/24æ¾éã®ããªã¢ã12話ãæé«ã§ããã ã»ãã£ã£ã£ã¨ãã«ãããã£ãã§ã 8æã®åå ´å è¡ä¸æ ãã¶ã£åºãã£ã¦ä»¥æ¥ããã®ããã°ã«ããªã¢ãæªææ¸â¤ï¸ããã³ãã³æ稿ãã¦ãã¾ããã ä»åã¯12話ï¼æçµè©±ï¼ç·¨ã§ãã ãããè½ã¨ãå ¬æ¼ã®ãã好â¦
ãã®è¨äºã¯ç¹å¥ãé¡ãè²·ã£ã¦ããã£ã2023ãåå è¨äºã§ãã ⶠãPRãã¯ã¦ãªããã° ãAIã¿ã¤ãã«ã¢ã·ã¹ãããªãªã¼ã¹è¨å¿µ ç¹å¥ãé¡ãã£ã³ãã¼ã³ by ã¯ã¦ãªããã° ã¯ããã« å¿ããããªããã ãnikkieã§ãã è²·ã£ã¦ããã£ã2023ã¨ãããã¨ã§ãã¿ã¼ã³ãªã³ããã®ãâ¦
ãã®è¨äºã¯ Uzabase Advent Calendar 2023 22æ¥ç®ã§ãã æ¨æ¥ï¼21æ¥ç®ï¼ã¯ã¿ã¤ã½ã³ããã«ãããååä»ãã³ã³ã¹ãã©ã¯ã¿ã使ãããã§ããã ããªãã¸ã§ã¯ãã®çææ段ãè¤æ°æä¾ã§ãããããã¡ã¤ã³åºæã®è¨èã§ãªãã¸ã§ã¯ããä½ããããããã¯è³¢ããªããå¦ã³â¦
ç¾æç¹ã®ç解 Pythonã®æ¨æºã©ã¤ãã©ãªurllib.request.urlopenã使ã£ã¦HTTPéä¿¡ããã¨ã403 Forbiddenãè¿ã urllib.error.HTTPError: HTTP Error 403: Forbidden åãURLã«requestsã使ãã¨ã403ã¯çºçããªãï¼æ£å¸¸ã«æ±ããï¼ Cloudflareãurllibã®ããã©ã«â¦
ã¯ããã« ã©ããã楽ãã¿ã« nikkieã§ã æè¿ã®å°ããªçºè¦ãã»ãã³ãã³ãå«ããContent-Typeæå®ã«ã¤ãã¦ã§ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ãã£ããã¯Unstructured MDNã®Content-Typeï¼HTTPãããã¼ï¼ æ·±æã Content-Typeï¼RFC 2045ï¼ çµããã« P.S. åé ã®æ¶ã®è¨³â¦
ã¯ããã« ããã§ã¯LTãã¦ããã¾ãã ã¿ã¤ãã«ã¯ã1å¹´éãæ¯æ¥ããã°ãæ¸ãã¾ããï¼ãã§ã ç®æ¬¡ ã¯ããã« ç®æ¬¡ åæå ±æï¼ããã°ãªã®ã«LTãå§ã¾ã£ããï¼ï¼ çºè¡¨è³æ ãåã誰ã nikkieã¯ä»å¹´ãä½ã«ãã£ã¬ã³ã¸ããï¼ æ¯æ¥ããã°ãæ¸ãã¦çµé¨ããã㨠æ¯æ¥ããâ¦
ã¯ããã« ã¡ããã¼ã£ãï¼ãã¤ãã¹ããã¦ããnikkieã§ããã¦ã±ã æ¥ã12/19(ç«)ã«å¿å¹´LTãã¾ã1ã ä»å¹´ã®ãã£ã¬ã³ã¸ã¨ãã¦1æ¥1ã¨ã³ããªãåãä¸ãã¾ãã 5åãã溢ãã¦ãã¾ããããã¯ãã¨ã³ããªã«ãããã¨ã«ãã¾ããã ä»åã¯å°ããªã¢ã¦ãããããç¶ç¶ãããâ¦
ã¯ããã« ããªã·ã¿ã®å¹´æ«ã®ã£ã«ã¤ãã®æ°æ²ãã¢ã¤ããã®ãã¥ã¼ã¸ã«ã«æ²ã®ä½è©ã»ä½æ²ã®ãäºäººãããï¼ ã¨ã¢ããããã nikkieã§ãã XPã®ãã©ã¯ãã£ã¹ã®1ã¤ããã¼ã å ¨ä½ï¼Whole Teamï¼ã«ã¤ãã¦ããã¤ãã®æ¬ããã¤ã³ããããã¾ããã ç¾æç¹ã®ç解ãããã¯ã¢ãâ¦
ãã®è¨äºã¯ ã¡ãããã¤æ¬ 1 å¨å¹´ Advent Calendar 2023 16æ¥ç®ã§ãã 1å¨å¹´ããã§ã¨ããããã¾ãï¼ ãããããã°çããããç¥ããã¾ãããï¼ ã¢ã¼ããã¯ãã£ã¨ããååã¨ãããã¿ã¼ã³ã¨ããã¤ã©ã¹ãããããã¨ãããªãã§ãOKã§ããã ã¯ããã« å¤æ´ããããâ¦
ã¯ããã« å¤æ´ããããã³ã¼ããæ¸ããªãã®ã«ã½ããã¦ã§ã¢éçºã¨ãèãã¦ããã®ã§ãã 天使æ§1ããããªããããnikkieã§ãã ããããããã¨æè¡æ¸ã夢ã®åä½ãæããããã¡ãããã¤æ¬ï¼ãã¡ãããã¤ã½ããã¦ã§ã¢è¨è¨å ¥éãï¼ï¼ èªæ¸ä¼ãå ±å主å¬ãã¦ããã第â¦
ã¯ãã㫠次ã¯ã®ã£ã«ãnikkieã§ãã ä»åã¯ããªã·ã¿ã«æ¯ã£ããã¤ãã³ãèµ°ç ´ãã°ã§ãã â»ã²ã¼ã å ã®ãã¿ãã¬æ³¨æäºé ãå½ã¦ã¯ã¾ãå¯è½æ§ã«æ°ã¥ããã®ã§ãããªã¢ãã®ãã¿ãã¬ã«æ³¨æãã¦ããæ¹ã¯ããã§å¼ãè¿ãã®ãæ¨å¥¨ãã¾ã ãã¤ãããã¾ã§ããï¼ #ããªã·ã¿ãªâ¦
ã¯ããã« #ã©ãã©ã¤ãã¼ã«è¦ã¦æ¬²ããã¢ã¤ãã¹å ¬å¼çµµ ã§æ¶è ºå´©å£ ç°æ¬¡å ãã§ã¹ã®ä½é»ã§å¤¢è¦å¿å°ãªnikkieã§ãã åå¨ãç¥ã£ãèå³æ·±ãã©ã¤ãã©ãªã®ç´ æ¯ãï¼åæï¼ã§ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ Unstructured LangChainã使ã£ã¦ã¾ã1 partition åä½ç°å¢ Webã®URLâ¦
ã¯ããã« ã¿ããªããããæ¬æã£ã¦ã¦ãããªã¢ï¼ï¼ããããæ¬ããã«ããããï¼æ¬ããã«ï¼ï¼ èªç§° Pythonçã®ä¸å°¾ç¾ååãnikkieã§ãã ä»å¹´ãå¹´ã®ç¬ã®æ¬ããã«ã®ãæéã§ãï¼æ票ã¯12/10ã§ç· åï¼ã 2023å¹´ã®ããããæ¬ãèªã£ã¦ããã¾ãï¼ ãITã¨ã³ã¸ãã¢æ¬å¤§è³â¦
ã¯ããã« ã¸ã£ã³ã°ã«ãã¼ãã£ã¼ï¼ï¼ ç°æ¬¡å ãã§ã¹ãè¡ã£ã¦ãã¾ãããnikkieã§ã E5ã¯transformersãã触ã£ã¦ãããã®ã§ãããsentence-transformersããã ã¨ï¼ç¹å®ã®ãã¼ãºãæºããã³ã¼ãã¯ï¼æ°è¡ã§æ¸ããã¨ãããã¨ãè¦ã¦ããã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ mulâ¦
ãã®è¨äºã¯ ã¢ãã¡ã«ã¤ãã¦ç±ãèªã Advent Calendar 2023 11æ¥ç®ã§ã1ã éå»ã®æ¥ä»å«ãã¦ååããã空ãã¦ã¾ãã®ã§ãèªãããã¢ãã¡ãããæ¹ããã²ãã²ãï¼ç§ã¯èªããèãããã§ãï¼ï¼ ã¯ããã« éå ã§ã¯ãªããå è¡ã®ãnikkieã§ãã 12/10æ¾éã®ããªã¢ã10â¦
12/9ã¯æ©æ¢°å¦ç¿ã³ã³ãã«æ³¨åãã¾ããã ã¨ã³ããªãã¿ãå¥ã«ç¨æããä½åããªãã¨ããã¾ã§ãã£ãã®ã§ã1æ¥ã®ãã°ãæ¸ãæ®ããã¨ã«ãã¾ããã ãªããã³ã³ãã«é¢ä¿ããæ å ±ã¯ãã£ã¹ã«ãã·ã§ã³ã«åºããã»ããããã¨èãã¦ããã®ã§ãã³ã¼ããèå¯ã¯å«ã¿ã¾ããã â¦
ã¯ããã« ãã©ããã©ã³ã«ã¼ï¼ï¼ nikkieã§ã transformersã»PyTorchã®çµåãã§ãæã®embeddingsãå¾ãã³ã¼ãã§ç解ããããã¨ãããã¾ããã ç解ãæ·±ããç®çã§ãã®è¨äºã§ã¢ã¦ãããããã¾ãã ç®æ¬¡ ã¯ããã« ç®æ¬¡ E5 åèæç® average_poolé¢æ°ãä½ããã£ã¦â¦
ã¯ããã« ãªã¬ã³ã¸ãããªã¯ããã¤ãããã¾ã§ããï¼ nikkieã§ã ä¹ ã ã®æ®ããåãã¨ã³ããªã§ãï¼ã¤ããã½ããªãããï¼ã æè¿ä½ã£ã¦ããã©ã¤ãã³ã©çã調çã¹ãã«é§ãåºãã«ãããã & ããããã§ã ç®æ¬¡ ã¯ããã« ç®æ¬¡ ããã¾ã§ã® nikkie as 調çã¹ãã«é§ãâ¦
ç°¡æçã§ãéããã¾ããã¿ã¤ãã«ãå ¨ã¦ã§ãï¼ Python 3.11ããµãã¼ãããæ°ãã¼ã¸ã§ã³ããªãªã¼ã¹ãã¦ãã¾ãã ç®æ¬¡ ç®æ¬¡ ååã®SpeechRecognition Python 3.11ã¯ãµãã¼ãããªãã®ï¼ã¨ããissue ã¢ãã¯ã使ã£ããã¹ãã³ã¼ãã«å¤æ´ãã¦ãã çµããã« P.S.ãªãªâ¦
ã¯ããã« ä»ã§ããªããã¨ããã£ã¦ã大ä¸å¤«â nikkieã§ã è¿æ³ã§ããã11/30ããã¯ããªã·ã¿ã®ãªã¬ã³ã¸ãããªã¯ ã¤ãã³ãã§UR èææç¶æ ã§ã ãããª11/30ã«ãPython Distilledãã®è©¦é£²ä¼ã«åå ãã¦ãã¾ããã ã¡ãªã¿ã«11/30ã¯Guidoããmeetupã«åå ããå¾ãä¼â¦
ãã®è¨äºã¯ Django Advent Calendar 2023 4æ¥ç®ã§ãã 1æ¥ç®ã3æ¥ç®ãªã©ç©ºããããã¾ãã®ã§ãDjangoã«é¢ä¿ããã¢ã¦ãããããã¿ãããæ¹ã¯ãã²ã©ããã ã¯ããã« ä»ã§ããªããã¨ããã£ã¦ã大ä¸å¤«ãnikkieã§ãã å¤æ´ããããã³ã¼ãã«é¢å¿ããããã¡ãããã¤â¦
ã¯ããã« 9話ãã¡ããã¡ããã nikkieã§ãã ãã®è¨äºã¯ã¢ãã¡ã«æ¯ãåããããªã¢ã9話ã§å¤§å¥½ããªã»ãªããååã«èªã£ã¦ããã¾ãã åå ´å è¡ä¸æ ãã¶ã£åºãã£ã¦ãã¾ãããã®ããã°ã«ããã³ãã³æªææ¸â¤ï¸ãæ稿ãã¦ãã¾ããããããã3å¹ã«é¢ããæªææ¸ãå ¬éã§â¦
èªæ¸ãã° | #ã¡ãããã¤æ¬ 第8ç« Template Methodãã¿ã¼ã³ ãç©´åãåé¡ã«ããã
ã¯ããã« ãªã¬ã³ã¸ãããªã¯ããã£ã¡ãããã... UR èææç¶æ ã®nikkieã§ã1 ã¡ãããã¤æ¬èªæ¸ãã°ã·ãªã¼ãºåé ã®ãã¤ãã®ãã¤ãããã¾ãããã å¤æ´ããããã³ã¼ããæ¸ããªãã®ã«ã½ããã¦ã§ã¢éçºã¨ãèãã¦ããã®ã§ãã 天使æ§2ããããªããã ãããããâ¦