ChatStreamð¬ã§Llama-3-Elyza-JP-8B ãåãã
ããã«ã¡ã¯ãæ¬æ¥ã¯ Llama-3-Elyza-JP-8B ã䜿ã£ãŠã¿ãŸããã
æšæ¥ 2024幎6æ26æ¥ã«çºè¡š(https://prtimes.jp/main/html/rd/p/000000046.000047565.html)ããã Llama-3-Elyza-JP-8B 㯠70B çã§ã¯ãGPT-4ããäžåãæ§èœã®æ¥æ¬èªLLMãšããããŠããŸãã
ä»åãåœç€Ÿã§ã Playground ç°å¢ã« Llama-3-Elyza-JP-8B ãæèŒããŠè©ŠããŠã¿ãŸããã®ã§ã玹ä»ããŸãã
70B(700åãã©ã¡ãŒã¿)ç㯠GPT-4 ãäžåããšã®ããšã§ãã®ã§ã8B(80åãã©ã¡ãŒã¿ïŒçã¯GPT-3.5 ãšæ¯èŒããŠã¿ãããšã«ããããŸããã
ïŒæ§èœæ¯èŒã¯ https://note.com/elyza/n/n360b6084fdbd ã®èšäºã«è©³ããæžããŠãããŸããïŒ
AWQéååçã䜿çšããŠã¿ã
ä»åã¯ãA4000 ãšããã¹ã¢ãŒã«GPUã§æšè«ãµãŒããŒãæ§ç¯ãããããAWQ ã«ãã 4bit éååããŒãžã§ã³ã® https://huggingface.co/elyza/Llama-3-ELYZA-JP-8B-AWQ ã䜿çšããããŸããã
ããšã 8B(80å) ãã©ã¡ãŒã¿çžåœã§ãã®ã§ã 4bit éååãããšãã¢ãã«ãµã€ãºã¯ 2B(20å)ãã©ã¡ãŒã¿çžåœãšãªããŸãã
AWQéååçã¯ã æšè«ãšã³ãžã³ãšã㊠vLLM ã§ã®åäœãæ³å®ãããŠããŸãã®ã§ãä»åã¯ã ChatStream ã®æšè«ãšã³ãžã³ãšã㊠vLLM 0.4.2 ãéžæããŠæšè«ç°å¢ãæ§ç¯ããããŸããã
ChatStream.net (playground)ãããã€ãã
ChatStream SDK ã䜿ã£ãŠ Llama-3-Elyza-JP-8B çšã® A4000 GPU ã®ãµãŒããŒããŒãã1ã€äœããŸããã
äœæ¥æéã¯15åçšåºŠã§ãã
ãã®ãµãŒããŒããŒãã Playground ã§ãã ChatStream.net ã®ããã³ããµãŒããŒã«ç»é²ããã°åºæ¥äžããã§ãã
çéè©Šéšãå«ããŠããŒã¿ã«30åçšåºŠã§äœ¿ããããã«ãªããŸããã
ãã®ããã«ãæ¿æ©ã§æ§ç¯ããããšãã§ããŸãã
LLMè² è·ããŒã«ã§èšæž¬ãããšããåæ20ãªã¯ãšã¹ã/sãŸã§ã¯ããã©ãŒãã³ã¹äœäžã»ãŒç¡ãå®å®ããã¹ã«ãŒããããéæããŠããŸãã
ãããã60ãªã¯ãšã¹ã/s çšåºŠãŸã§ã¯åé¡ãªãã¬ãã«ã ãšæãããŸãã
ãããè¶ ãããªã¯ãšã¹ããæ³å®ãããå Žåã¯ã ChatStream ã®ã¢ãã«äžŠååæ©èœã䜿ã£ãŠç°¡åã«åæ£ãããããšãå¯èœã§ãã
äœéšãã¢
ãLlama-3-Elyza-JP-8Bã vs ãGPT-3.5 ã
以äžURLã§ãå®éã« Llama-3-Elyza-JP-8B ãäœéšããããšãã§ããŸãã
ChatStreamã®ãã«ãã¿ã¹ã¯æ©èœã䜿ã£ãŠæ¯èŒçšã« GPT-3.5 ã衚瀺ããŠããŸãã
ïŒãã«ãã¿ã¹ã¯æ©èœãšå ¥åSyncã䜿ãããšã§ãè€æ°ã®LLMã«åæã«è³ªåãæããããããšãã§ããŸãïŒ
ãLlama-3-Elyza-JP-8Bã vs ãRakutenAI-7B-chatã vs ãGPT-3.5ãã§äžã€å·Žã§æ¯èŒ
ããã«ã¯ãšãªã«model_id ãè¿œå ããããšã§ã RakutenAI-7B-chat ãå ¥ããŠäžã€å·Žã§æ¯èŒããã«ã¯ä»¥äžã®ããã«ããŸãã
æ§æ
ä»åäœã£ã Llama-3-Elyza-JP-8B çšã®æ§æã¯ä»¥äžã®ããã«ãªããŸãã
ChatStream SDK ã¯ããµãŒããŒåŽã¯Docker åãããŠããããã
ã³ã³ãããåäœãããGPUãµãŒããŒããæºåã§ããã°ãã¢ãã«ã®æºåããå
¬éãŸã§ããŒã¿ã«30åçšåºŠã§ããã¢ãã«äžŠåãªã©ã¹ã±ãŒã«ã¢ãŠããæ°åïœæ°ååçšåºŠã§å¯èœã§ãã®ã§ãææ°ã®ã¢ãã«ãããã«ã客æ§ã«å±ããããšãå¯èœã§ãã
åç»
äžé£ã®å 容ãåç»ã«ãŸãšããŸããã
ãŸãšã
æåŸãŸã§ãèªã¿ããã ããèª ã«ããããšãããããŸããç§ãã¡Qualitegã¯ãLLMãã¯ãããšããAIæè¡ãéçºãããã»SDKã®æäŸãLLMãµãŒãã¹æ§ç¯ãAIæ°èŠäºæ¥ã®äŒç»æ¹æ³ã«é¢ããç ä¿®ããã³ã³ã³ãµã«ãã£ã³ã°ãæäŸããŠãããŸãã
ä»åã玹ä»ããChatStreamð¬ SDK ã䜿ããšãææ°ã®ãªãŒãã³ãœãŒã¹LLMããææ°ã®åçšLLMãã€ãã£ããã£ããããããã¯ãããšããæ¬æ ŒçåçšLLMãµãŒãã¹ãè¶ ççŽæã§æ§ç¯ããããšãå¯èœã§ãã
ãããèå³ããæã¡ããã ããå ŽåããŸãå ·äœçãªãèŠæãããããŸããããã©ãããæ°è»œã«ãã¡ãã®ãåãåãããã©ãŒã ãŸã§ãé£çµ¡ãã ãããŸãã
LLMã¹ãããã³ã³ãµã«ã奜è©ã§ã
ãŸããLLMãµãŒãã¹éçºãåžå Žç°å¢ãGPUãã¯ãããžãŒãªã©ããžãã¹é¢ã»æè¡é¢ã«ã€ããŠ1æéããã«ãžã¥ã¢ã«ã«å©çšã§ããã¹ãããã³ã³ãµã«ãå®æœããŠãããŸãã®ã§ã掻çšãã ãããŸãã
ïŒç¹å¿æããçžè«å 容ã«ãã£ãŠã¯ããåãã§ããªãå ŽåãããããŸãã®ã§ãããããããäºæ¿ãã ããïŒ