{"id":162,"date":"2024-07-24T11:09:59","date_gmt":"2024-07-24T03:09:59","guid":{"rendered":"https:\/\/www.onetts.com\/ai\/?p=162"},"modified":"2024-07-24T12:28:31","modified_gmt":"2024-07-24T04:28:31","slug":"llama3-1-8b","status":"publish","type":"post","link":"https:\/\/www.onetts.com\/ai\/models\/llama3-1-8b\/","title":{"rendered":"Llama3.1-8B"},"content":{"rendered":"<p>Llama 3.1-8B\u662fMeta\u516c\u53f8\u6700\u65b0\u53d1\u5e03\u7684\u4e00\u7cfb\u5217\u591a\u8bed\u8a00\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLMs\uff09\u4e2d\u7684\u4e00\u5458\u3002\u4f5c\u4e3aLlama 3.1\u7cfb\u5217\u7684\u4e00\u90e8\u5206\uff0c8B\u6a21\u578b\u4ee5\u51768B\uff08\u5373800\u4ebf\uff09\u53c2\u6570\u91cf\u800c\u8457\u79f0\u3002\u8fd9\u4e9b\u6a21\u578b\u65e8\u5728\u63d0\u4f9b\u9884\u8bad\u7ec3\u548c\u6307\u4ee4\u8c03\u6574\u7684\u5f00\u6e90\u751f\u6210\u6027AI\u80fd\u529b\uff0c\u652f\u6301\u5e7f\u6cdb\u7684\u8bed\u8a00\u548c\u5e94\u7528\u573a\u666f\u3002<\/p>\n<p><strong>\u5173\u952e\u7279\u70b9<\/strong>\uff1a<\/p>\n<ul>\n<li><strong>\u591a\u8bed\u8a00\u652f\u6301<\/strong>\uff1aLlama 3.1-8B\u4e0d\u4ec5\u652f\u6301\u82f1\u8bed\uff0c\u8fd8\u6db5\u76d6\u4e86\u897f\u73ed\u7259\u8bed\u3001\u8461\u8404\u7259\u8bed\u3001\u610f\u5927\u5229\u8bed\u3001\u5fb7\u8bed\u548c\u6cf0\u8bed\u7b49\u591a\u79cd\u8bed\u8a00\u3002<\/li>\n<li><strong>\u6307\u4ee4\u8c03\u6574<\/strong>\uff1a\u901a\u8fc7\u6307\u4ee4\u8c03\u6574\uff0c\u6a21\u578b\u80fd\u591f\u66f4\u597d\u5730\u7406\u89e3\u548c\u54cd\u5e94\u7528\u6237\u7684\u6307\u4ee4\uff0c\u63d0\u4f9b\u66f4\u51c6\u786e\u7684\u8f93\u51fa\u3002<\/li>\n<li><strong>\u4e0a\u4e0b\u6587\u957f\u5ea6<\/strong>\uff1aLlama 3.1-8B\u7684\u4e0a\u4e0b\u6587\u957f\u5ea6\u6269\u5c55\u5230128,000\u4e2atoken\uff0c\u663e\u8457\u63d0\u9ad8\u4e86\u5904\u7406\u957f\u6587\u672c\u7684\u80fd\u529b\u3002<\/li>\n<\/ul>\n<h2>\u6a21\u578b\u8bc4\u6d4b<\/h2>\n<p>Llama 3.1-8B\u5728\u591a\u4e2a\u57fa\u51c6\u6d4b\u8bd5\u4e2d\u8868\u73b0\u51fa\u8272\uff0c\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5173\u952e\u7684\u8bc4\u6d4b\u7ed3\u679c\uff1a<\/p>\n<ul>\n<li><strong>\u9605\u8bfb\u7406\u89e3<\/strong>\uff1a\u5728DROP\u57fa\u51c6\u6d4b\u8bd5\u4e2d\uff0cLlama 3.1-8B\u5c55\u793a\u4e86\u4f18\u79c0\u7684\u9605\u8bfb\u7406\u89e3\u80fd\u529b\u3002<\/li>\n<li><strong>\u6570\u5b66\u95ee\u9898\u89e3\u51b3<\/strong>\uff1a\u5728MATH\u57fa\u51c6\u6d4b\u8bd5\u4e2d\uff0c8B\u6a21\u578b\u57280-shot\u60c5\u51b5\u4e0b\u7684\u8868\u73b0\u63a5\u8fd1\u9876\u5c16\u6a21\u578b\u3002<\/li>\n<li><strong>\u4ee3\u7801\u751f\u6210<\/strong>\uff1a\u5728HumanEval\u57fa\u51c6\u6d4b\u8bd5\u4e2d\uff0c8B\u6a21\u578b\u5728\u4ee3\u7801\u751f\u6210\u4efb\u52a1\u4e2d\u8868\u73b0\u4f18\u5f02\uff0c\u63a5\u8fd1\u9876\u5c16\u6c34\u5e73\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u8bc4\u6d4b\u7ed3\u679c\u8868\u660e\uff0cLlama 3.1-8B\u5728\u7406\u89e3\u548c\u751f\u6210\u8bed\u8a00\u65b9\u9762\u5177\u6709\u5f3a\u5927\u7684\u80fd\u529b\uff0c\u9002\u5408\u591a\u79cd\u590d\u6742\u7684\u8bed\u8a00\u5904\u7406\u4efb\u52a1\u3002<\/p>\n<h2>\u90e8\u7f72\u4f7f\u7528<\/h2>\n<h4>\u90e8\u7f72\u6b65\u9aa4<\/h4>\n<ol>\n<li><strong>\u83b7\u53d6\u6a21\u578b<\/strong>\uff1a\u9996\u5148\u9700\u8981\u4eceMeta\u7684\u5b98\u65b9\u7f51\u7ad9\u6216IBM\u7684watsonx.ai\u5e73\u53f0\u83b7\u53d6Llama 3.1-8B\u6a21\u578b\u3002<\/li>\n<li><strong>\u73af\u5883\u51c6\u5907<\/strong>\uff1a\u786e\u4fdd\u90e8\u7f72\u73af\u5883\u5177\u5907\u8db3\u591f\u7684\u8ba1\u7b97\u8d44\u6e90\u548c\u5b58\u50a8\u7a7a\u95f4\u3002\u63a8\u8350\u4f7f\u7528\u9ad8\u6027\u80fdGPU\u548c\u8db3\u591f\u7684\u5185\u5b58\u3002<\/li>\n<li><strong>\u5b89\u88c5\u4f9d\u8d56<\/strong>\uff1a\u5b89\u88c5\u5fc5\u8981\u7684\u8f6f\u4ef6\u4f9d\u8d56\uff0c\u5982Python\u3001PyTorch\u7b49\u3002<\/li>\n<li><strong>\u52a0\u8f7d\u6a21\u578b<\/strong>\uff1a\u4f7f\u7528\u9002\u5f53\u7684\u52a0\u8f7d\u811a\u672c\u6216\u5de5\u5177\u52a0\u8f7dLlama 3.1-8B\u6a21\u578b\u3002<\/li>\n<li><strong>\u914d\u7f6e\u53c2\u6570<\/strong>\uff1a\u6839\u636e\u5177\u4f53\u5e94\u7528\u573a\u666f\u914d\u7f6e\u6a21\u578b\u53c2\u6570\uff0c\u5982\u4e0a\u4e0b\u6587\u957f\u5ea6\u3001\u6e29\u5ea6\u7b49\u3002<\/li>\n<li><strong>\u6d4b\u8bd5\u8fd0\u884c<\/strong>\uff1a\u8fdb\u884c\u521d\u6b65\u6d4b\u8bd5\uff0c\u786e\u4fdd\u6a21\u578b\u80fd\u591f\u6b63\u5e38\u54cd\u5e94\u548c\u751f\u6210\u6587\u672c\u3002<\/li>\n<li><strong>\u96c6\u6210\u5e94\u7528<\/strong>\uff1a\u5c06\u6a21\u578b\u96c6\u6210\u5230\u5177\u4f53\u7684\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u5982\u804a\u5929\u673a\u5668\u4eba\u3001\u5185\u5bb9\u751f\u6210\u5de5\u5177\u7b49\u3002<\/li>\n<\/ol>\n<h2>\u5e38\u89c1\u95ee\u9898<\/h2>\n<p><strong>Q: \u5982\u4f55\u4f18\u5316\u6a21\u578b\u4ee5\u9002\u5e94\u7279\u5b9a\u4efb\u52a1\uff1f<\/strong><\/p>\n<p>A: \u53ef\u4ee5\u901a\u8fc7\u5fae\u8c03\u6216\u6307\u4ee4\u8c03\u6574\u6765\u4f18\u5316\u6a21\u578b\uff0c\u4f7f\u5176\u66f4\u9002\u5408\u7279\u5b9a\u7684\u8bed\u8a00\u5904\u7406\u4efb\u52a1\u3002<\/p>\n<p><strong>Q: \u6a21\u578b\u5728\u5904\u7406\u957f\u6587\u672c\u65f6\u7684\u8868\u73b0\u5982\u4f55\uff1f<\/strong><\/p>\n<p>A: Llama 3.1-8B\u7684\u4e0a\u4e0b\u6587\u957f\u5ea6\u6269\u5c55\u5230128,000\u4e2atoken\uff0c\u80fd\u591f\u5904\u7406\u8f83\u957f\u7684\u6587\u672c\uff0c\u4f46\u53ef\u80fd\u9700\u8981\u9002\u5f53\u7684\u6587\u672c\u9884\u5904\u7406\u548c\u4f18\u5316\u3002<\/p>\n<p><strong>Q: \u6a21\u578b\u5728\u591a\u8bed\u8a00\u73af\u5883\u4e0b\u7684\u6027\u80fd\u5982\u4f55\uff1f<\/strong><\/p>\n<p>A: Llama3.1-8B\u652f\u6301\u82f1\u8bed\u3001\u5fb7\u8bed\u3001\u6cd5\u8bed\u7b498\u79cd\u8bed\u8a00\uff0c\u5e76\u4e14\u5728\u591a\u8bed\u8a00\u57fa\u51c6\u6d4b\u8bd5\u4e2d\u8868\u73b0\u826f\u597d\u3002<\/p>\n<p><strong>Q: \u5982\u4f55\u786e\u4fdd\u6a21\u578b\u7684\u5b89\u5168\u6027\u548c\u5408\u89c4\u6027\uff1f<\/strong><\/p>\n<p>A: \u4f7f\u7528Meta\u63d0\u4f9b\u7684Prompt Guard\u548cCodeShield\u7b49\u5de5\u5177\uff0c\u786e\u4fdd\u751f\u6210\u7684\u5185\u5bb9\u7b26\u5408\u5b89\u5168\u548c\u5408\u89c4\u6807\u51c6\u3002<\/p>\n<h2>\u76f8\u5173\u8d44\u6e90<\/h2>\n<ul>\n<li><strong>Meta AI\u5b98\u65b9\u7f51\u7ad9<\/strong>\uff1a<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https:\/\/ai.meta.com\/\" target=\"_blank\" rel=\"noopener\">Meta AI<\/a><\/li>\n<li><b>Llama3.1\u8bba\u6587<\/b>\uff1a<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https:\/\/ai.meta.com\/research\/publications\/the-llama-3-herd-of-models\/\" target=\"_blank\" rel=\"noopener\">llama-3-herd-of-models<\/a><\/li>\n<li><strong>Llama 3.1\u6a21\u578b\u4e0b\u8f7d<\/strong>\uff1a<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https:\/\/modelscope.cn\/models\/LLM-Research\/Meta-Llama-3.1-8B\" target=\"_blank\" rel=\"noopener\">Llama 3.1 Model Download<\/a><\/li>\n<li><strong>\u6280\u672f\u6587\u6863\u548c\u6559\u7a0b<\/strong>\uff1a<a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https:\/\/llama.meta.com\/docs\/model-cards-and-prompt-formats\/llama3_1\/\" target=\"_blank\" rel=\"noopener\">Llama 3.1 Technical Documentation<\/a><\/li>\n<\/ul>\n<p class=\"last-node\">\u901a\u8fc7\u8fd9\u4e9b\u8d44\u6e90\uff0c\u7528\u6237\u53ef\u4ee5\u83b7\u53d6\u66f4\u591a\u5173\u4e8eLlama 3.1-8B\u6a21\u578b\u7684\u8be6\u7ec6\u4fe1\u606f\u3001\u6280\u672f\u652f\u6301\u548c\u793e\u533a\u5e2e\u52a9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Llama 3.1-8B\u662fMeta\u516c\u53f8\u6700\u65b0\u53d1\u5e03\u7684\u4e00\u7cfb\u5217\u591a\u8bed\u8a00\u5927\u578b\u8bed\u8a00\u6a21\u578b\uff08LLMs\uff09\u4e2d\u7684\u4e00\u5458\u3002\u4f5c\u4e3aLlama 3.1\u7cfb\u5217\u7684\u4e00\u90e8\u5206\uff0c8B\u6a21\u578b\u4ee5\u51768B\uff08\u5373800\u4ebf\uff09\u53c2\u6570\u91cf\u800c\u8457\u79f0\u3002\u8fd9\u4e9b\u6a21\u578b\u65e8\u5728\u63d0\u4f9b\u9884\u8bad\u7ec3\u548c\u6307\u4ee4\u8c03\u6574\u7684\u5f00\u6e90\u751f\u6210\u6027AI\u80fd\u529b\uff0c\u652f\u6301\u5e7f\u6cdb\u7684\u8bed\u8a00\u548c\u5e94\u7528\u573a\u666f\u3002 \u5173\u952e\u7279\u70b9\uff1a \u591a\u8bed\u8a00\u652f\u6301\uff1aLlama 3.1-8B\u4e0d\u4ec5\u652f\u6301\u82f1\u8bed\uff0c\u8fd8\u6db5\u76d6\u4e86\u897f\u73ed\u7259\u8bed\u3001\u8461\u8404\u7259\u8bed\u3001\u610f\u5927\u5229\u8bed\u3001\u5fb7\u8bed\u548c\u6cf0\u8bed\u7b49\u591a\u79cd\u8bed\u8a00\u3002 \u6307\u4ee4\u8c03\u6574\uff1a\u901a\u8fc7\u6307\u4ee4\u8c03\u6574\uff0c\u6a21\u578b\u80fd\u591f\u66f4\u597d\u5730\u7406\u89e3\u548c\u54cd\u5e94\u7528\u6237\u7684\u6307\u4ee4\uff0c\u63d0\u4f9b\u66f4\u51c6\u786e\u7684\u8f93\u51fa\u3002 \u4e0a\u4e0b\u6587\u957f\u5ea6\uff1aLlama 3.1-8B\u7684\u4e0a\u4e0b\u6587\u957f\u5ea6\u6269\u5c55\u5230128<\/p>\n","protected":false},"author":1,"featured_media":163,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"collection":[51],"company":[38],"rank":[],"class_list":["post-162","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-llm","collection-llama3-1","company-meta"],"_links":{"self":[{"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/posts\/162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/comments?post=162"}],"version-history":[{"count":3,"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/posts\/162\/revisions"}],"predecessor-version":[{"id":173,"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/posts\/162\/revisions\/173"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/media\/163"}],"wp:attachment":[{"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/media?parent=162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/categories?post=162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/tags?post=162"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/collection?post=162"},{"taxonomy":"company","embeddable":true,"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/company?post=162"},{"taxonomy":"rank","embeddable":true,"href":"https:\/\/www.onetts.com\/ai\/wp-json\/wp\/v2\/rank?post=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}