Spaces:
Running
Running
File size: 6,914 Bytes
b4ac70e |
1 |
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/c0b74557c5816db6.css" crossorigin="" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-aa6ebb7532657b56.js" crossorigin=""/><script src="/_next/static/chunks/14720756-e58ad34e5d805bdb.js" async="" crossorigin=""></script><script src="/_next/static/chunks/726-b5de2956356da4a7.js" async="" crossorigin=""></script><script src="/_next/static/chunks/main-app-8c0c2d06caa139ca.js" async="" crossorigin=""></script><script src="/_next/static/chunks/784-34039ae36415b4c2.js" async=""></script><script src="/_next/static/chunks/app/page-275c87454c123a8f.js" async=""></script><script src="/_next/static/chunks/app/layout-002967483d243469.js" async=""></script><title>Ratchet + Phi</title><meta name="description" content="Simple demo of Phi."/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js" crossorigin="" noModule=""></script></head><body class="__className_aaf875"><main class="flex flex-1 flex-col max-w-screen-xl mx-auto"><div style="position:fixed;z-index:9999;top:16px;left:16px;right:16px;bottom:16px;pointer-events:none"></div><div class="flex-1"><div class="flex flex-col min-h-screen"><div class="w-full mx-auto p-8 flex-grow"><h1 class="text-4xl font-bold mb-8 text-blue-600">Ratchet + Phi3</h1></div><div class="p-8"><label for="prompt" class="block mb-2 font-bold text-gray-700">Prompt:</label><textarea id="prompt" class="w-full h-32 p-4 border border-gray-300 rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 text-gray-800" placeholder="Enter your prompt here...">What is the meaning of life?</textarea></div><div class="px-8 flex justify-end space-x-4"><button class="bg-blue-500 hover:bg-blue-600 text-white font-bold py-3 px-6 rounded-lg shadow-md transition duration-300">Load Model</button><button class="bg-green-500 hover:bg-green-600 text-white font-bold py-3 px-6 rounded-lg shadow-md transition duration-300" disabled="">Run Model</button></div><footer class="w-full mt-8 py-6 bg-white border-t border-gray-300 flex justify-between mx-auto px-8"><a href="https://huggingface.co/microsoft/phi3" class="text-blue-500 hover:text-blue-600 transition duration-300">Model Checkpoints</a><a href="https://huggingface.co/papers/2404.14219" class="text-blue-500 hover:text-blue-600 transition duration-300">Technical Report</a><a href="https://github.com/huggingface/ratchet" class="text-blue-500 hover:text-blue-600 transition duration-300">Ratchet</a></footer></div></div></main><script src="/_next/static/chunks/webpack-aa6ebb7532657b56.js" crossorigin="" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/c0b74557c5816db6.css\",\"style\",{\"crossOrigin\":\"\"}]\n0:\"$L3\"\n"])</script><script>self.__next_f.push([1,"4:I[3565,[],\"\"]\n6:I[5014,[],\"\"]\n7:I[2453,[\"784\",\"static/chunks/784-34039ae36415b4c2.js\",\"931\",\"static/chunks/app/page-275c87454c123a8f.js\"],\"\"]\n8:I[585,[\"185\",\"static/chunks/app/layout-002967483d243469.js\"],\"Toaster\"]\n9:I[6312,[],\"\"]\na:I[2906,[],\"\"]\nc:I[4933,[],\"\"]\nd:[]\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c0b74557c5816db6.css\",\"precedence\":\"next\",\"crossOrigin\":\"\"}]],[\"$\",\"$L4\",null,{\"buildId\":\"2wR8vFOravZn1PFW7T1Nr\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/\",\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[\"$L5\",[\"$\",\"$L6\",null,{\"propsForComponent\":{\"params\":{}},\"Component\":\"$7\",\"isStaticGeneration\":true}],null]]},[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_aaf875\",\"children\":[\"$\",\"main\",null,{\"className\":\"flex flex-1 flex-col max-w-screen-xl mx-auto\",\"children\":[[\"$\",\"$L8\",null,{}],[\"$\",\"div\",null,{\"className\":\"flex-1\",\"children\":[\"$\",\"$L9\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"loadingScripts\":\"$undefined\",\"hasLoading\":false,\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$La\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}]]}]}]}],null]],\"initialHead\":[false,\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Ratchet + Phi\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Simple demo of Phi.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"meta\",\"5\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,""])</script></body></html> |