GPT-3¤ËɤŨ¤¹¤ë¥Á¥ã¥Ã¥ÈAI¥â¥Ç¥ë¡ÖLLaMA¡×¤òiPhone¤äPixel¤Ê¤É¤Î¥¹¥Þ¥Û¤ÇÆ°¤«¤¹¤³¤È¤ËÀ®¸ù
Meta¤ÎAI¸¦µæÁÈ¿¥¤Ç¤¢¤ëMeta AI Research¤¬¡¢2023ǯ2·î24Æü¤Ëȯɽ¤·¤¿Â絬ÌϸÀ¸ì¥â¥Ç¥ë¡ÖLLaMA(Large Language Model Meta AI)¡×¤Ï¥Ñ¥é¥á¡¼¥¿¡¼¿ô¤Î¾®¤µ¤µ¤«¤é¡¢Ã±ÂÎGPU¤Ç¤âÆ°ºî²Äǽ¤È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£¤½¤ó¤ÊLLaMA¤ò¡¢iPhone¤äPixel¤È¤¤¤Ã¤¿¥¹¥Þ¡¼¥È¥Õ¥©¥ó¤ÇÆ°ºî¤µ¤»¤ë¤³¤È¤Ë¥¨¥ó¥¸¥Ë¥¢¤Îanishmaxxing»á¤¬À®¸ù¤·¤¿¤ÈÊó¹ð¤·¤Æ¤¤¤Þ¤¹¡£
https://twitter.com/thiteanish
Meta AI Research¤¬È¯É½¤·¤¿LLaMA¤ÏWikipedia¤äCommon Crawl¡¢C4¤Ê¤É¤Î°ìÈ̤˸ø³«¤µ¤ì¤Æ¤¤¤ë¥Ç¡¼¥¿¥»¥Ã¥È¤Ç³Ø½¬¤¬¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹¡£°ìÊý¤ÇOpenAI¤¬Ä󶡤¹¤ë¡ÖGPT-3¡×¤Ê¤É¤Î¸À¸ì¥â¥Ç¥ë¤Ï°ìÉôÈó¸ø³«¤Î¥Ç¡¼¥¿¥»¥Ã¥È¤ò»ÈÍѤ·¤Æ³Ø½¬¤ò¹Ô¤¤¤Þ¤·¤¿¡£¤½¤Î¤¿¤á¡¢LLaMA¤Ï¥ª¡¼¥×¥ó¥½¡¼¥¹¤È¸ß´¹À¤Î¤¢¤ëºÆ¸½²Äǽ¤Êºî¶È¤¬²Äǽ¤È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
¤µ¤é¤ËGPT-3¤Î¥Ñ¥é¥á¡¼¥¿¡¼¿ô¤¬1750²¯¤Ç¤¢¤ë¤Î¤ËÂФ·¤Æ¡¢LLaMA¤Ï¤Î¥Ñ¥é¥á¡¼¥¿¡¼¿ô¤Ï70²¯¤«¤é650²¯¤È¤«¤Ê¤ê¾¯¿ô¤Ç¤¹¡£¤·¤«¤·BoolQ¤äPIQA¤Ê¤É¤Î¥Ù¥ó¥Á¥Þ¡¼¥¯¤ò¹Ô¤Ã¤¿¤È¤³¤í¡¢°ìÉô¤Î¥Æ¡¼¥Þ¤Ç¤ÏLLaMA¤ÏGPT-3¤ò¾å²ó¤ëÀǽ¤ò¼¨¤·¤Æ¤¤¤Þ¤¹¡£
¥Ñ¥é¥á¡¼¥¿¿ô¤È¤Ï¡¢µ¡³£³Ø½¬¥â¥Ç¥ë¤¬¥Ç¡¼¥¿¤Ë´ð¤Å¤¤¤Æͽ¬¤äʬÎà¤ò¹Ô¤¦¤¿¤á¤ÎÊÑ¿ôÎ̤ǡ¢µ¡³£³Ø½¬¥â¥Ç¥ë¤ÎÀǽ¤òº¸±¦¤¹¤ë»Øɸ¤Ç¤¹¡£¥Ñ¥é¥á¡¼¥¿¡¼¿ô¤¬Â礤±¤ì¤ÐÂ礤¤¤Û¤É¤è¤êÊ£»¨¤Ê¥¿¥¹¥¯½èÍý¤¬°ÂÄꤷ¤Þ¤¹¤¬¡¢Æ±»þ¤Ëµá¤á¤é¤ì¤ë¥³¥ó¥Ô¥å¡¼¥¿¡¼¤ÎÀǽ¤â¹â¤¯¤Ê¤ê¤Þ¤¹¡£°ìÊý¤ÇLLaMA¤Ï¥Ñ¥é¥á¡¼¥¿¡¼¿ô¤¬¾®¤µ¤¤¤Ê¤¬¤é¤âGPT-3¤Î¤è¤¦¤ÊÂ絬ÌϸÀ¸ì¥â¥Ç¥ë¤ÈƱÅù¤Î¥¿¥¹¥¯½èÍý¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤¤ë¤³¤È¤«¤é¡¢¥³¥ó¥·¥å¡¼¥Þ¡¼¥ì¥Ù¥ë¤Î¥Ï¡¼¥É¥¦¥§¥¢´Ä¶¤Ç¤âÆ°ºî¤¹¤ë²ÄǽÀ¤¬µó¤²¤é¤ì¤Æ¤¤¤Þ¤¹¡£
Meta¤¬Â絬ÌϸÀ¸ì¥â¥Ç¥ë¡ÖLLaMA¡×¤òȯɽ¡¢GPT-3¤ËɤŨ¤¹¤ëÀǽ¤Ê¤¬¤éñÂΤÎGPU¤Ç¤âÆ°ºî²Äǽ - GIGAZINE
¤Þ¤¿¡¢70²¯¤«¤é650²¯¤È¤¤¤¦¥Ñ¥é¥á¡¼¥¿¡¼¿ô¤Î¾®¤µ¤µ¤«¤é¡¢LLaMA¤ÏM1¤Ê¤É¤ÎApple ¥·¥ê¥³¥óÅëºÜMac¤ÇÆ°ºî¤¹¤ë¤³¤È¤¬¤³¤ì¤Þ¤Ç¤ËÊó¹ð¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
GPT-3¤Î¥é¥¤¥Ð¥ë¤È¤Ê¤ëMeta¤Î¡ÖLLaMA¡×¤òM1ÅëºÜMac¤Ç¼Â¹Ô²Äǽ¤Ë¡¢Â絬ÌϸÀ¸ì¥â¥Ç¥ë¤òÉáÄ̤ξÃÈñ¼Ô¸þ¤±¥Ï¡¼¥É¥¦¥§¥¢¤Ç¼Â¹Ô²Äǽ¤Ç¤¢¤ë¤³¤È¤¬¼¨¤µ¤ì¤ë - GIGAZINE
¥¨¥ó¥¸¥Ë¥¢¤Îanishmaxxing»á¤Ï2023ǯ3·î14Æü¤ËWeb ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥Õ¥ì¡¼¥à¥ï¡¼¥¯¤ÎNext.js¤ò»ÈÍѤ·¤ÆiOS¾å¤ÇÆ°ºî¤µ¤»¤ë¤³¤È¤ËÀ®¸ù¤·¤¿¤³¤È¤òÊó¹ð¤·¤Æ¤¤¤Þ¤¹¡£
????New Update! ????
I found 5 ways to not get LLaMA working on iOS
This NextJS app was a by-product from one of those 5 ways: pic.twitter.com/HyqSLiBgbg— anishmaxxing (@thiteanish) March 14, 2023
¤µ¤é¤Ëanishmaxxing»á¤ÏLLaMA¤òPixel 6¾å¤ÇÆ°ºî¤µ¤»¤ë¤³¤È¤Ë¤âÀ®¸ù¤·¤Æ¤¤¤Þ¤¹¡£anishmaxxing»á¤Ï¡Ö»ä¤ÏLLaMA¤¬¥¹¥Þ¡¼¥È¥Õ¥©¥ó¤ÇÆ°ºî¤¹¤ë¤³¤È¤ò´üÂÔ¤·¤Æ¤¤¤Þ¤·¤¿¡×¤È½Ò¤Ù¤Æ¤¤¤Þ¤¹¡£
@ggerganov's LLaMA works on a Pixel 6!
LLaMAs been waiting for this, and so have I pic.twitter.com/JjEhdzJ2B9— anishmaxxing (@thiteanish) March 13, 2023
°ìÊý¤Çanishmaxxing»á¤ÏPixel 6¤ÇÆ°ºî¤·¤¿LLaMA¤Ë¤Ä¤¤¤Æ¡Öº£²óÆ°ºî¤·¤¿LLaMA¤ÏPixel¸þ¤±¤ËºÇŬ²½¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡×¤ÈÊó¹ð¤·¤Æ¤¤¤Þ¤¹¡£¤µ¤é¤Ë¡Ö»ä¤Ï¼«Ê¬¤ÎMac¤ÇLLaMA¤òÎ̻Ҳ½¤·¡¢¥¹¥Þ¡¼¥È¥Õ¥©¥ó¤ÎÍÆÎ̤˺ÇŬ²½¤·¤¿½Å¤ß¤òPixel¤ËžÁ÷¤·¤Þ¤·¤¿¡×¤È½Ò¤Ù¤Æ¤¤¤Þ¤¹¡£
No, it's not even optimized for the pixel.
I quantized it on my mac and transferred the weights over due to space issues on my phone— anishmaxxing (@thiteanish) March 13, 2023
¤µ¤é¤Ëanishmaxxing»á¤ÏPixel¤ÇÆ°ºî¤·¤¿LLaMA¤ÎÀ¸À®»þ´Ö¤ÎÃÙ¤µ¤Ë¿¨¤ì¡ÖÀ¸À®¤¬Èó¾ï¤ËÃÙ¤¤¸¶°ø¤Ï¡¢¥í¡¼¥É»þ´Ö¤ÎÌäÂ꤬¤¢¤ë¤è¤¦¤Ç¤¹¡£Linux´Ä¶¤ò¼Â¹Ô¤Ç¤¤ë¥¨¥ß¥å¥ì¡¼¥¿¡¼¤ÎTermux¤Ç¼Â¹Ô¤·¤Æ¤¤¤ë¤³¤È¤â¸¶°ø¤«¤â¤·¤ì¤Þ¤»¤ó¡×¤È¿ä¬¤·¤Æ¤¤¤Þ¤¹¡£
Generations are very slow, seems it's due to load time.
Might be cause I'm running it on Termux— anishmaxxing (@thiteanish) March 13, 2023