CINXE.COM

What is Text Generation? - Hugging Face

<!doctype html> <html class=""> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" /> <meta name="description" content="Learn about Text Generation using Machine Learning" /> <meta property="fb:app_id" content="1321688464574422" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="@huggingface" /> <meta name="twitter:image" content="https://huggingface.co/front/thumbnails/v2-2.png" /> <meta property="og:title" content="What is Text Generation? - Hugging Face" /> <meta property="og:type" content="website" /> <meta property="og:url" content="https://huggingface.co/tasks/text-generation" /> <meta property="og:image" content="https://huggingface.co/front/thumbnails/v2-2.png" /> <link rel="stylesheet" href="/front/build/kube-5cc087a/style.css" /> <link rel="preconnect" href="https://fonts.gstatic.com" /> <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap" rel="stylesheet" /> <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&display=swap" rel="stylesheet" /> <link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.12.0/katex.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'" /> <noscript> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.12.0/katex.min.css" /> </noscript> <script>const guestTheme = document.cookie.match(/theme=(\w+)/)?.[1]; document.documentElement.classList.toggle('dark', guestTheme === 'dark' || ( (!guestTheme || guestTheme === 'system') && window.matchMedia('(prefers-color-scheme: dark)').matches));</script> <link rel="canonical" href="https://huggingface.co/tasks/text-generation"> <script type="application/ld+json">{ "@context": "https:\/\/schema.org", "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "name": "What is Text Generation?", "acceptedAnswer": { "@type": "Answer", "text": "Generating text is the task of generating new text given another text. These models can, for example, fill in incomplete text or paraphrase." } }, { "@type": "Question", "name": "What libraries can I use for Text Generation?", "acceptedAnswer": { "@type": "Answer", "text": "The transformersand transformers.js libraries are compatible with Text Generation." } }, { "@type": "Question", "name": "What models can I use for Text Generation?", "acceptedAnswer": { "@type": "Answer", "text": "The google\/gemma-2-2b-it, deepseek-ai\/DeepSeek-R1-Distill-Qwen-1.5B, meta-llama\/Meta-Llama-3.1-8B-Instruct, microsoft\/phi-4, simplescaling\/s1.1-32B, Qwen\/Qwen2.5-7B-Instruct-1M, Qwen\/Qwen2.5-Coder-32B-Instruct, and deepseek-ai\/DeepSeek-R1 models can be used for Text Generation." } }, { "@type": "Question", "name": "What datasets can I use for Text Generation?", "acceptedAnswer": { "@type": "Answer", "text": "The CohereForAI\/Global-MMLU, HuggingFaceFW\/fineweb-2, HuggingFaceH4\/ultrachat_200k, open-r1\/OpenThoughts-114k-math, allenai\/tulu-3-sft-mixture, HuggingFaceTB\/smoltalk, and HuggingFaceTB\/finemath datasets can be used for Text Generation." } }, { "@type": "Question", "name": "What metrics can I use for Text Generation?", "acceptedAnswer": { "@type": "Answer", "text": "The Cross Entropyand Perplexity metrics can be used for Text Generation." } } ] }</script> <title>What is Text Generation? - Hugging Face</title> <script defer data-domain="huggingface.co" event-loggedIn="false" src="/js/script.pageview-props.js" ></script> <script> window.plausible = window.plausible || function () { (window.plausible.q = window.plausible.q || []).push(arguments); }; </script> <script> window.hubConfig = {"features":{"signupDisabled":false},"sshGitUrl":"git@hf.co","moonHttpUrl":"https:\/\/huggingface.co","captchaApiKey":"bd5f2066-93dc-4bdd-a64b-a24646ca3859","captchaDisabledOnSignup":true,"datasetViewerPublicUrl":"https:\/\/datasets-server.huggingface.co","stripePublicKey":"pk_live_x2tdjFXBCvXo2FFmMybezpeM00J6gPCAAc","environment":"production","userAgent":"HuggingFace (production)","spacesIframeDomain":"hf.space","spacesApiUrl":"https:\/\/api.hf.space","docSearchKey":"ece5e02e57300e17d152c08056145326e90c4bff3dd07d7d1ae40cf1c8d39cb6","logoDev":{"apiUrl":"https:\/\/img.logo.dev\/","apiKey":"pk_UHS2HZOeRnaSOdDp7jbd5w"}}; </script> <script type="text/javascript" src="https://de5282c3ca0c.edge.sdk.awswaf.com/de5282c3ca0c/526cf06acb0d/challenge.js" defer></script> </head> <body class="flex flex-col min-h-dvh bg-white dark:bg-gray-950 text-black TaskPage"> <div class="flex min-h-dvh flex-col"><div class="SVELTE_HYDRATER contents" data-target="SystemThemeMonitor" data-props="{&quot;isLoggedIn&quot;:false}"></div> <div class="SVELTE_HYDRATER contents" data-target="MainHeader" data-props="{&quot;classNames&quot;:&quot;&quot;,&quot;isWide&quot;:false,&quot;isZh&quot;:false,&quot;isPro&quot;:false}"><header class="border-b border-gray-100 "><div class="w-full px-4 container flex h-16 items-center"><div class="flex flex-1 items-center"><a class="mr-5 flex flex-none items-center lg:mr-6" href="/"><img alt="Hugging Face's logo" class="w-7 md:mr-2" src="/front/assets/huggingface_logo-noborder.svg"> <span class="hidden whitespace-nowrap text-lg font-bold md:block">Hugging Face</span></a> <div class="relative flex-1 lg:max-w-sm mr-2 sm:mr-4 md:mr-3 xl:mr-6"><input autocomplete="off" class="w-full dark:bg-gray-950 pl-8 form-input-alt h-9 pr-3 focus:shadow-xl " name="" placeholder="Search models, datasets, users..." spellcheck="false" type="text" value=""> <svg class="absolute left-2.5 text-gray-400 top-1/2 transform -translate-y-1/2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M30 28.59L22.45 21A11 11 0 1 0 21 22.45L28.59 30zM5 14a9 9 0 1 1 9 9a9 9 0 0 1-9-9z" fill="currentColor"></path></svg> </div> <div class="flex flex-none items-center justify-center p-0.5 place-self-stretch lg:hidden"><button class="relative z-40 flex h-6 w-8 items-center justify-center" type="button"><svg width="1em" height="1em" viewBox="0 0 10 10" class="text-xl" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" preserveAspectRatio="xMidYMid meet" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.65039 2.9999C1.65039 2.8066 1.80709 2.6499 2.00039 2.6499H8.00039C8.19369 2.6499 8.35039 2.8066 8.35039 2.9999C8.35039 3.1932 8.19369 3.3499 8.00039 3.3499H2.00039C1.80709 3.3499 1.65039 3.1932 1.65039 2.9999ZM1.65039 4.9999C1.65039 4.8066 1.80709 4.6499 2.00039 4.6499H8.00039C8.19369 4.6499 8.35039 4.8066 8.35039 4.9999C8.35039 5.1932 8.19369 5.3499 8.00039 5.3499H2.00039C1.80709 5.3499 1.65039 5.1932 1.65039 4.9999ZM2.00039 6.6499C1.80709 6.6499 1.65039 6.8066 1.65039 6.9999C1.65039 7.1932 1.80709 7.3499 2.00039 7.3499H8.00039C8.19369 7.3499 8.35039 7.1932 8.35039 6.9999C8.35039 6.8066 8.19369 6.6499 8.00039 6.6499H2.00039Z"></path></svg> </button> </div></div> <nav aria-label="Main" class="ml-auto hidden lg:block"><ul class="flex items-center space-x-1.5 2xl:space-x-2"><li class="hover:text-indigo-700"><a class="group flex items-center px-2 py-0.5 dark:text-gray-300 dark:hover:text-gray-100" href="/models"><svg class="mr-1.5 text-gray-400 group-hover:text-indigo-500" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z" opacity=".25" fill="currentColor"></path><path class="uim-tertiary" d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z" fill="currentColor"></path></svg> Models</a> </li><li class="hover:text-red-700"><a class="group flex items-center px-2 py-0.5 dark:text-gray-300 dark:hover:text-gray-100" href="/datasets"><svg class="mr-1.5 text-gray-400 group-hover:text-red-500" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg> Datasets</a> </li><li class="hover:text-blue-700"><a class="group flex items-center px-2 py-0.5 dark:text-gray-300 dark:hover:text-gray-100" href="/spaces"><svg class="mr-1.5 text-gray-400 group-hover:text-blue-500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 25 25"><path opacity=".5" d="M6.016 14.674v4.31h4.31v-4.31h-4.31ZM14.674 14.674v4.31h4.31v-4.31h-4.31ZM6.016 6.016v4.31h4.31v-4.31h-4.31Z" fill="currentColor"></path><path opacity=".75" fill-rule="evenodd" clip-rule="evenodd" d="M3 4.914C3 3.857 3.857 3 4.914 3h6.514c.884 0 1.628.6 1.848 1.414a5.171 5.171 0 0 1 7.31 7.31c.815.22 1.414.964 1.414 1.848v6.514A1.914 1.914 0 0 1 20.086 22H4.914A1.914 1.914 0 0 1 3 20.086V4.914Zm3.016 1.102v4.31h4.31v-4.31h-4.31Zm0 12.968v-4.31h4.31v4.31h-4.31Zm8.658 0v-4.31h4.31v4.31h-4.31Zm0-10.813a2.155 2.155 0 1 1 4.31 0 2.155 2.155 0 0 1-4.31 0Z" fill="currentColor"></path><path opacity=".25" d="M16.829 6.016a2.155 2.155 0 1 0 0 4.31 2.155 2.155 0 0 0 0-4.31Z" fill="currentColor"></path></svg> Spaces</a> </li><li class="hover:text-yellow-700 max-xl:hidden"><a class="group flex items-center px-2 py-0.5 dark:text-gray-300 dark:hover:text-gray-100" href="/posts"><svg class="mr-1.5 text-gray-400 group-hover:text-yellow-500 text-yellow-500!" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 12 12" preserveAspectRatio="xMidYMid meet"><path fill="currentColor" fill-rule="evenodd" d="M3.73 2.4A4.25 4.25 0 1 1 6 10.26H2.17l-.13-.02a.43.43 0 0 1-.3-.43l.01-.06a.43.43 0 0 1 .12-.22l.84-.84A4.26 4.26 0 0 1 3.73 2.4Z" clip-rule="evenodd"></path></svg> Posts</a> </li><li class="hover:text-yellow-700"><a class="group flex items-center px-2 py-0.5 dark:text-gray-300 dark:hover:text-gray-100" href="/docs"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="mr-1.5 text-gray-400 group-hover:text-yellow-500" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 16 16"><path d="m2.28 3.7-.3.16a.67.67 0 0 0-.34.58v8.73l.01.04.02.07.01.04.03.06.02.04.02.03.04.06.05.05.04.04.06.04.06.04.08.04.08.02h.05l.07.02h.11l.04-.01.07-.02.03-.01.07-.03.22-.12a5.33 5.33 0 0 1 5.15.1.67.67 0 0 0 .66 0 5.33 5.33 0 0 1 5.33 0 .67.67 0 0 0 1-.58V4.36a.67.67 0 0 0-.34-.5l-.3-.17v7.78a.63.63 0 0 1-.87.59 4.9 4.9 0 0 0-4.35.35l-.65.39a.29.29 0 0 1-.15.04.29.29 0 0 1-.16-.04l-.65-.4a4.9 4.9 0 0 0-4.34-.34.63.63 0 0 1-.87-.59V3.7Z" fill="currentColor" class="dark:opacity-40"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M8 3.1a5.99 5.99 0 0 0-5.3-.43.66.66 0 0 0-.42.62v8.18c0 .45.46.76.87.59a4.9 4.9 0 0 1 4.34.35l.65.39c.05.03.1.04.16.04.05 0 .1-.01.15-.04l.65-.4a4.9 4.9 0 0 1 4.35-.34.63.63 0 0 0 .86-.59V3.3a.67.67 0 0 0-.41-.62 5.99 5.99 0 0 0-5.3.43l-.3.17L8 3.1Zm.73 1.87a.43.43 0 1 0-.86 0v5.48a.43.43 0 0 0 .86 0V4.97Z" fill="currentColor" class="opacity-40 dark:opacity-100"></path><path d="M8.73 4.97a.43.43 0 1 0-.86 0v5.48a.43.43 0 1 0 .86 0V4.96Z" fill="currentColor" class="dark:opacity-40"></path></svg> Docs</a> </li><li class="hover:text-black dark:hover:text-white"><a class="group flex items-center px-2 py-0.5 dark:text-gray-300 dark:hover:text-gray-100" href="/enterprise"><svg class="mr-1.5 text-gray-400 group-hover:text-black dark:group-hover:text-white" xmlns="http://www.w3.org/2000/svg" fill="none" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 33 27"><path fill="currentColor" fill-rule="evenodd" d="M13.5.7a8.7 8.7 0 0 0-7.7 5.7L1 20.6c-1 3.1.9 5.7 4.1 5.7h15c3.3 0 6.8-2.6 7.8-5.7l4.6-14.2c1-3.1-.8-5.7-4-5.7h-15Zm1.1 5.7L9.8 20.3h9.8l1-3.1h-5.8l.8-2.5h4.8l1.1-3h-4.8l.8-2.3H23l1-3h-9.5Z" clip-rule="evenodd"></path></svg> Enterprise</a> </li> <li><a class="group flex items-center px-2 py-0.5 dark:text-gray-300 dark:hover:text-gray-100" href="/pricing">Pricing </a></li> <li><div class="relative group"> <button class="px-2 py-0.5 hover:text-gray-500 dark:hover:text-gray-600 flex items-center " type="button"> <svg class=" text-gray-500 w-5 group-hover:text-gray-400 dark:text-gray-300 dark:group-hover:text-gray-100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 18" preserveAspectRatio="xMidYMid meet"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.4504 3.30221C14.4504 2.836 14.8284 2.45807 15.2946 2.45807H28.4933C28.9595 2.45807 29.3374 2.836 29.3374 3.30221C29.3374 3.76842 28.9595 4.14635 28.4933 4.14635H15.2946C14.8284 4.14635 14.4504 3.76842 14.4504 3.30221Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M14.4504 9.00002C14.4504 8.53382 14.8284 8.15588 15.2946 8.15588H28.4933C28.9595 8.15588 29.3374 8.53382 29.3374 9.00002C29.3374 9.46623 28.9595 9.84417 28.4933 9.84417H15.2946C14.8284 9.84417 14.4504 9.46623 14.4504 9.00002Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M14.4504 14.6978C14.4504 14.2316 14.8284 13.8537 15.2946 13.8537H28.4933C28.9595 13.8537 29.3374 14.2316 29.3374 14.6978C29.3374 15.164 28.9595 15.542 28.4933 15.542H15.2946C14.8284 15.542 14.4504 15.164 14.4504 14.6978Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M1.94549 6.87377C2.27514 6.54411 2.80962 6.54411 3.13928 6.87377L6.23458 9.96907L9.32988 6.87377C9.65954 6.54411 10.194 6.54411 10.5237 6.87377C10.8533 7.20343 10.8533 7.73791 10.5237 8.06756L6.23458 12.3567L1.94549 8.06756C1.61583 7.73791 1.61583 7.20343 1.94549 6.87377Z" fill="currentColor"></path></svg> </button> </div></li> <li><hr class="h-5 w-0.5 border-none bg-gray-100 dark:bg-gray-800"></li> <li><a class="block cursor-pointer whitespace-nowrap px-2 py-0.5 hover:text-gray-500 dark:text-gray-300 dark:hover:text-gray-100" href="/login">Log In </a></li> <li><a class="whitespace-nowrap rounded-full border border-transparent bg-gray-900 px-3 py-1 leading-none text-white hover:border-black hover:bg-white hover:text-black" href="/join">Sign Up </a></li></ul></nav></div></header></div> <div class="SVELTE_HYDRATER contents" data-target="SSOBanner" data-props="{}"></div> <main class="flex flex-1 flex-col"><div class="container relative grid w-full grid-cols-1 gap-8 space-y-4 pb-32 lg:grid-cols-12"><div class="flex-none space-y-12 pt-6 md:pt-12 lg:col-span-7 2xl:pr-16"><section class="max-w-2xl"><a href="/tasks" class="mb-1 flex items-center text-gray-400 hover:underline"><svg class="mr-1.5 text-sm text-gray-300" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M10 16L20 6l1.4 1.4l-8.6 8.6l8.6 8.6L20 26z" fill="currentColor"></path></svg> Tasks</a> <div class="mb-8 flex items-center"><svg class="text-3xl mr-2.5 text-indigo-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 18 18"><path d="M16.2607 8.08202L14.468 6.28928C14.3063 6.12804 14.0873 6.03749 13.859 6.03749C13.6307 6.03749 13.4117 6.12804 13.25 6.28928L5.6375 13.904V16.9125H8.64607L16.2607 9.30002C16.422 9.13836 16.5125 8.91935 16.5125 8.69102C16.5125 8.4627 16.422 8.24369 16.2607 8.08202V8.08202ZM8.1953 15.825H6.725V14.3547L11.858 9.22118L13.3288 10.6915L8.1953 15.825ZM14.0982 9.92262L12.6279 8.45232L13.8606 7.21964L15.3309 8.68994L14.0982 9.92262Z"></path><path d="M6.18125 9.84373H7.26875V6.03748H8.9V4.94998H4.55V6.03748H6.18125V9.84373Z"></path><path d="M4.55 11.475H2.375V2.775H11.075V4.95H12.1625V2.775C12.1625 2.48658 12.0479 2.20997 11.844 2.00602C11.64 1.80208 11.3634 1.6875 11.075 1.6875H2.375C2.08658 1.6875 1.80997 1.80208 1.60602 2.00602C1.40207 2.20997 1.2875 2.48658 1.2875 2.775V11.475C1.2875 11.7634 1.40207 12.04 1.60602 12.244C1.80997 12.4479 2.08658 12.5625 2.375 12.5625H4.55V11.475Z"></path></svg> <h1 class="text-3xl font-bold xl:text-4xl">Text Generation</h1></div> <p class="text-[1.2rem] text-gray-500">Generating text is the task of generating new text given another text. These models can, for example, fill in incomplete text or paraphrase.</p> </section> <section class="max-w-2xl 2xl:max-w-3xl"><div class="relative z-0 grid grid-cols-1 gap-4 md:min-h-[250px] md:grid-cols-11"><div class="bg-linear-to-br space-y-2 rounded-xl from-blue-100 to-transparent p-4 dark:from-gray-800 md:col-span-4"><div class="text-xl font-semibold text-blue-500">Inputs</div> <div><h6 class="font-semibold">Input</h6> <p class="text-gray-500">Once upon a time,</p></div></div> <div class="bg-linear-to-br relative flex min-h-[150px] items-center justify-center space-y-2 rounded-xl p-8 dark:from-gray-800 md:col-span-3 from-indigo-100"><svg class="z-10 absolute top-0 -left-14 hidden md:block text-indigo-300" width="87" height="30" viewBox="0 0 87 30" fill="none" xmlns="http://www.w3.org/2000/svg" style=""><defs><linearGradient id="linear-gradient-q6atfuxd2"><stop offset="0%" stop-color="#dbeafe"></stop><stop offset="100%" stop-color="currentColor"></stop></linearGradient></defs><path d="M0.976675 22.6978C0.451106 23.3381 0.544167 24.2833 1.18453 24.8089C1.8249 25.3345 2.77008 25.2414 3.29565 24.601L0.976675 22.6978ZM85.8237 27.948L81.0878 11.2875L69.0273 23.7192L85.8237 27.948ZM3.29565 24.601C8.9058 17.7655 18.9303 9.8542 31.4914 6.99576C43.9669 4.1568 59.1046 6.26142 75.1673 19.694L77.0918 17.3927C60.3459 3.38874 44.2588 1.01368 30.8258 4.07055C17.4783 7.10792 6.91044 15.4679 0.976675 22.6978L3.29565 24.601Z" fill="url(#linear-gradient-q6atfuxd2)"></path></svg> <svg class="z-10 absolute bottom-0 -right-14 hidden md:block text-indigo-100" width="87" height="30" viewBox="0 0 87 30" fill="none" xmlns="http://www.w3.org/2000/svg" style="transform: scaleX(-1) rotate(180deg);"><defs><linearGradient id="linear-gradient-6jognzw19"><stop offset="0%" stop-color="currentColor"></stop><stop offset="100%" stop-color="#86efac"></stop></linearGradient></defs><path d="M0.976675 22.6978C0.451106 23.3381 0.544167 24.2833 1.18453 24.8089C1.8249 25.3345 2.77008 25.2414 3.29565 24.601L0.976675 22.6978ZM85.8237 27.948L81.0878 11.2875L69.0273 23.7192L85.8237 27.948ZM3.29565 24.601C8.9058 17.7655 18.9303 9.8542 31.4914 6.99576C43.9669 4.1568 59.1046 6.26142 75.1673 19.694L77.0918 17.3927C60.3459 3.38874 44.2588 1.01368 30.8258 4.07055C17.4783 7.10792 6.91044 15.4679 0.976675 22.6978L3.29565 24.601Z" fill="url(#linear-gradient-6jognzw19)"></path></svg> <svg class="z-10 absolute -top-9 md:hidden text-indigo-300" width="19" height="47" viewBox="0 0 19 47" fill="none" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="linear-gradient-s0ej9zyhl" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="#dbeafe"></stop><stop offset="100%" stop-color="currentColor"></stop></linearGradient></defs><path fill-rule="evenodd" clip-rule="evenodd" d="M7.95615 0.0566406H10.9562V31.0695H18.1164L9.45615 46.0695L0.795898 31.0695H7.95615V0.0566406Z" fill="url(#linear-gradient-s0ej9zyhl)"></path></svg> <svg class="z-10 absolute -bottom-9 md:hidden text-indigo-100" width="19" height="47" viewBox="0 0 19 47" fill="none" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="linear-gradient-gevc0j1z1" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="currentColor"></stop><stop offset="100%" stop-color="#86efac"></stop></linearGradient></defs><path fill-rule="evenodd" clip-rule="evenodd" d="M7.95615 0.0566406H10.9562V31.0695H18.1164L9.45615 46.0695L0.795898 31.0695H7.95615V0.0566406Z" fill="url(#linear-gradient-gevc0j1z1)"></path></svg> <div class="absolute inset-0 flex items-center justify-center"><svg class="text-9xl -mt-2 leading-tight opacity-50 dark:opacity-100 dark:text-gray-700 text-indigo-400" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z" opacity=".25" fill="currentColor"></path><path class="uim-tertiary" d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z" fill="currentColor"></path></svg></div> <div class="z-10 text-center text-xl font-bold leading-7">Text Generation Model </div></div> <div class="bg-linear-to-br relative space-y-2 rounded-xl from-green-100 to-transparent p-4 pb-10 dark:from-gray-800 md:col-span-4"><div class="text-xl font-semibold text-green-500">Output</div> <div><h6 class="font-semibold">Output</h6> <p class="text-gray-500">Once upon a time, we knew that our ancestors were on the verge of extinction. The great explorers and poets of the Old World, from Alexander the Great to Chaucer, are dead and gone. A good many of our ancient explorers and poets have</p></div></div></div></section> <section class="copiable-code-container max-w-2xl"><div class="SVELTE_HYDRATER contents" data-target="RepoCodeCopy" data-props="{}"><div></div></div> <h2 class="mb-8 text-3xl font-semibold">About Text Generation</h2> <div class="aspect-h-9 aspect-w-16 mb-8 w-full overflow-hidden rounded-lg"><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen frameborder="0" height="100%" src="https://www.youtube.com/embed/e9gNEAlsOvU" title="Text Generation" width="100%"></iframe></div> <div class="prose-doc prose"><!-- HTML_TAG_START --><p>This task covers guides on both <a href="https://huggingface.co/models?pipeline_tag=text-generation&amp;sort=downloads">text-generation</a> and <a href="https://huggingface.co/models?pipeline_tag=text2text-generation&amp;sort=downloads">text-to-text generation</a> models. Popular large language models that are used for chats or following instructions are also covered in this task. You can find the list of selected open-source large language models <a href="https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard">here</a>, ranked by their performance scores.</p> <h2 class="relative group flex items-center"> <a id="use-cases" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#use-cases" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Use Cases </span> </h2> <h3 class="relative group flex items-center"> <a id="instruction-models" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#instruction-models" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Instruction Models </span> </h3> <p>A model trained for text generation can be later adapted to follow instructions. You can try some of the most powerful instruction-tuned open-access models like Mixtral 8x7B, Cohere Command R+, and Meta Llama3 70B <a href="https://huggingface.co/chat">at Hugging Chat</a>.</p> <h3 class="relative group flex items-center"> <a id="code-generation" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#code-generation" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Code Generation </span> </h3> <p>A Text Generation model, also known as a causal language model, can be trained on code from scratch to help the programmers in their repetitive coding tasks. One of the most popular open-source models for code generation is StarCoder, which can generate code in 80+ languages. You can try it <a href="https://huggingface.co/spaces/bigcode/bigcode-playground">here</a>.</p> <h3 class="relative group flex items-center"> <a id="stories-generation" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#stories-generation" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Stories Generation </span> </h3> <p>A story generation model can receive an input like &quot;Once upon a time&quot; and proceed to create a story-like text based on those first words. You can try <a href="https://huggingface.co/spaces/mosaicml/mpt-7b-storywriter">this application</a> which contains a model trained on story generation, by MosaicML.</p> <p>If your generative model training data is different than your use case, you can train a causal language model from scratch. Learn how to do it in the free transformers <a href="https://huggingface.co/course/chapter7/6?fw=pt">course</a>!</p> <h2 class="relative group flex items-center"> <a id="task-variants" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#task-variants" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Task Variants </span> </h2> <h3 class="relative group flex items-center"> <a id="completion-generation-models" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#completion-generation-models" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Completion Generation Models </span> </h3> <p>A popular variant of Text Generation models predicts the next word given a bunch of words. Word by word a longer text is formed that results in for example:</p> <ul> <li>Given an incomplete sentence, complete it.</li> <li>Continue a story given the first sentences.</li> <li>Provided a code description, generate the code.</li> </ul> <p>The most popular models for this task are GPT-based models, <a href="/tasks/mistralai/Mistral-7B-v0.1">Mistral</a> or <a href="https://huggingface.co/meta-llama/Llama-2-7b-chat-hf">Llama series</a>. These models are trained on data that has no labels, so you just need plain text to train your own model. You can train text generation models to generate a wide variety of documents, from code to stories.</p> <h3 class="relative group flex items-center"> <a id="text-to-text-generation-models" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#text-to-text-generation-models" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Text-to-Text Generation Models </span> </h3> <p>These models are trained to learn the mapping between a pair of texts (e.g. translation from one language to another). The most popular variants of these models are <a href="/tasks/facebook/nllb-200-distilled-600M">NLLB</a>, <a href="https://huggingface.co/google/flan-t5-xxl">FLAN-T5</a>, and <a href="https://huggingface.co/docs/transformers/model_doc/bart">BART</a>. Text-to-Text models are trained with multi-tasking capabilities, they can accomplish a wide range of tasks, including summarization, translation, and text classification.</p> <h2 class="relative group flex items-center"> <a id="language-model-variants" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#language-model-variants" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Language Model Variants </span> </h2> <p>When it comes to text generation, the underlying language model can come in several types:</p> <ul> <li><p><strong>Base models:</strong> refers to plain language models like <a href="https://huggingface.co/mistralai/Mistral-7B-v0.3">Mistral 7B</a> and <a href="https://huggingface.co/meta-llama/Meta-Llama-3-70B">Meta Llama-3-70b</a>. These models are good for fine-tuning and few-shot prompting.</p> </li> <li><p><strong>Instruction-trained models:</strong> these models are trained in a multi-task manner to follow a broad range of instructions like &quot;Write me a recipe for chocolate cake&quot;. Models like <a href="https://huggingface.co/Qwen/Qwen2-7B-Instruct">Qwen 2 7B</a>, <a href="https://huggingface.co/01-ai/Yi-1.5-34B-Chat">Yi 1.5 34B Chat</a>, and <a href="https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct">Meta Llama 70B Instruct</a> are examples of instruction-trained models. In general, instruction-trained models will produce better responses to instructions than base models.</p> </li> <li><p><strong>Human feedback models:</strong> these models extend base and instruction-trained models by incorporating human feedback that rates the quality of the generated text according to criteria like <a href="https://arxiv.org/abs/2112.00861">helpfulness, honesty, and harmlessness</a>. The human feedback is then combined with an optimization technique like reinforcement learning to align the original model to be closer with human preferences. The overall methodology is often called <a href="https://huggingface.co/blog/rlhf">Reinforcement Learning from Human Feedback</a>, or RLHF for short. <a href="https://huggingface.co/HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1">Zephyr ORPO 141B A35B</a> is an open-source model aligned through human feedback.</p> </li> </ul> <h2 class="relative group flex items-center"> <a id="text-generation-from-image-and-text" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#text-generation-from-image-and-text" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Text Generation from Image and Text </span> </h2> <p>There are language models that can input both text and image and output text, called vision language models. <a href="https://huggingface.co/HuggingFaceM4/idefics2-8b">IDEFICS 2</a> and <a href="https://huggingface.co/openbmb/MiniCPM-Llama3-V-2_5">MiniCPM Llama3 V</a> are good examples. They accept the same generation parameters as other language models. However, since they also take images as input, you have to use them with the <code>image-to-text</code> pipeline. You can find more information about this in the <a href="https://huggingface.co/tasks/image-to-text">image-to-text task page</a>.</p> <h2 class="relative group flex items-center"> <a id="inference" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#inference" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Inference </span> </h2> <p>You can use the 🤗 Transformers library <code>text-generation</code> pipeline to do inference with Text Generation models. It takes an incomplete text and returns multiple outputs with which the text can be completed.</p> <pre><code class="language-python"><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> pipeline generator = pipeline(<span class="hljs-string">&#x27;text-generation&#x27;</span>, model = <span class="hljs-string">&#x27;HuggingFaceH4/zephyr-7b-beta&#x27;</span>) generator(<span class="hljs-string">&quot;Hello, I&#x27;m a language model&quot;</span>, max_length = <span class="hljs-number">30</span>, num_return_sequences=<span class="hljs-number">3</span>) <span class="hljs-comment">## [{&#x27;generated_text&#x27;: &quot;Hello, I&#x27;m a language modeler. So while writing this, when I went out to meet my wife or come home she told me that my&quot;},</span> <span class="hljs-comment">## {&#x27;generated_text&#x27;: &quot;Hello, I&#x27;m a language modeler. I write and maintain software in Python. I love to code, and that includes coding things that require writing&quot;}, ...</span> </code></pre> <p><a href="https://huggingface.co/models?pipeline_tag=text2text-generation&amp;sort=downloads">Text-to-Text generation models</a> have a separate pipeline called <code>text2text-generation</code>. This pipeline takes an input containing the sentence including the task and returns the output of the accomplished task.</p> <pre><code class="language-python"><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> pipeline text2text_generator = pipeline(<span class="hljs-string">&quot;text2text-generation&quot;</span>) text2text_generator(<span class="hljs-string">&quot;question: What is 42 ? context: 42 is the answer to life, the universe and everything&quot;</span>) [{<span class="hljs-string">&#x27;generated_text&#x27;</span>: <span class="hljs-string">&#x27;the answer to life, the universe and everything&#x27;</span>}] text2text_generator(<span class="hljs-string">&quot;translate from English to French: I&#x27;m very happy&quot;</span>) [{<span class="hljs-string">&#x27;generated_text&#x27;</span>: <span class="hljs-string">&#x27;Je suis très heureux&#x27;</span>}] </code></pre> <p>You can use <a href="https://github.com/huggingface/huggingface.js">huggingface.js</a> to infer text classification models on Hugging Face Hub.</p> <pre><code class="language-javascript"><span class="hljs-keyword">import</span> { <span class="hljs-title class_">InferenceClient</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&quot;@huggingface/inference&quot;</span>; <span class="hljs-keyword">const</span> inference = <span class="hljs-keyword">new</span> <span class="hljs-title class_">InferenceClient</span>(<span class="hljs-variable constant_">HF_TOKEN</span>); <span class="hljs-keyword">await</span> inference.<span class="hljs-title function_">conversational</span>({ <span class="hljs-attr">model</span>: <span class="hljs-string">&quot;distilbert-base-uncased-finetuned-sst-2-english&quot;</span>, <span class="hljs-attr">inputs</span>: <span class="hljs-string">&quot;I love this movie!&quot;</span>, }); </code></pre> <h2 class="relative group flex items-center"> <a id="text-generation-inference" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#text-generation-inference" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Text Generation Inference </span> </h2> <p><a href="https://github.com/huggingface/text-generation-inference">Text Generation Inference (TGI)</a> is an open-source toolkit for serving LLMs tackling challenges such as response time. TGI powers inference solutions like <a href="https://huggingface.co/inference-endpoints">Inference Endpoints</a> and <a href="https://huggingface.co/chat/">Hugging Chat</a>, as well as multiple community projects. You can use it to deploy any supported open-source large language model of your choice.</p> <h2 class="relative group flex items-center"> <a id="chatui-spaces" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#chatui-spaces" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> ChatUI Spaces </span> </h2> <p>Hugging Face Spaces includes templates to easily deploy your own instance of a specific application. <a href="https://github.com/huggingface/chat-ui">ChatUI</a> is an open-source interface that enables serving conversational interface for large language models and can be deployed with few clicks at Spaces. TGI powers these Spaces under the hood for faster inference. Thanks to the template, you can deploy your own instance based on a large language model with only a few clicks and customize it. Learn more about it <a href="https://huggingface.co/docs/hub/spaces-sdks-docker-chatui">here</a> and create your large language model instance <a href="https://huggingface.co/new-space?template=huggingchat/chat-ui-template">here</a>.</p> <p><a href="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/os_llms/docker_chat.png" rel="nofollow"><img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/blog/os_llms/docker_chat.png" alt="ChatUI"></a></p> <h2 class="relative group flex items-center"> <a id="useful-resources" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#useful-resources" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Useful Resources </span> </h2> <p>Would you like to learn more about the topic? Awesome! Here you can find some curated resources that you may find helpful!</p> <h3 class="relative group flex items-center"> <a id="tools-within-hugging-face-ecosystem" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#tools-within-hugging-face-ecosystem" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Tools within Hugging Face Ecosystem </span> </h3> <ul> <li>You can use <a href="https://github.com/huggingface/peft">PEFT</a> to adapt large language models in efficient way.</li> <li><a href="https://github.com/huggingface/chat-ui">ChatUI</a> is the open-source interface to conversate with Large Language Models.</li> <li><a href="https://github.com/huggingface/text-generation-inference">text-generation-inferface</a></li> <li><a href="https://huggingface.co/chat/">HuggingChat</a> is a chat interface powered by Hugging Face to chat with powerful models like Meta Llama 3 70B, Mixtral 8x7B, etc.</li> </ul> <h3 class="relative group flex items-center"> <a id="documentation" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#documentation" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Documentation </span> </h3> <ul> <li><a href="https://huggingface.co/docs/peft/index">PEFT documentation</a></li> <li><a href="https://huggingface.co/docs/hub/spaces-sdks-docker-chatui">ChatUI Docker Spaces</a></li> <li><a href="https://huggingface.co/docs/transformers/tasks/language_modeling">Causal language modeling task guide</a></li> <li><a href="https://huggingface.co/docs/transformers/generation_strategies">Text generation strategies</a></li> <li><a href="https://huggingface.co/course/chapter7/6?fw=pt">Course chapter on training a causal language model from scratch</a></li> </ul> <h3 class="relative group flex items-center"> <a id="model-inference--deployment" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#model-inference--deployment" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Model Inference &amp; Deployment </span> </h3> <ul> <li><a href="https://huggingface.co/blog/optimize-llm">Optimizing your LLM in production</a></li> <li><a href="https://huggingface.co/blog/os-llms">Open-Source Text Generation &amp; LLM Ecosystem at Hugging Face</a></li> <li><a href="https://huggingface.co/blog/rwkv">Introducing RWKV - An RNN with the advantages of a transformer</a></li> <li><a href="https://huggingface.co/blog/llama2">Llama 2 is at Hugging Face</a></li> <li><a href="https://huggingface.co/blog/constrained-beam-search">Guiding Text Generation with Constrained Beam Search in 🤗 Transformers</a></li> <li><a href="https://huggingface.co/spaces/codeparrot/code-generation-models">Code generation with Hugging Face</a></li> <li><a href="https://huggingface.co/blog/assisted-generation">Assisted Generation: a new direction toward low-latency text generation</a></li> <li><a href="https://huggingface.co/blog/how-to-generate">How to generate text: using different decoding methods for language generation with Transformers</a></li> <li><a href="https://huggingface.co/blog/tf-xla-generate">Faster Text Generation with TensorFlow and XLA</a></li> </ul> <h3 class="relative group flex items-center"> <a id="model-fine-tuningtraining" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#model-fine-tuningtraining" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Model Fine-tuning/Training </span> </h3> <ul> <li><a href="https://huggingface.co/blog/Llama2-for-non-engineers">Non-engineers guide: Train a LLaMA 2 chatbot</a></li> <li><a href="https://huggingface.co/blog/codeparrot">Training CodeParrot 🦜 from Scratch</a></li> <li><a href="https://huggingface.co/blog/starchat-alpha">Creating a Coding Assistant with StarCoder</a></li> </ul> <h3 class="relative group flex items-center"> <a id="advanced-concepts-explained-simply" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#advanced-concepts-explained-simply" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Advanced Concepts Explained Simply </span> </h3> <ul> <li><a href="https://huggingface.co/blog/moe">Mixture of Experts Explained</a></li> </ul> <h3 class="relative group flex items-center"> <a id="advanced-fine-tuningtraining-recipes" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#advanced-fine-tuningtraining-recipes" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Advanced Fine-tuning/Training Recipes </span> </h3> <ul> <li><a href="https://huggingface.co/blog/ram-efficient-pytorch-fsdp">Fine-tuning Llama 2 70B using PyTorch FSDP</a></li> <li><a href="https://huggingface.co/blog/the_n_implementation_details_of_rlhf_with_ppo">The N Implementation Details of RLHF with PPO</a></li> <li><a href="https://huggingface.co/blog/pref-tuning">Preference Tuning LLMs with Direct Preference Optimization Methods</a></li> <li><a href="https://huggingface.co/blog/dpo-trl">Fine-tune Llama 2 with DPO</a></li> </ul> <h3 class="relative group flex items-center"> <a id="notebooks" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#notebooks" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Notebooks </span> </h3> <ul> <li><a href="https://github.com/huggingface/notebooks/blob/master/examples/causal_language_modeling_flax.ipynb">Training a CLM in Flax</a></li> <li><a href="https://github.com/huggingface/notebooks/blob/master/examples/language_modeling_from_scratch-tf.ipynb">Training a CLM in TensorFlow</a></li> <li><a href="https://github.com/huggingface/notebooks/blob/master/examples/language_modeling_from_scratch.ipynb">Training a CLM in PyTorch</a></li> </ul> <h3 class="relative group flex items-center"> <a id="scripts-for-training" class="block pr-1.5 text-lg md:absolute md:p-1.5 md:opacity-0 md:group-hover:opacity-100 md:right-full" href="#scripts-for-training" > <span class="header-link"><svg class="text-gray-500 hover:text-black dark:hover:text-gray-200 w-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 256"><path d="M167.594 88.393a8.001 8.001 0 0 1 0 11.314l-67.882 67.882a8 8 0 1 1-11.314-11.315l67.882-67.881a8.003 8.003 0 0 1 11.314 0zm-28.287 84.86l-28.284 28.284a40 40 0 0 1-56.567-56.567l28.284-28.284a8 8 0 0 0-11.315-11.315l-28.284 28.284a56 56 0 0 0 79.196 79.197l28.285-28.285a8 8 0 1 0-11.315-11.314zM212.852 43.14a56.002 56.002 0 0 0-79.196 0l-28.284 28.284a8 8 0 1 0 11.314 11.314l28.284-28.284a40 40 0 0 1 56.568 56.567l-28.285 28.285a8 8 0 0 0 11.315 11.314l28.284-28.284a56.065 56.065 0 0 0 0-79.196z" fill="currentColor"></path></svg></span> </a> <span> Scripts for training </span> </h3> <ul> <li><a href="https://github.com/huggingface/transformers/tree/main/examples/pytorch/language-modeling">Training a CLM in PyTorch</a></li> <li><a href="https://github.com/huggingface/transformers/tree/main/examples/tensorflow/language-modeling">Training a CLM in TensorFlow</a></li> <li><a href="https://github.com/huggingface/transformers/tree/main/examples/pytorch/text-generation">Text Generation in PyTorch</a></li> </ul> <!-- HTML_TAG_END --></div></section></div> <div class="flex-none space-y-8 pt-12 lg:col-span-5"><div class="flex flex-col gap-2 sm:flex-row"><a class="bg-linear-to-r flex flex-wrap items-center justify-center whitespace-nowrap rounded-lg border-gray-100 from-orange-100 to-red-100 px-4 py-2 text-center text-sm text-gray-700 hover:to-red-200 hover:text-gray-900 dark:from-gray-900 dark:to-gray-925 dark:hover:text-gray-200" href="/autotrain">Available in <svg class="w-20 h-5 -mb-0.5 ml-1 inline flex-none" width="1em" height="100%" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" role="img" viewBox="0 0 1322 192" fill="none"><rect x="592" width="730" height="192" rx="31" fill="black"></rect><mask id="mask0_97_2" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="623" y="32" width="669" height="129"><path fill-rule="evenodd" clip-rule="evenodd" d="M629 32H745.5C745.5 32 744.5 33 744.5 35.5V64H733.5C718.036 64 705.5 76.536 705.5 92V157C705.5 159.5 707 160.5 707 160.5H667.5C664.186 160.5 661.5 157.814 661.5 154.5V92C661.5 76.536 648.964 64 633.5 64H626.5C624 64 623 65.5 623 65.5V38C623 34.6863 625.686 32 629 32ZM774.5 160.5H821.5V148.25C821.5 139.552 828.552 132.5 837.25 132.5C845.948 132.5 853 139.552 853 148.25V160.5H899C899 160.5 897.5 159 897.5 156.5V145.501C897.5 138.321 891.68 132.5 884.5 132.5H872.25C867.97 132.5 864.5 129.03 864.5 124.75C864.5 120.47 867.97 117 872.25 117H881.5C890.337 117 897.5 109.837 897.5 101V35.5C897.5 33 899 32 899 32H774.5C774.5 32 776 33 776 35.5V157C776 159.5 774.5 160.5 774.5 160.5ZM853 72C853 80.8366 845.837 88 837 88C828.163 88 821 80.8366 821 72C821 63.1634 828.163 56 837 56C845.837 56 853 63.1634 853 72ZM1007 72C1007 80.8366 999.837 88 991 88C982.163 88 975 80.8366 975 72C975 63.1634 982.163 56 991 56C999.837 56 1007 63.1634 1007 72ZM927.5 160.5H975V124C975 115.163 982.163 108 991 108C999.837 108 1007 115.163 1007 124V160.5H1053C1053 160.5 1051.5 159.5 1051.5 157V35.5C1051.5 33 1052.5 32 1052.5 32H927.5C927.5 32 929 33 929 35.5V157C929 159.5 927.5 160.5 927.5 160.5ZM1143.5 32H1083C1083 32 1084.5 33 1084.5 35.5V156.5C1084.5 159.5 1083.5 160.5 1083.5 160.5H1144C1144 160.5 1142 159.5 1142 156.5V35.5C1142 33 1143.5 32 1143.5 32ZM1171.5 160H1198V101.25C1198 93.1038 1204.6 86.5 1212.75 86.5C1220.9 86.5 1227.5 93.1038 1227.5 101.25V160H1284C1288.42 160 1292 156.418 1292 152V40C1292 35.5817 1288.42 32 1284 32H1266.67V84C1266.67 92.2843 1259.95 99 1251.67 99H1251.03C1242.75 99 1236.03 92.2843 1236.03 84V32H1171.5C1171.5 32 1173 33 1173 35.5V156C1173 159 1171.5 160 1171.5 160Z" fill="white"></path></mask><g mask="url(#mask0_97_2)"><rect x="611" width="694" height="192" fill="#FF6108"></rect><rect x="611" width="694" height="192" fill="url(#paint0_linear_97_2)"></rect></g><path fill-rule="evenodd" clip-rule="evenodd" d="M85.3295 158.776L85.3649 158.806L85.401 158.836C90.7254 163.223 97.539 165.207 105.404 165.207H129.587V131.353H116.36V83.217C116.36 67.0736 111.395 54.2872 100.796 45.7637C90.6116 37.295 76.7155 33.3514 59.6885 33.3514C45.7789 33.3514 33.9568 35.6703 24.4678 40.5958C15.3687 45.2452 8.40209 51.3644 3.86893 59.0599L2.00074 62.2313L27.2255 84.7235L30.1161 80.7193C33.042 76.6661 36.4886 73.4275 40.4589 70.9555C44.0207 68.7378 49.002 67.438 55.7435 67.438C63.105 67.438 67.0896 69.1973 69.0958 71.4973L69.1609 71.5719L69.2292 71.6436C71.5456 74.0729 73.0977 78.1161 73.0977 84.6137V86.193H58.2962C40.2727 86.193 25.8698 89.264 15.6915 96.013C5.11707 103.025 0 113.861 0 127.678C0 139.993 3.82605 150.144 11.8985 157.522L11.9367 157.557L11.9757 157.591C20.0789 164.659 30.5599 168 42.9805 168C52.8994 168 61.581 165.842 68.7856 161.265C73.1181 158.571 76.6061 155.121 79.2506 150.975C80.7503 153.953 82.7653 156.571 85.3295 158.776ZM80.6125 139.881C80.5991 139.771 80.5861 139.661 80.5736 139.55C80.5807 139.613 80.588 139.676 80.5954 139.738C80.601 139.786 80.6067 139.833 80.6125 139.881ZM68.7251 132.866C65.428 135.194 61.2612 136.474 55.9756 136.474C51.1122 136.474 47.7375 135.493 45.4539 133.966C43.5452 132.69 42.5664 130.963 42.5664 128.144V123.488C42.5664 120.048 43.7412 117.985 45.8694 116.554C48.3137 114.91 52.5431 113.762 59.2244 113.762H73.0977V123.721C73.0977 128.006 71.5951 130.84 68.7251 132.866ZM167.172 164.859L167.229 164.883L167.287 164.905C172.651 166.988 178.464 168 184.676 168C194.992 168 203.708 165.406 210.304 159.72C212.749 157.663 214.943 155.431 216.882 153.027V165.207H260.144V36.1448H216.882V119.531C216.882 121.841 216.402 123.609 215.613 124.994C214.678 126.635 213.456 128.044 211.914 129.237C210.575 130.241 208.867 131.096 206.711 131.741C204.628 132.256 202.468 132.517 200.224 132.517C194.356 132.517 190.719 130.854 188.446 128.234C186.071 125.495 184.494 120.922 184.494 113.712V36.1448H141.232V118.367C141.232 126.032 142.206 132.966 144.245 139.103L144.263 139.155L144.281 139.207C146.454 145.244 149.426 150.484 153.25 154.843C157.103 159.236 161.76 162.582 167.172 164.859ZM275.966 36.1448V71.8609H308.453V126.049C308.453 137.102 311.792 146.543 318.695 154C325.863 161.744 336.466 165.207 349.577 165.207H398.359L391.359 129.491H351.716V71.8609H391.359L398.359 36.1448H351.716V16H311.238V26.4181C311.238 31.5536 310.156 33.623 309.414 34.3138C308.496 35.1693 306.275 36.1448 301.542 36.1448H275.966ZM450.735 163.496L450.773 163.511L450.811 163.525C458.814 166.536 467.711 168 477.438 168C487.166 168 496.062 166.536 504.066 163.525L504.104 163.511L504.142 163.496C512.119 160.328 518.938 155.79 524.519 149.859C530.248 143.936 534.583 136.788 537.559 128.495C540.547 120.169 542 110.876 542 100.676C542 90.4758 540.547 81.1824 537.559 72.8562C534.583 64.5633 530.248 57.4156 524.519 51.4928C518.93 45.553 512.098 41.0863 504.104 38.0733C496.088 34.8966 487.177 33.3514 477.438 33.3514C467.699 33.3514 458.789 34.8965 450.773 38.0733C442.778 41.0864 435.882 45.5481 430.149 51.468L430.126 51.4919L430.103 51.5162C424.536 57.4394 420.287 64.5798 417.317 72.8562C414.329 81.1824 412.877 90.4758 412.877 100.676C412.877 110.876 414.329 120.169 417.317 128.495C420.287 136.772 424.536 143.912 430.103 149.835L430.126 149.859L430.149 149.883C435.874 155.795 442.757 160.328 450.735 163.496ZM492.23 127.706C488.909 131.394 484.183 133.448 477.438 133.448C470.694 133.448 465.968 131.394 462.647 127.706C459.289 123.977 457.299 118.365 457.299 110.22V91.1316C457.299 82.9862 459.289 77.3746 462.647 73.645C465.968 69.9573 470.694 67.9036 477.438 67.9036C484.183 67.9036 488.909 69.9573 492.23 73.645C495.588 77.3746 497.577 82.9862 497.577 91.1316V110.22C497.577 118.365 495.588 123.977 492.23 127.706Z" fill="black"></path><defs><linearGradient id="paint0_linear_97_2" x1="958" y1="0" x2="958" y2="267.294" gradientUnits="userSpaceOnUse"><stop stop-color="#FF0B54"></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></linearGradient></defs></svg></a> <a class="bg-linear-to-r flex flex-wrap items-center justify-center whitespace-nowrap rounded-lg border-gray-100 from-indigo-100 to-pink-100 px-4 py-2 text-center text-sm text-gray-700 hover:to-pink-200 hover:text-gray-900 dark:from-gray-900 dark:to-gray-925 dark:hover:text-gray-200" href="https://ui.endpoints.huggingface.co/new?repository=mistralai/Mistral-Nemo-Instruct-2407" target="_blank">Deploy on <svg class="mx-1 inline flex-none" width="1em" height="1em" viewBox="0 0 74 75" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M46.6517 14.9309C48.2799 11.0495 45.4292 6.76251 41.2202 6.76251H24.1817C19.8066 6.76251 15.9021 9.50789 14.4218 13.6249L8.51785 30.0453C6.77792 34.8844 6.77792 40.1785 8.51785 45.0177L14.4218 61.438C15.9021 65.5551 19.8066 68.3004 24.1817 68.3004H41.2202C45.4292 68.3004 48.2799 64.0134 46.6517 60.132L40.7616 46.0903C38.465 40.6155 38.465 34.4475 40.7616 28.9727L46.6517 14.9309Z" fill="#861FFF" stroke="black" stroke-width="12.6835" stroke-linejoin="round"></path><circle cx="53.1334" cy="37.5315" r="13.9518" fill="#FF3270" stroke="black" stroke-width="12.6835" stroke-linejoin="round"></circle></svg> <span class="font-semibold">Inference Endpoints</span></a></div> <div><h2 class="mb-2.5 font-semibold">Compatible libraries</h2> <div class="flex flex-wrap items-center overflow-hidden"><a class="mb-1 mr-1 md:mb-1.5 md:mr-1.5 rounded-lg" href="/models?library=transformers&amp;pipeline_tag=text-generation"><div class="tag tag-white "><svg class="text-black inline-block text-sm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" preserveAspectRatio="xMidYMid meet" width="1em" height="1em" viewBox="0 0 95 88"><path fill="#fff" d="M94.25 70.08a8.28 8.28 0 0 1-.43 6.46 10.57 10.57 0 0 1-3 3.6 25.18 25.18 0 0 1-5.7 3.2 65.74 65.74 0 0 1-7.56 2.65 46.67 46.67 0 0 1-11.42 1.68c-5.42.05-10.09-1.23-13.4-4.5a40.4 40.4 0 0 1-10.14.03c-3.34 3.25-7.99 4.52-13.39 4.47a46.82 46.82 0 0 1-11.43-1.68 66.37 66.37 0 0 1-7.55-2.65c-2.28-.98-4.17-2-5.68-3.2a10.5 10.5 0 0 1-3.02-3.6c-.99-2-1.18-4.3-.42-6.46a8.54 8.54 0 0 1-.33-5.63c.25-.95.66-1.83 1.18-2.61a8.67 8.67 0 0 1 2.1-8.47 8.23 8.23 0 0 1 2.82-2.07 41.75 41.75 0 1 1 81.3-.12 8.27 8.27 0 0 1 3.11 2.19 8.7 8.7 0 0 1 2.1 8.47c.52.78.93 1.66 1.18 2.61a8.61 8.61 0 0 1-.32 5.63Z"></path><path fill="#FFD21E" d="M47.21 76.5a34.75 34.75 0 1 0 0-69.5 34.75 34.75 0 0 0 0 69.5Z"></path><path fill="#FF9D0B" d="M81.96 41.75a34.75 34.75 0 1 0-69.5 0 34.75 34.75 0 0 0 69.5 0Zm-73.5 0a38.75 38.75 0 1 1 77.5 0 38.75 38.75 0 0 1-77.5 0Z"></path><path fill="#3A3B45" d="M58.5 32.3c1.28.44 1.78 3.06 3.07 2.38a5 5 0 1 0-6.76-2.07c.61 1.15 2.55-.72 3.7-.32ZM34.95 32.3c-1.28.44-1.79 3.06-3.07 2.38a5 5 0 1 1 6.76-2.07c-.61 1.15-2.56-.72-3.7-.32Z"></path><path fill="#FF323D" d="M46.96 56.29c9.83 0 13-8.76 13-13.26 0-2.34-1.57-1.6-4.09-.36-2.33 1.15-5.46 2.74-8.9 2.74-7.19 0-13-6.88-13-2.38s3.16 13.26 13 13.26Z"></path><path fill="#3A3B45" fill-rule="evenodd" d="M39.43 54a8.7 8.7 0 0 1 5.3-4.49c.4-.12.81.57 1.24 1.28.4.68.82 1.37 1.24 1.37.45 0 .9-.68 1.33-1.35.45-.7.89-1.38 1.32-1.25a8.61 8.61 0 0 1 5 4.17c3.73-2.94 5.1-7.74 5.1-10.7 0-2.34-1.57-1.6-4.09-.36l-.14.07c-2.31 1.15-5.39 2.67-8.77 2.67s-6.45-1.52-8.77-2.67c-2.6-1.29-4.23-2.1-4.23.29 0 3.05 1.46 8.06 5.47 10.97Z" clip-rule="evenodd"></path><path fill="#FF9D0B" d="M70.71 37a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM24.21 37a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5ZM17.52 48c-1.62 0-3.06.66-4.07 1.87a5.97 5.97 0 0 0-1.33 3.76 7.1 7.1 0 0 0-1.94-.3c-1.55 0-2.95.59-3.94 1.66a5.8 5.8 0 0 0-.8 7 5.3 5.3 0 0 0-1.79 2.82c-.24.9-.48 2.8.8 4.74a5.22 5.22 0 0 0-.37 5.02c1.02 2.32 3.57 4.14 8.52 6.1 3.07 1.22 5.89 2 5.91 2.01a44.33 44.33 0 0 0 10.93 1.6c5.86 0 10.05-1.8 12.46-5.34 3.88-5.69 3.33-10.9-1.7-15.92-2.77-2.78-4.62-6.87-5-7.77-.78-2.66-2.84-5.62-6.25-5.62a5.7 5.7 0 0 0-4.6 2.46c-1-1.26-1.98-2.25-2.86-2.82A7.4 7.4 0 0 0 17.52 48Zm0 4c.51 0 1.14.22 1.82.65 2.14 1.36 6.25 8.43 7.76 11.18.5.92 1.37 1.31 2.14 1.31 1.55 0 2.75-1.53.15-3.48-3.92-2.93-2.55-7.72-.68-8.01.08-.02.17-.02.24-.02 1.7 0 2.45 2.93 2.45 2.93s2.2 5.52 5.98 9.3c3.77 3.77 3.97 6.8 1.22 10.83-1.88 2.75-5.47 3.58-9.16 3.58-3.81 0-7.73-.9-9.92-1.46-.11-.03-13.45-3.8-11.76-7 .28-.54.75-.76 1.34-.76 2.38 0 6.7 3.54 8.57 3.54.41 0 .7-.17.83-.6.79-2.85-12.06-4.05-10.98-8.17.2-.73.71-1.02 1.44-1.02 3.14 0 10.2 5.53 11.68 5.53.11 0 .2-.03.24-.1.74-1.2.33-2.04-4.9-5.2-5.21-3.16-8.88-5.06-6.8-7.33.24-.26.58-.38 1-.38 3.17 0 10.66 6.82 10.66 6.82s2.02 2.1 3.25 2.1c.28 0 .52-.1.68-.38.86-1.46-8.06-8.22-8.56-11.01-.34-1.9.24-2.85 1.31-2.85Z"></path><path fill="#FFD21E" d="M38.6 76.69c2.75-4.04 2.55-7.07-1.22-10.84-3.78-3.77-5.98-9.3-5.98-9.3s-.82-3.2-2.69-2.9c-1.87.3-3.24 5.08.68 8.01 3.91 2.93-.78 4.92-2.29 2.17-1.5-2.75-5.62-9.82-7.76-11.18-2.13-1.35-3.63-.6-3.13 2.2.5 2.79 9.43 9.55 8.56 11-.87 1.47-3.93-1.71-3.93-1.71s-9.57-8.71-11.66-6.44c-2.08 2.27 1.59 4.17 6.8 7.33 5.23 3.16 5.64 4 4.9 5.2-.75 1.2-12.28-8.53-13.36-4.4-1.08 4.11 11.77 5.3 10.98 8.15-.8 2.85-9.06-5.38-10.74-2.18-1.7 3.21 11.65 6.98 11.76 7.01 4.3 1.12 15.25 3.49 19.08-2.12Z"></path><path fill="#FF9D0B" d="M77.4 48c1.62 0 3.07.66 4.07 1.87a5.97 5.97 0 0 1 1.33 3.76 7.1 7.1 0 0 1 1.95-.3c1.55 0 2.95.59 3.94 1.66a5.8 5.8 0 0 1 .8 7 5.3 5.3 0 0 1 1.78 2.82c.24.9.48 2.8-.8 4.74a5.22 5.22 0 0 1 .37 5.02c-1.02 2.32-3.57 4.14-8.51 6.1-3.08 1.22-5.9 2-5.92 2.01a44.33 44.33 0 0 1-10.93 1.6c-5.86 0-10.05-1.8-12.46-5.34-3.88-5.69-3.33-10.9 1.7-15.92 2.78-2.78 4.63-6.87 5.01-7.77.78-2.66 2.83-5.62 6.24-5.62a5.7 5.7 0 0 1 4.6 2.46c1-1.26 1.98-2.25 2.87-2.82A7.4 7.4 0 0 1 77.4 48Zm0 4c-.51 0-1.13.22-1.82.65-2.13 1.36-6.25 8.43-7.76 11.18a2.43 2.43 0 0 1-2.14 1.31c-1.54 0-2.75-1.53-.14-3.48 3.91-2.93 2.54-7.72.67-8.01a1.54 1.54 0 0 0-.24-.02c-1.7 0-2.45 2.93-2.45 2.93s-2.2 5.52-5.97 9.3c-3.78 3.77-3.98 6.8-1.22 10.83 1.87 2.75 5.47 3.58 9.15 3.58 3.82 0 7.73-.9 9.93-1.46.1-.03 13.45-3.8 11.76-7-.29-.54-.75-.76-1.34-.76-2.38 0-6.71 3.54-8.57 3.54-.42 0-.71-.17-.83-.6-.8-2.85 12.05-4.05 10.97-8.17-.19-.73-.7-1.02-1.44-1.02-3.14 0-10.2 5.53-11.68 5.53-.1 0-.19-.03-.23-.1-.74-1.2-.34-2.04 4.88-5.2 5.23-3.16 8.9-5.06 6.8-7.33-.23-.26-.57-.38-.98-.38-3.18 0-10.67 6.82-10.67 6.82s-2.02 2.1-3.24 2.1a.74.74 0 0 1-.68-.38c-.87-1.46 8.05-8.22 8.55-11.01.34-1.9-.24-2.85-1.31-2.85Z"></path><path fill="#FFD21E" d="M56.33 76.69c-2.75-4.04-2.56-7.07 1.22-10.84 3.77-3.77 5.97-9.3 5.97-9.3s.82-3.2 2.7-2.9c1.86.3 3.23 5.08-.68 8.01-3.92 2.93.78 4.92 2.28 2.17 1.51-2.75 5.63-9.82 7.76-11.18 2.13-1.35 3.64-.6 3.13 2.2-.5 2.79-9.42 9.55-8.55 11 .86 1.47 3.92-1.71 3.92-1.71s9.58-8.71 11.66-6.44c2.08 2.27-1.58 4.17-6.8 7.33-5.23 3.16-5.63 4-4.9 5.2.75 1.2 12.28-8.53 13.36-4.4 1.08 4.11-11.76 5.3-10.97 8.15.8 2.85 9.05-5.38 10.74-2.18 1.69 3.21-11.65 6.98-11.76 7.01-4.31 1.12-15.26 3.49-19.08-2.12Z"></path></svg> <span>Transformers</span> </div></a><a class="mb-1 mr-1 md:mb-1.5 md:mr-1.5 rounded-lg" href="/models?library=transformers.js&amp;pipeline_tag=text-generation"><div class="tag tag-white "><svg class="text-black inline-block text-sm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><rect width="32" height="32" fill="#f7df1e"></rect><path d="M21.5,25a3.27,3.27,0,0,0,3,1.83c1.25,0,2-.63,2-1.49,0-1-.81-1.39-2.19-2L23.56,23C21.39,22.1,20,20.94,20,18.49c0-2.25,1.72-4,4.41-4a4.44,4.44,0,0,1,4.27,2.41l-2.34,1.5a2,2,0,0,0-1.93-1.29,1.31,1.31,0,0,0-1.44,1.29c0,.9.56,1.27,1.85,1.83l.75.32c2.55,1.1,4,2.21,4,4.72,0,2.71-2.12,4.19-5,4.19a5.78,5.78,0,0,1-5.48-3.07Zm-10.63.26c.48.84.91,1.55,1.94,1.55s1.61-.39,1.61-1.89V14.69h3V25c0,3.11-1.83,4.53-4.49,4.53a4.66,4.66,0,0,1-4.51-2.75Z"></path></svg> <span>Transformers.js</span> </div></a></div></div> <section class="shadow-alternate-sm flex flex-col gap-2 rounded-xl border border-gray-100 px-4 pb-4 pt-3"><div class="flex space-x-1.5 text-sm text-gray-500"><span>using</span> <a class="ml-1 block text-gray-700 underline hover:text-gray-900 dark:hover:text-gray-100" href="/mistralai/Mistral-Nemo-Instruct-2407">mistralai/Mistral-Nemo-Instruct-2407 </a></div> <div class="flex w-full flex-1"><div class="SVELTE_HYDRATER contents" data-target="InferenceWidget" data-props="{&quot;model&quot;:{&quot;author&quot;:&quot;mistralai&quot;,&quot;cardData&quot;:{&quot;language&quot;:[&quot;en&quot;,&quot;fr&quot;,&quot;de&quot;,&quot;es&quot;,&quot;it&quot;,&quot;pt&quot;,&quot;ru&quot;,&quot;zh&quot;,&quot;ja&quot;],&quot;license&quot;:&quot;apache-2.0&quot;,&quot;base_model&quot;:&quot;mistralai/Mistral-Nemo-Base-2407&quot;,&quot;extra_gated_description&quot;:&quot;If you want to learn more about how we process your personal data, please read our <a href=\&quot;https://mistral.ai/terms/\&quot;>Privacy Policy</a>.&quot;},&quot;cardExists&quot;:true,&quot;config&quot;:{&quot;architectures&quot;:[&quot;MistralForCausalLM&quot;],&quot;model_type&quot;:&quot;mistral&quot;,&quot;tokenizer_config&quot;:{&quot;bos_token&quot;:&quot;<s>&quot;,&quot;chat_template&quot;:&quot;{%- if messages[0][\&quot;role\&quot;] == \&quot;system\&quot; %}\n {%- set system_message = messages[0][\&quot;content\&quot;] %}\n {%- set loop_messages = messages[1:] %}\n{%- else %}\n {%- set loop_messages = messages %}\n{%- endif %}\n{%- if not tools is defined %}\n {%- set tools = none %}\n{%- endif %}\n{%- set user_messages = loop_messages | selectattr(\&quot;role\&quot;, \&quot;equalto\&quot;, \&quot;user\&quot;) | list %}\n\n{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}\n{%- set ns = namespace() %}\n{%- set ns.index = 0 %}\n{%- for message in loop_messages %}\n {%- if not (message.role == \&quot;tool\&quot; or message.role == \&quot;tool_results\&quot; or (message.tool_calls is defined and message.tool_calls is not none)) %}\n {%- if (message[\&quot;role\&quot;] == \&quot;user\&quot;) != (ns.index % 2 == 0) %}\n {{- raise_exception(\&quot;After the optional system message, conversation roles must alternate user/assistant/user/assistant/...\&quot;) }}\n {%- endif %}\n {%- set ns.index = ns.index + 1 %}\n {%- endif %}\n{%- endfor %}\n\n{{- bos_token }}\n{%- for message in loop_messages %}\n {%- if message[\&quot;role\&quot;] == \&quot;user\&quot; %}\n {%- if tools is not none and (message == user_messages[-1]) %}\n {{- \&quot;[AVAILABLE_TOOLS][\&quot; }}\n {%- for tool in tools %}\n {%- set tool = tool.function %}\n {{- '{\&quot;type\&quot;: \&quot;function\&quot;, \&quot;function\&quot;: {' }}\n {%- for key, val in tool.items() if key != \&quot;return\&quot; %}\n {%- if val is string %}\n {{- '\&quot;' + key + '\&quot;: \&quot;' + val + '\&quot;' }}\n {%- else %}\n {{- '\&quot;' + key + '\&quot;: ' + val|tojson }}\n {%- endif %}\n {%- if not loop.last %}\n {{- \&quot;, \&quot; }}\n {%- endif %}\n {%- endfor %}\n {{- \&quot;}}\&quot; }}\n {%- if not loop.last %}\n {{- \&quot;, \&quot; }}\n {%- else %}\n {{- \&quot;]\&quot; }}\n {%- endif %}\n {%- endfor %}\n {{- \&quot;[/AVAILABLE_TOOLS]\&quot; }}\n {%- endif %}\n {%- if loop.last and system_message is defined %}\n {{- \&quot;[INST]\&quot; + system_message + \&quot;\\n\\n\&quot; + message[\&quot;content\&quot;] + \&quot;[/INST]\&quot; }}\n {%- else %}\n {{- \&quot;[INST]\&quot; + message[\&quot;content\&quot;] + \&quot;[/INST]\&quot; }}\n {%- endif %}\n {%- elif (message.tool_calls is defined and message.tool_calls is not none) %}\n {{- \&quot;[TOOL_CALLS][\&quot; }}\n {%- for tool_call in message.tool_calls %}\n {%- set out = tool_call.function|tojson %}\n {{- out[:-1] }}\n {%- if not tool_call.id is defined or tool_call.id|length != 9 %}\n {{- raise_exception(\&quot;Tool call IDs should be alphanumeric strings with length 9!\&quot;) }}\n {%- endif %}\n {{- ', \&quot;id\&quot;: \&quot;' + tool_call.id + '\&quot;}' }}\n {%- if not loop.last %}\n {{- \&quot;, \&quot; }}\n {%- else %}\n {{- \&quot;]\&quot; + eos_token }}\n {%- endif %}\n {%- endfor %}\n {%- elif message[\&quot;role\&quot;] == \&quot;assistant\&quot; %}\n {{- message[\&quot;content\&quot;] + eos_token}}\n {%- elif message[\&quot;role\&quot;] == \&quot;tool_results\&quot; or message[\&quot;role\&quot;] == \&quot;tool\&quot; %}\n {%- if message.content is defined and message.content.content is defined %}\n {%- set content = message.content.content %}\n {%- else %}\n {%- set content = message.content %}\n {%- endif %}\n {{- '[TOOL_RESULTS]{\&quot;content\&quot;: ' + content|string + \&quot;, \&quot; }}\n {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %}\n {{- raise_exception(\&quot;Tool call IDs should be alphanumeric strings with length 9!\&quot;) }}\n {%- endif %}\n {{- '\&quot;call_id\&quot;: \&quot;' + message.tool_call_id + '\&quot;}[/TOOL_RESULTS]' }}\n {%- else %}\n {{- raise_exception(\&quot;Only user and assistant roles are supported, with the exception of an initial optional system message!\&quot;) }}\n {%- endif %}\n{%- endfor %}\n&quot;,&quot;eos_token&quot;:&quot;</s>&quot;,&quot;unk_token&quot;:&quot;<unk>&quot;}},&quot;createdAt&quot;:&quot;2024-07-17T17:26:49.000Z&quot;,&quot;discussionsDisabled&quot;:false,&quot;downloads&quot;:260530,&quot;downloadsAllTime&quot;:6411949,&quot;id&quot;:&quot;mistralai/Mistral-Nemo-Instruct-2407&quot;,&quot;isLikedByUser&quot;:false,&quot;availableInferenceProviders&quot;:[{&quot;name&quot;:&quot;hf-inference&quot;,&quot;modelStatus&quot;:&quot;live&quot;,&quot;providerStatus&quot;:&quot;live&quot;,&quot;providerId&quot;:&quot;mistralai/Mistral-Nemo-Instruct-2407&quot;},{&quot;name&quot;:&quot;nebius&quot;,&quot;modelStatus&quot;:&quot;live&quot;,&quot;providerStatus&quot;:&quot;live&quot;,&quot;providerId&quot;:&quot;mistralai/Mistral-Nemo-Instruct-2407-fast&quot;}],&quot;inference&quot;:&quot;warm&quot;,&quot;lastModified&quot;:&quot;2024-11-06T17:28:00.000Z&quot;,&quot;likes&quot;:1500,&quot;pipeline_tag&quot;:&quot;text-generation&quot;,&quot;library_name&quot;:&quot;transformers&quot;,&quot;librariesOther&quot;:[],&quot;trackDownloads&quot;:true,&quot;model-index&quot;:null,&quot;private&quot;:false,&quot;repoType&quot;:&quot;model&quot;,&quot;gated&quot;:&quot;auto&quot;,&quot;tags&quot;:[&quot;transformers&quot;,&quot;safetensors&quot;,&quot;mistral&quot;,&quot;text-generation&quot;,&quot;conversational&quot;,&quot;en&quot;,&quot;fr&quot;,&quot;de&quot;,&quot;es&quot;,&quot;it&quot;,&quot;pt&quot;,&quot;ru&quot;,&quot;zh&quot;,&quot;ja&quot;,&quot;base_model:mistralai/Mistral-Nemo-Base-2407&quot;,&quot;base_model:finetune:mistralai/Mistral-Nemo-Base-2407&quot;,&quot;license:apache-2.0&quot;,&quot;autotrain_compatible&quot;,&quot;text-generation-inference&quot;,&quot;endpoints_compatible&quot;,&quot;region:us&quot;],&quot;tag_objs&quot;:[{&quot;id&quot;:&quot;text-generation&quot;,&quot;label&quot;:&quot;Text Generation&quot;,&quot;type&quot;:&quot;pipeline_tag&quot;,&quot;subType&quot;:&quot;nlp&quot;},{&quot;id&quot;:&quot;transformers&quot;,&quot;label&quot;:&quot;Transformers&quot;,&quot;type&quot;:&quot;library&quot;},{&quot;id&quot;:&quot;safetensors&quot;,&quot;label&quot;:&quot;Safetensors&quot;,&quot;type&quot;:&quot;library&quot;},{&quot;id&quot;:&quot;en&quot;,&quot;label&quot;:&quot;English&quot;,&quot;type&quot;:&quot;language&quot;},{&quot;id&quot;:&quot;fr&quot;,&quot;label&quot;:&quot;French&quot;,&quot;type&quot;:&quot;language&quot;},{&quot;id&quot;:&quot;de&quot;,&quot;label&quot;:&quot;German&quot;,&quot;type&quot;:&quot;language&quot;},{&quot;id&quot;:&quot;es&quot;,&quot;label&quot;:&quot;Spanish&quot;,&quot;type&quot;:&quot;language&quot;},{&quot;id&quot;:&quot;it&quot;,&quot;label&quot;:&quot;Italian&quot;,&quot;type&quot;:&quot;language&quot;},{&quot;id&quot;:&quot;pt&quot;,&quot;label&quot;:&quot;Portuguese&quot;,&quot;type&quot;:&quot;language&quot;},{&quot;id&quot;:&quot;ru&quot;,&quot;label&quot;:&quot;Russian&quot;,&quot;type&quot;:&quot;language&quot;},{&quot;id&quot;:&quot;zh&quot;,&quot;label&quot;:&quot;Chinese&quot;,&quot;type&quot;:&quot;language&quot;},{&quot;id&quot;:&quot;ja&quot;,&quot;label&quot;:&quot;Japanese&quot;,&quot;type&quot;:&quot;language&quot;},{&quot;id&quot;:&quot;mistral&quot;,&quot;label&quot;:&quot;mistral&quot;,&quot;type&quot;:&quot;other&quot;},{&quot;id&quot;:&quot;conversational&quot;,&quot;label&quot;:&quot;conversational&quot;,&quot;type&quot;:&quot;other&quot;},{&quot;id&quot;:&quot;base_model:mistralai/Mistral-Nemo-Base-2407&quot;,&quot;label&quot;:&quot;base_model:mistralai/Mistral-Nemo-Base-2407&quot;,&quot;type&quot;:&quot;other&quot;},{&quot;id&quot;:&quot;base_model:finetune:mistralai/Mistral-Nemo-Base-2407&quot;,&quot;label&quot;:&quot;base_model:finetune:mistralai/Mistral-Nemo-Base-2407&quot;,&quot;type&quot;:&quot;other&quot;},{&quot;id&quot;:&quot;autotrain_compatible&quot;,&quot;label&quot;:&quot;AutoTrain Compatible&quot;,&quot;type&quot;:&quot;other&quot;},{&quot;id&quot;:&quot;text-generation-inference&quot;,&quot;label&quot;:&quot;text-generation-inference&quot;,&quot;type&quot;:&quot;other&quot;},{&quot;id&quot;:&quot;endpoints_compatible&quot;,&quot;label&quot;:&quot;Inference Endpoints&quot;,&quot;type&quot;:&quot;other&quot;},{&quot;id&quot;:&quot;license:apache-2.0&quot;,&quot;label&quot;:&quot;apache-2.0&quot;,&quot;type&quot;:&quot;license&quot;},{&quot;type&quot;:&quot;region&quot;,&quot;label&quot;:&quot;🇺🇸 Region: US&quot;,&quot;id&quot;:&quot;region:us&quot;}],&quot;transformersInfo&quot;:{&quot;auto_model&quot;:&quot;AutoModelForCausalLM&quot;,&quot;pipeline_tag&quot;:&quot;text-generation&quot;,&quot;processor&quot;:&quot;AutoTokenizer&quot;},&quot;widgetData&quot;:[{&quot;text&quot;:&quot;Hi, what can you help me with?&quot;},{&quot;text&quot;:&quot;What is 84 * 3 / 2?&quot;},{&quot;text&quot;:&quot;Tell me an interesting fact about the universe!&quot;},{&quot;text&quot;:&quot;Explain quantum computing in simple terms.&quot;}],&quot;safetensors&quot;:{&quot;parameters&quot;:{&quot;BF16&quot;:12247782400},&quot;total&quot;:12247782400,&quot;sharded&quot;:true},&quot;hasBlockedOids&quot;:false,&quot;region&quot;:&quot;us&quot;,&quot;isQuantized&quot;:false,&quot;inferenceStatic&quot;:&quot;maybe-loadable&quot;,&quot;xetEnabled&quot;:false},&quot;shouldUpdateUrl&quot;:false,&quot;isLoggedIn&quot;:false,&quot;inferenceProviders&quot;:[{&quot;name&quot;:&quot;cerebras&quot;,&quot;enabled&quot;:true,&quot;position&quot;:0,&quot;isReleased&quot;:true,&quot;accuratePricing&quot;:true},{&quot;name&quot;:&quot;together&quot;,&quot;enabled&quot;:true,&quot;position&quot;:1,&quot;isReleased&quot;:true,&quot;accuratePricing&quot;:true},{&quot;name&quot;:&quot;nebius&quot;,&quot;enabled&quot;:true,&quot;position&quot;:2,&quot;isReleased&quot;:true,&quot;accuratePricing&quot;:false},{&quot;name&quot;:&quot;fal-ai&quot;,&quot;enabled&quot;:true,&quot;position&quot;:3,&quot;isReleased&quot;:true,&quot;accuratePricing&quot;:true},{&quot;name&quot;:&quot;fireworks-ai&quot;,&quot;enabled&quot;:true,&quot;position&quot;:4,&quot;isReleased&quot;:true,&quot;accuratePricing&quot;:false},{&quot;name&quot;:&quot;replicate&quot;,&quot;enabled&quot;:true,&quot;position&quot;:5,&quot;isReleased&quot;:true,&quot;accuratePricing&quot;:false},{&quot;name&quot;:&quot;sambanova&quot;,&quot;enabled&quot;:true,&quot;position&quot;:6,&quot;isReleased&quot;:true,&quot;accuratePricing&quot;:false},{&quot;name&quot;:&quot;novita&quot;,&quot;enabled&quot;:true,&quot;position&quot;:7,&quot;isReleased&quot;:true,&quot;accuratePricing&quot;:true},{&quot;name&quot;:&quot;hyperbolic&quot;,&quot;enabled&quot;:true,&quot;position&quot;:8,&quot;isReleased&quot;:true,&quot;accuratePricing&quot;:false},{&quot;name&quot;:&quot;hf-inference&quot;,&quot;enabled&quot;:true,&quot;position&quot;:9,&quot;isReleased&quot;:true,&quot;accuratePricing&quot;:true}]}"><form class="flex w-full max-w-full flex-col "> <div class="mb-2 flex min-w-0 flex-wrap items-center justify-between gap-2 font-semibold"><div class="flex flex-none items-center"><svg class="-ml-1 mr-1 size-5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 26 26"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.4366 18.4116C16.9577 18.8235 17.7163 18.7888 18.1975 18.3077C18.716 17.7891 18.716 16.9484 18.1975 16.4299L18.1881 16.4205C18.0196 16.252 17.8172 16.1383 17.6028 16.0793L16.4366 18.4116ZM18.464 14.3569C18.6064 14.4091 18.7604 14.4376 18.9209 14.4376H18.9341C19.6674 14.4376 20.2618 13.8432 20.2618 13.1099C20.2618 12.6391 20.0169 12.2256 19.6475 11.9898L18.464 14.3569ZM18.5862 8.87362C18.592 8.52645 18.4624 8.17745 18.1975 7.91254C17.679 7.39401 16.8383 7.39401 16.3197 7.91254L16.3103 7.92197C16.068 8.1643 15.9389 8.47701 15.9231 8.79431H18.0227C18.2206 8.79431 18.4094 8.82218 18.5862 8.87362ZM7.73367 11.9544L6.54508 14.3316C6.07063 14.1291 5.73809 13.6583 5.73809 13.1099C5.73809 12.3766 6.33256 11.7821 7.06587 11.7821H7.079C7.31705 11.7821 7.54047 11.8447 7.73367 11.9544ZM9.72922 7.96332L8.61978 10.1822C8.32483 10.1531 8.03774 10.0257 7.81182 9.79973L7.8024 9.79031C7.28387 9.27178 7.28387 8.43107 7.8024 7.91254C8.32093 7.39401 9.16163 7.39401 9.68016 7.91254L9.68958 7.92197C9.70315 7.93553 9.71636 7.94932 9.72922 7.96332ZM7.41805 17.2586C7.66023 17.365 7.93068 17.4249 8.22103 17.4249H10.0769C10.0613 17.7425 9.93217 18.0556 9.68958 18.2982L9.68016 18.3077C9.16163 18.8262 8.32093 18.8262 7.8024 18.3077C7.51509 18.0204 7.38698 17.6341 7.41805 17.2586ZM17.5933 13.1292C17.5932 13.1228 17.5932 13.1163 17.5932 13.1099C17.5932 12.6685 17.8085 12.2774 18.1399 12.036L17.5933 13.1292ZM8.33779 16.0971H9.16361C8.89577 16.0097 8.60563 16.0097 8.33779 16.0971ZM17.6652 10.1221H16.8332C17.1029 10.2108 17.3955 10.2108 17.6652 10.1221ZM6.8489 5.08128C6.33037 4.56275 5.48966 4.56275 4.97113 5.08128C4.4526 5.59981 4.4526 6.44052 4.97113 6.95905L4.97585 6.96376C5.49438 7.48229 6.33508 7.48229 6.85361 6.96376C7.37214 6.44523 7.37214 5.60452 6.85361 5.08599L6.8489 5.08128ZM12.5161 10.7485C11.9976 10.23 11.1569 10.23 10.6384 10.7485C10.2987 11.0882 10.1816 11.566 10.2869 12.0011C9.92712 12.2386 9.68978 12.6465 9.68978 13.1099C9.68978 13.5733 9.92716 13.9812 10.287 14.2187C10.1815 14.6539 10.2986 15.1319 10.6384 15.4717C11.1569 15.9902 11.9976 15.9902 12.5161 15.4717L12.5256 15.4623C13.0441 14.9437 13.0441 14.103 12.5256 13.5845C12.4623 13.5212 12.3942 13.4657 12.3226 13.4179C12.346 13.319 12.3585 13.2159 12.3585 13.1099C12.3585 13.004 12.3461 12.901 12.3227 12.8023C12.3943 12.7545 12.4623 12.6989 12.5256 12.6357C13.0441 12.1172 13.0441 11.2765 12.5256 10.7579L12.5161 10.7485ZM13.6774 13.4178C13.6057 13.4657 13.5376 13.5212 13.4743 13.5845C12.9558 14.103 12.9558 14.9437 13.4743 15.4623L13.4838 15.4717C14.0023 15.9902 14.843 15.9902 15.3615 15.4717C15.7013 15.1319 15.8184 14.6539 15.713 14.2188C16.0728 13.9812 16.3102 13.5733 16.3102 13.1099C16.3102 12.6465 16.0728 12.2386 15.7131 12.001C15.8183 11.566 15.7012 11.0882 15.3615 10.7485C14.843 10.23 14.0023 10.23 13.4838 10.7485L13.4743 10.7579C12.9558 11.2765 12.9558 12.1172 13.4743 12.6357C13.5376 12.6989 13.6056 12.7545 13.6773 12.8023C13.6539 12.901 13.6415 13.004 13.6415 13.1099C13.6415 13.2159 13.6539 13.319 13.6774 13.4178ZM21.0241 19.2564C20.5055 18.7379 19.6648 18.7379 19.1463 19.2564C18.6278 19.775 18.6278 20.6157 19.1463 21.1342L19.151 21.1389C19.6695 21.6574 20.5102 21.6574 21.0288 21.1389C21.5473 20.6204 21.5473 19.7797 21.0288 19.2612L21.0241 19.2564ZM3.12075 11.7821C2.38744 11.7821 1.79297 12.3766 1.79297 13.1099C1.79297 13.8432 2.38744 14.4376 3.12075 14.4376H3.12731C3.86063 14.4376 4.45509 13.8432 4.45509 13.1099C4.45509 12.3766 3.86063 11.7821 3.12731 11.7821H3.12075ZM22.8726 11.7821C22.1393 11.7821 21.5448 12.3766 21.5448 13.1099C21.5448 13.8432 22.1393 14.4376 22.8726 14.4376H22.8792C23.6125 14.4376 24.207 13.8432 24.207 13.1099C24.207 12.3766 23.6125 11.7821 22.8792 11.7821H22.8726ZM21.0288 5.08128C21.5473 5.59981 21.5473 6.44052 21.0288 6.95905L21.0241 6.96376C20.5055 7.48229 19.6648 7.48229 19.1463 6.96376C18.6278 6.44523 18.6278 5.60452 19.1463 5.08599L19.151 5.08128C19.6695 4.56275 20.5102 4.56275 21.0288 5.08128ZM6.85361 19.2564C7.37214 19.775 7.37214 20.6157 6.85361 21.1342L6.8489 21.1389C6.33037 21.6574 5.48966 21.6574 4.97113 21.1389C4.4526 20.6204 4.4526 19.7797 4.97113 19.2612L4.97584 19.2564C5.49437 18.7379 6.33508 18.7379 6.85361 19.2564Z" fill="url(#paint0_radial_171_150)"></path><path d="M12.1261 16.7609C12.1261 16.3943 11.8289 16.097 11.4622 16.097H8.22114C7.72762 16.097 7.40663 15.5777 7.62734 15.1362L12.8601 4.67072C13.1734 4.04412 14.1178 4.26706 14.1178 4.96762V9.45813C14.1178 9.82478 14.415 10.122 14.7817 10.122H18.0228C18.5163 10.122 18.8373 10.6414 18.6166 11.0828L13.3838 21.5483C13.0705 22.1749 12.1261 21.952 12.1261 21.2514V16.7609Z" fill="url(#paint1_linear_171_150)"></path><defs><radialGradient id="paint0_radial_171_150" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(13 13.1101) rotate(90) scale(11.6212 15.6756)"><stop stop-color="#3C3C3C" stop-opacity="0.14"></stop><stop offset="1" stop-color="#3C3C3C" stop-opacity="0.57"></stop></radialGradient><linearGradient id="paint1_linear_171_150" x1="10.9174" y1="20.8051" x2="18.0337" y2="3.35207" gradientUnits="userSpaceOnUse"><stop stop-color="#F59E0B"></stop><stop offset="1" stop-color="#DF910D"></stop></linearGradient></defs></svg> <span class="text-lg">Inference Providers</span> <span class="inline-block flex! items-center"><span class="contents"><a slot="anchor" href="?inference_api=true" class="text-[.6rem]! ml-1.5 translate-y-px rounded-sm bg-blue-500/10 px-1.5 py-0.5 font-semibold leading-tight text-blue-700 dark:bg-blue-500/30 dark:text-blue-200">NEW </a></span> </span></div> <div class="relative "> <button class="rounded-full " type="button" title="Select an Inference Provider"> <div class="text-smd flex h-7 items-center overflow-hidden rounded-full border"><div class="flex flex-1 items-center overflow-hidden px-3 py-0.5"><svg width="1em" height="1em" viewBox="0 0 26 26" class="mr-2 size-4 flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" preserveAspectRatio="xMidYMid meet"><rect x="3.14136" y="2.43652" width="21.1274" height="21.1274" rx="3.54011" fill="#D9FE00"></rect><path fill-rule="evenodd" clip-rule="evenodd" d="M22 5.2226H19V18.4781C19 18.4781 22 18.2885 22 14.6817V5.2226ZM4 11.3183V20.7701H7V7.5146C7 7.5146 8.80257 7.25164 9.75584 9.56444L13.5339 18.6933C14.1519 20.1708 15.1636 21 16.5923 21C18.021 21 19 19.7855 19 18.4842C19 18.4842 17.1974 18.7471 16.2383 16.4356L12.4661 7.30668C11.8481 5.82923 10.8364 5 9.40771 5C7.97897 5 7 6.21327 7 7.5146C6.99416 7.5146 4 7.71029 4 11.3183Z" fill="#002C44"></path></svg> <span class="lg:text-smd truncate text-sm">Nebius AI Studio</span></div> <ul class="ml-1 flex h-7 flex-none translate-x-px items-center gap-1 rounded-full border bg-gray-50 px-3 py-0.5 dark:bg-gray-900 lg:ml-2"> <li title="HF Inference API"><svg class="size-4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 26 26"><rect x="3.34856" y="3.02654" width="19.9474" height="19.9474" rx="2.95009" fill="#FFD21E" stroke="#FFB41E" stroke-width="1.18004"></rect><path fill-rule="evenodd" clip-rule="evenodd" d="M7.69336 9.74609V16.9754H9.32329V13.9595H11.8181V16.9754H13.4591V9.74609H11.8181V12.5292H9.32329V9.74609H7.69336ZM15.1646 9.74609V16.9754H16.7945V14.1702H19.3004V12.7953H16.7945V11.121H19.7217V9.74609H15.1646Z" fill="#814D00"></path></svg></li> </ul></div> </button> </div></div> <div class="mb-0.5 flex w-full max-w-full flex-wrap items-center text-sm text-gray-500"><div class="mb-1.5 flex items-center gap-4"><a href="/tasks/text-generation" target="_blank" title="Learn more about text-generation"><div class="inline-flex items-center hover:underline"><svg class="mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 18 18"><path d="M16.2607 8.08202L14.468 6.28928C14.3063 6.12804 14.0873 6.03749 13.859 6.03749C13.6307 6.03749 13.4117 6.12804 13.25 6.28928L5.6375 13.904V16.9125H8.64607L16.2607 9.30002C16.422 9.13836 16.5125 8.91935 16.5125 8.69102C16.5125 8.4627 16.422 8.24369 16.2607 8.08202V8.08202ZM8.1953 15.825H6.725V14.3547L11.858 9.22118L13.3288 10.6915L8.1953 15.825ZM14.0982 9.92262L12.6279 8.45232L13.8606 7.21964L15.3309 8.68994L14.0982 9.92262Z"></path><path d="M6.18125 9.84373H7.26875V6.03748H8.9V4.94998H4.55V6.03748H6.18125V9.84373Z"></path><path d="M4.55 11.475H2.375V2.775H11.075V4.95H12.1625V2.775C12.1625 2.48658 12.0479 2.20997 11.844 2.00602C11.64 1.80208 11.3634 1.6875 11.075 1.6875H2.375C2.08658 1.6875 1.80997 1.80208 1.60602 2.00602C1.40207 2.20997 1.2875 2.48658 1.2875 2.775V11.475C1.2875 11.7634 1.40207 12.04 1.60602 12.244C1.80997 12.4479 2.08658 12.5625 2.375 12.5625H4.55V11.475Z"></path></svg> <span>Text Generation</span></div></a></div> <div class="ml-auto flex gap-3"> <div class="flex gap-x-1 peer:"> <div class="relative mb-1.5 "> <div class="inline-flex w-32 cursor-pointer justify-between rounded-md border border-gray-100 px-4 py-1 hover:text-gray-700 dark:hover:text-gray-200"><div class="truncate text-sm">Examples</div> <svg class="-mr-1 ml-2 h-5 w-5 transition ease-in-out transform false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"></path></svg></div> </div></div></div></div> <div class="overflow-hidden rounded-t-lg border border-b-0 leading-tight h-64 "><div class="h-full overflow-y-auto"><div class="text-balance p-3 pt-6 text-center text-sm text-gray-400">Input a message to start chatting with <strong>mistralai/Mistral-Nemo-Instruct-2407</strong>. </div> <div class="flex flex-col items-end gap-y-4 px-3 pt-3"></div> <div class="sticky h-3 w-full bg-transparent" aria-hidden="true"></div></div></div> <div> <div class="flex"> <div class="flex h-10 grow"><div class="min-w-0 flex-1"> <span class="inline-block w-full"><span class="contents"><input class="form-input-alt w-full rounded-r-none rounded-t-none" placeholder="Your sentence here..." required type="text" autocomplete="off" value=""></span> </span></div> <span class="inline-block "><span class="contents"><button class="btn-widget h-10 w-24 px-5 rounded-l-none border-l-0 rounded-t-none" type="submit">Send</button></span> </span></div></div></div> <div class="mt-2"> </div> <div class="flex items-center gap-x-2 text-sm text-gray-500"><div class="flex flex-wrap gap-x-2"><button class="flex items-center hover:text-gray-700 dark:hover:text-gray-300" type="button"> <svg class="mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" style="transform: rotate(360deg);"><path d="M31 16l-7 7l-1.41-1.41L28.17 16l-5.58-5.59L24 9l7 7z" fill="currentColor"></path><path d="M1 16l7-7l1.41 1.41L3.83 16l5.58 5.59L8 23l-7-7z" fill="currentColor"></path><path d="M12.419 25.484L17.639 6l1.932.518L14.35 26z" fill="currentColor"></path></svg> View Code </button> </div> <div class="ml-auto"><a href="/playground?modelId=mistralai/Mistral-Nemo-Instruct-2407&amp;provider=nebius" target="_blank" class="flex items-center hover:text-gray-700 dark:hover:text-gray-300"><svg class="mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 7h22l1 1v16l-1 1H5l-1-1V8l1-1ZM3 8l2-2h22l2 2v16l-2 2H5l-2-2V8Z" fill="currentColor" fill-opacity=".7"></path><rect x="20" y="9" width="6" height="14" rx="1" fill="currentColor" fill-opacity="1"></rect></svg> Open Playground </a></div></div></form></div></div> </section> <section class="shadow-alternate-sm rounded-xl border border-gray-100 px-4 pb-4 pt-3 "><div class="mb-1.5 flex items-center whitespace-nowrap font-semibold text-gray-800 lg:text-lg"><svg class="mr-1.5 flex-none text-indigo-400" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z" opacity=".25" fill="currentColor"></path><path class="uim-tertiary" d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z" opacity=".5" fill="currentColor"></path><path class="uim-primary" d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z" fill="currentColor"></path></svg> <div class="truncate">Models for Text Generation</div> <a class="btn ml-4 text-sm font-normal" href="/models?pipeline_tag=text-generation">Browse Models (202,547)</a> </div> <div class="mt-4 space-y-4"><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/google/gemma-2-2b-it"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="google/gemma-2-2b-it"><img alt="" class="w-3.5 h-3.5 rounded-sm mr-1.5 flex-none flex-none" src="https://cdn-avatars.huggingface.co/v1/production/uploads/5dd96eb166059660ed1ee413/WtA3YYitedOr9n02eHfJe.png" crossorigin="anonymous"> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-indigo-600 text-smd">google/gemma-2-2b-it</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="mr-1.5 text-[.8rem] flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 18 18"><path d="M16.2607 8.08202L14.468 6.28928C14.3063 6.12804 14.0873 6.03749 13.859 6.03749C13.6307 6.03749 13.4117 6.12804 13.25 6.28928L5.6375 13.904V16.9125H8.64607L16.2607 9.30002C16.422 9.13836 16.5125 8.91935 16.5125 8.69102C16.5125 8.4627 16.422 8.24369 16.2607 8.08202V8.08202ZM8.1953 15.825H6.725V14.3547L11.858 9.22118L13.3288 10.6915L8.1953 15.825ZM14.0982 9.92262L12.6279 8.45232L13.8606 7.21964L15.3309 8.68994L14.0982 9.92262Z"></path><path d="M6.18125 9.84373H7.26875V6.03748H8.9V4.94998H4.55V6.03748H6.18125V9.84373Z"></path><path d="M4.55 11.475H2.375V2.775H11.075V4.95H12.1625V2.775C12.1625 2.48658 12.0479 2.20997 11.844 2.00602C11.64 1.80208 11.3634 1.6875 11.075 1.6875H2.375C2.08658 1.6875 1.80997 1.80208 1.60602 2.00602C1.40207 2.20997 1.2875 2.48658 1.2875 2.775V11.475C1.2875 11.7634 1.40207 12.04 1.60602 12.244C1.80997 12.4479 2.08658 12.5625 2.375 12.5625H4.55V11.475Z"></path></svg> Text Generation <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2024-08-27T19:41:44" title="Tue, 27 Aug 2024 19:41:44 GMT">Aug 27, 2024</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 408k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="-mx-[2px] flex-none" title="Inference Providers available"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" class="text-orange-300 dark:text-gray-400 " width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path d="M11 15H6l7-14v8h5l-7 14v-8z" fill="currentColor"></path></svg></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 1.04k </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> A text-generation model trained to follow instructions. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B"><img alt="" class="w-3.5 h-3.5 rounded-sm mr-1.5 flex-none flex-none" src="https://cdn-avatars.huggingface.co/v1/production/uploads/6538815d1bdb3c40db94fbfa/xMBly9PUMphrFVMxLX4kq.png" crossorigin="anonymous"> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-indigo-600 text-smd">deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="mr-1.5 text-[.8rem] flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 18 18"><path d="M16.2607 8.08202L14.468 6.28928C14.3063 6.12804 14.0873 6.03749 13.859 6.03749C13.6307 6.03749 13.4117 6.12804 13.25 6.28928L5.6375 13.904V16.9125H8.64607L16.2607 9.30002C16.422 9.13836 16.5125 8.91935 16.5125 8.69102C16.5125 8.4627 16.422 8.24369 16.2607 8.08202V8.08202ZM8.1953 15.825H6.725V14.3547L11.858 9.22118L13.3288 10.6915L8.1953 15.825ZM14.0982 9.92262L12.6279 8.45232L13.8606 7.21964L15.3309 8.68994L14.0982 9.92262Z"></path><path d="M6.18125 9.84373H7.26875V6.03748H8.9V4.94998H4.55V6.03748H6.18125V9.84373Z"></path><path d="M4.55 11.475H2.375V2.775H11.075V4.95H12.1625V2.775C12.1625 2.48658 12.0479 2.20997 11.844 2.00602C11.64 1.80208 11.3634 1.6875 11.075 1.6875H2.375C2.08658 1.6875 1.80997 1.80208 1.60602 2.00602C1.40207 2.20997 1.2875 2.48658 1.2875 2.775V11.475C1.2875 11.7634 1.40207 12.04 1.60602 12.244C1.80997 12.4479 2.08658 12.5625 2.375 12.5625H4.55V11.475Z"></path></svg> Text Generation <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-02-24T03:32:35" title="Mon, 24 Feb 2025 03:32:35 GMT">Feb 24</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 1.78M <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="-mx-[2px] flex-none" title="Inference Providers available"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" class="text-orange-300 dark:text-gray-400 " width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path d="M11 15H6l7-14v8h5l-7 14v-8z" fill="currentColor"></path></svg></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 1.11k </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> Smaller variant of one of the most powerful models. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/microsoft/phi-4"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="microsoft/phi-4"><img alt="" class="w-3.5 h-3.5 rounded-sm mr-1.5 flex-none flex-none" src="https://cdn-avatars.huggingface.co/v1/production/uploads/1583646260758-5e64858c87403103f9f1055d.png" crossorigin="anonymous"> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-indigo-600 text-smd">microsoft/phi-4</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="mr-1.5 text-[.8rem] flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 18 18"><path d="M16.2607 8.08202L14.468 6.28928C14.3063 6.12804 14.0873 6.03749 13.859 6.03749C13.6307 6.03749 13.4117 6.12804 13.25 6.28928L5.6375 13.904V16.9125H8.64607L16.2607 9.30002C16.422 9.13836 16.5125 8.91935 16.5125 8.69102C16.5125 8.4627 16.422 8.24369 16.2607 8.08202V8.08202ZM8.1953 15.825H6.725V14.3547L11.858 9.22118L13.3288 10.6915L8.1953 15.825ZM14.0982 9.92262L12.6279 8.45232L13.8606 7.21964L15.3309 8.68994L14.0982 9.92262Z"></path><path d="M6.18125 9.84373H7.26875V6.03748H8.9V4.94998H4.55V6.03748H6.18125V9.84373Z"></path><path d="M4.55 11.475H2.375V2.775H11.075V4.95H12.1625V2.775C12.1625 2.48658 12.0479 2.20997 11.844 2.00602C11.64 1.80208 11.3634 1.6875 11.075 1.6875H2.375C2.08658 1.6875 1.80997 1.80208 1.60602 2.00602C1.40207 2.20997 1.2875 2.48658 1.2875 2.775V11.475C1.2875 11.7634 1.40207 12.04 1.60602 12.244C1.80997 12.4479 2.08658 12.5625 2.375 12.5625H4.55V11.475Z"></path></svg> Text Generation <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-02-24T11:53:58" title="Mon, 24 Feb 2025 11:53:58 GMT">Feb 24</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 634k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="-mx-[2px] flex-none" title="Inference Providers available"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" class="text-orange-300 dark:text-gray-400 " width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path d="M11 15H6l7-14v8h5l-7 14v-8z" fill="currentColor"></path></svg></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 1.96k </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> Powerful text generation model by Microsoft. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/simplescaling/s1.1-32B"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="simplescaling/s1.1-32B"><img alt="" class="w-3.5 h-3.5 rounded-sm mr-1.5 flex-none flex-none" src="https://cdn-avatars.huggingface.co/v1/production/uploads/5f1eb362eec0ad2a071ad6e2/fcUEcJLhksh39ZFHbLvga.png" crossorigin="anonymous"> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-indigo-600 text-smd">simplescaling/s1.1-32B</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="mr-1.5 text-[.8rem] flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 18 18"><path d="M16.2607 8.08202L14.468 6.28928C14.3063 6.12804 14.0873 6.03749 13.859 6.03749C13.6307 6.03749 13.4117 6.12804 13.25 6.28928L5.6375 13.904V16.9125H8.64607L16.2607 9.30002C16.422 9.13836 16.5125 8.91935 16.5125 8.69102C16.5125 8.4627 16.422 8.24369 16.2607 8.08202V8.08202ZM8.1953 15.825H6.725V14.3547L11.858 9.22118L13.3288 10.6915L8.1953 15.825ZM14.0982 9.92262L12.6279 8.45232L13.8606 7.21964L15.3309 8.68994L14.0982 9.92262Z"></path><path d="M6.18125 9.84373H7.26875V6.03748H8.9V4.94998H4.55V6.03748H6.18125V9.84373Z"></path><path d="M4.55 11.475H2.375V2.775H11.075V4.95H12.1625V2.775C12.1625 2.48658 12.0479 2.20997 11.844 2.00602C11.64 1.80208 11.3634 1.6875 11.075 1.6875H2.375C2.08658 1.6875 1.80997 1.80208 1.60602 2.00602C1.40207 2.20997 1.2875 2.48658 1.2875 2.775V11.475C1.2875 11.7634 1.40207 12.04 1.60602 12.244C1.80997 12.4479 2.08658 12.5625 2.375 12.5625H4.55V11.475Z"></path></svg> Text Generation <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-02-27T17:58:32" title="Thu, 27 Feb 2025 17:58:32 GMT">Feb 27</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 22.1k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 80 </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> A very powerful model with reasoning capabilities. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/Qwen/Qwen2.5-7B-Instruct-1M"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="Qwen/Qwen2.5-7B-Instruct-1M"><img alt="" class="w-3.5 h-3.5 rounded-sm mr-1.5 flex-none flex-none" src="https://cdn-avatars.huggingface.co/v1/production/uploads/620760a26e3b7210c2ff1943/-s1gyJfvbE1RgO5iBeNOi.png" crossorigin="anonymous"> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-indigo-600 text-smd">Qwen/Qwen2.5-7B-Instruct-1M</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="mr-1.5 text-[.8rem] flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 18 18"><path d="M16.2607 8.08202L14.468 6.28928C14.3063 6.12804 14.0873 6.03749 13.859 6.03749C13.6307 6.03749 13.4117 6.12804 13.25 6.28928L5.6375 13.904V16.9125H8.64607L16.2607 9.30002C16.422 9.13836 16.5125 8.91935 16.5125 8.69102C16.5125 8.4627 16.422 8.24369 16.2607 8.08202V8.08202ZM8.1953 15.825H6.725V14.3547L11.858 9.22118L13.3288 10.6915L8.1953 15.825ZM14.0982 9.92262L12.6279 8.45232L13.8606 7.21964L15.3309 8.68994L14.0982 9.92262Z"></path><path d="M6.18125 9.84373H7.26875V6.03748H8.9V4.94998H4.55V6.03748H6.18125V9.84373Z"></path><path d="M4.55 11.475H2.375V2.775H11.075V4.95H12.1625V2.775C12.1625 2.48658 12.0479 2.20997 11.844 2.00602C11.64 1.80208 11.3634 1.6875 11.075 1.6875H2.375C2.08658 1.6875 1.80997 1.80208 1.60602 2.00602C1.40207 2.20997 1.2875 2.48658 1.2875 2.775V11.475C1.2875 11.7634 1.40207 12.04 1.60602 12.244C1.80997 12.4479 2.08658 12.5625 2.375 12.5625H4.55V11.475Z"></path></svg> Text Generation <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-01-29T12:39:09" title="Wed, 29 Jan 2025 12:39:09 GMT">Jan 29</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 883k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 287 </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> Strong conversational model that supports very long instructions. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/Qwen/Qwen2.5-Coder-32B-Instruct"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="Qwen/Qwen2.5-Coder-32B-Instruct"><img alt="" class="w-3.5 h-3.5 rounded-sm mr-1.5 flex-none flex-none" src="https://cdn-avatars.huggingface.co/v1/production/uploads/620760a26e3b7210c2ff1943/-s1gyJfvbE1RgO5iBeNOi.png" crossorigin="anonymous"> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-indigo-600 text-smd">Qwen/Qwen2.5-Coder-32B-Instruct</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="mr-1.5 text-[.8rem] flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 18 18"><path d="M16.2607 8.08202L14.468 6.28928C14.3063 6.12804 14.0873 6.03749 13.859 6.03749C13.6307 6.03749 13.4117 6.12804 13.25 6.28928L5.6375 13.904V16.9125H8.64607L16.2607 9.30002C16.422 9.13836 16.5125 8.91935 16.5125 8.69102C16.5125 8.4627 16.422 8.24369 16.2607 8.08202V8.08202ZM8.1953 15.825H6.725V14.3547L11.858 9.22118L13.3288 10.6915L8.1953 15.825ZM14.0982 9.92262L12.6279 8.45232L13.8606 7.21964L15.3309 8.68994L14.0982 9.92262Z"></path><path d="M6.18125 9.84373H7.26875V6.03748H8.9V4.94998H4.55V6.03748H6.18125V9.84373Z"></path><path d="M4.55 11.475H2.375V2.775H11.075V4.95H12.1625V2.775C12.1625 2.48658 12.0479 2.20997 11.844 2.00602C11.64 1.80208 11.3634 1.6875 11.075 1.6875H2.375C2.08658 1.6875 1.80997 1.80208 1.60602 2.00602C1.40207 2.20997 1.2875 2.48658 1.2875 2.775V11.475C1.2875 11.7634 1.40207 12.04 1.60602 12.244C1.80997 12.4479 2.08658 12.5625 2.375 12.5625H4.55V11.475Z"></path></svg> Text Generation <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-01-12T02:02:22" title="Sun, 12 Jan 2025 02:02:22 GMT">Jan 12</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 448k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="-mx-[2px] flex-none" title="Inference Providers available"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" class="text-orange-300 dark:text-gray-400 " width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path d="M11 15H6l7-14v8h5l-7 14v-8z" fill="currentColor"></path></svg></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 1.75k </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> Text generation model used to write code. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/deepseek-ai/DeepSeek-R1"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="deepseek-ai/DeepSeek-R1"><img alt="" class="w-3.5 h-3.5 rounded-sm mr-1.5 flex-none flex-none" src="https://cdn-avatars.huggingface.co/v1/production/uploads/6538815d1bdb3c40db94fbfa/xMBly9PUMphrFVMxLX4kq.png" crossorigin="anonymous"> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-indigo-600 text-smd">deepseek-ai/DeepSeek-R1</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="mr-1.5 text-[.8rem] flex-none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 18 18"><path d="M16.2607 8.08202L14.468 6.28928C14.3063 6.12804 14.0873 6.03749 13.859 6.03749C13.6307 6.03749 13.4117 6.12804 13.25 6.28928L5.6375 13.904V16.9125H8.64607L16.2607 9.30002C16.422 9.13836 16.5125 8.91935 16.5125 8.69102C16.5125 8.4627 16.422 8.24369 16.2607 8.08202V8.08202ZM8.1953 15.825H6.725V14.3547L11.858 9.22118L13.3288 10.6915L8.1953 15.825ZM14.0982 9.92262L12.6279 8.45232L13.8606 7.21964L15.3309 8.68994L14.0982 9.92262Z"></path><path d="M6.18125 9.84373H7.26875V6.03748H8.9V4.94998H4.55V6.03748H6.18125V9.84373Z"></path><path d="M4.55 11.475H2.375V2.775H11.075V4.95H12.1625V2.775C12.1625 2.48658 12.0479 2.20997 11.844 2.00602C11.64 1.80208 11.3634 1.6875 11.075 1.6875H2.375C2.08658 1.6875 1.80997 1.80208 1.60602 2.00602C1.40207 2.20997 1.2875 2.48658 1.2875 2.775V11.475C1.2875 11.7634 1.40207 12.04 1.60602 12.244C1.80997 12.4479 2.08658 12.5625 2.375 12.5625H4.55V11.475Z"></path></svg> Text Generation <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-03-27T04:01:59" title="Thu, 27 Mar 2025 04:01:59 GMT">5 days ago</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 1.32M <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="-mx-[2px] flex-none" title="Inference Providers available"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" class="text-orange-300 dark:text-gray-400 " width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path d="M11 15H6l7-14v8h5l-7 14v-8z" fill="currentColor"></path></svg></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 11.7k </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> Powerful reasoning based open large language model. </p> </div></div> </section> <section class="shadow-alternate-sm rounded-xl border border-gray-100 px-4 pb-4 pt-3 "><div class="mb-1.5 flex items-center whitespace-nowrap font-semibold text-gray-800 lg:text-lg"><svg class="mr-1.5 flex-none text-red-400" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg> <div class="truncate">Datasets for Text Generation</div> <a class="btn ml-4 text-sm font-normal" href="/datasets?task_categories=task_categories:text-generation">Browse Datasets (8,785)</a> </div> <div class="mt-4 space-y-4"><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/datasets/CohereForAI/Global-MMLU"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="CohereForAI/Global-MMLU"><svg class="mr-1 text-gray-400 group/repo-hover:text-red-500 flex-none -ml-0.5" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-red-600 text-smd">CohereForAI/Global-MMLU</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill="currentColor" d="M2.5 2h7a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm0 2v2h3V4h-3Zm4 0v2h3V4h-3Zm-4 3v2h3V7h-3Zm4 0v2h3V7h-3Z"></path></svg> Viewer <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-03-20T19:47:13" title="Thu, 20 Mar 2025 19:47:13 GMT">11 days ago</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none text-gray-400 mr-1 w-3" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.84 2.7H2.16a.3.3 0 0 0-.3.3v1.421h8.28V3a.3.3 0 0 0-.3-.3ZM1.86 6.879V5.12h8.28V6.88H1.86Zm0 .7V9a.3.3 0 0 0 .3.3h7.68a.3.3 0 0 0 .3-.3V7.579H1.86ZM2.16 2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.68a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2.16Z"></path></svg> <span>602k</span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 19.2k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 116 </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> Multilingual dataset used to evaluate text generation models. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/datasets/HuggingFaceFW/fineweb-2"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="HuggingFaceFW/fineweb-2"><svg class="mr-1 text-gray-400 group/repo-hover:text-red-500 flex-none -ml-0.5" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-red-600 text-smd">HuggingFaceFW/fineweb-2</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill="currentColor" d="M2.5 2h7a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm0 2v2h3V4h-3Zm4 0v2h3V4h-3Zm-4 3v2h3V7h-3Zm4 0v2h3V7h-3Z"></path></svg> Viewer <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-01-08T20:21:42" title="Wed, 08 Jan 2025 20:21:42 GMT">Jan 8</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none text-gray-400 mr-1 w-3" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.84 2.7H2.16a.3.3 0 0 0-.3.3v1.421h8.28V3a.3.3 0 0 0-.3-.3ZM1.86 6.879V5.12h8.28V6.88H1.86Zm0 .7V9a.3.3 0 0 0 .3.3h7.68a.3.3 0 0 0 .3-.3V7.579H1.86ZM2.16 2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.68a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2.16Z"></path></svg> <span>12.5B</span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 54.3k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 450 </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> High quality multilingual data used to train text-generation models. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/datasets/HuggingFaceH4/ultrachat_200k"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="HuggingFaceH4/ultrachat_200k"><svg class="mr-1 text-gray-400 group/repo-hover:text-red-500 flex-none -ml-0.5" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-red-600 text-smd">HuggingFaceH4/ultrachat_200k</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill="currentColor" d="M2.5 2h7a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm0 2v2h3V4h-3Zm4 0v2h3V4h-3Zm-4 3v2h3V7h-3Zm4 0v2h3V7h-3Z"></path></svg> Viewer <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2024-10-16T11:52:27" title="Wed, 16 Oct 2024 11:52:27 GMT">Oct 16, 2024</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none text-gray-400 mr-1 w-3" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.84 2.7H2.16a.3.3 0 0 0-.3.3v1.421h8.28V3a.3.3 0 0 0-.3-.3ZM1.86 6.879V5.12h8.28V6.88H1.86Zm0 .7V9a.3.3 0 0 0 .3.3h7.68a.3.3 0 0 0 .3-.3V7.579H1.86ZM2.16 2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.68a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2.16Z"></path></svg> <span>515k</span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 18.6k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 524 </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> Truly open-source, curated and cleaned dialogue dataset. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/datasets/open-r1/OpenThoughts-114k-math"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="open-r1/OpenThoughts-114k-math"><svg class="mr-1 text-gray-400 group/repo-hover:text-red-500 flex-none -ml-0.5" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-red-600 text-smd">open-r1/OpenThoughts-114k-math</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill="currentColor" d="M2.5 2h7a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm0 2v2h3V4h-3Zm4 0v2h3V4h-3Zm-4 3v2h3V7h-3Zm4 0v2h3V7h-3Z"></path></svg> Viewer <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-01-30T11:05:51" title="Thu, 30 Jan 2025 11:05:51 GMT">Jan 30</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none text-gray-400 mr-1 w-3" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.84 2.7H2.16a.3.3 0 0 0-.3.3v1.421h8.28V3a.3.3 0 0 0-.3-.3ZM1.86 6.879V5.12h8.28V6.88H1.86Zm0 .7V9a.3.3 0 0 0 .3.3h7.68a.3.3 0 0 0 .3-.3V7.579H1.86ZM2.16 2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.68a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2.16Z"></path></svg> <span>89.1k</span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 1.25k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 75 </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> A reasoning dataset. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/datasets/allenai/tulu-3-sft-mixture"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="allenai/tulu-3-sft-mixture"><svg class="mr-1 text-gray-400 group/repo-hover:text-red-500 flex-none -ml-0.5" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-red-600 text-smd">allenai/tulu-3-sft-mixture</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill="currentColor" d="M2.5 2h7a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm0 2v2h3V4h-3Zm4 0v2h3V4h-3Zm-4 3v2h3V7h-3Zm4 0v2h3V7h-3Z"></path></svg> Viewer <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2024-12-02T19:48:33" title="Mon, 02 Dec 2024 19:48:33 GMT">Dec 2, 2024</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none text-gray-400 mr-1 w-3" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.84 2.7H2.16a.3.3 0 0 0-.3.3v1.421h8.28V3a.3.3 0 0 0-.3-.3ZM1.86 6.879V5.12h8.28V6.88H1.86Zm0 .7V9a.3.3 0 0 0 .3.3h7.68a.3.3 0 0 0 .3-.3V7.579H1.86ZM2.16 2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.68a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2.16Z"></path></svg> <span>939k</span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 5.36k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 123 </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> A multilingual instruction dataset with preference ratings on responses. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/datasets/HuggingFaceTB/smoltalk"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="HuggingFaceTB/smoltalk"><svg class="mr-1 text-gray-400 group/repo-hover:text-red-500 flex-none -ml-0.5" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-red-600 text-smd">HuggingFaceTB/smoltalk</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill="currentColor" d="M2.5 2h7a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm0 2v2h3V4h-3Zm4 0v2h3V4h-3Zm-4 3v2h3V7h-3Zm4 0v2h3V7h-3Z"></path></svg> Viewer <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-02-10T16:36:16" title="Mon, 10 Feb 2025 16:36:16 GMT">Feb 10</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none text-gray-400 mr-1 w-3" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.84 2.7H2.16a.3.3 0 0 0-.3.3v1.421h8.28V3a.3.3 0 0 0-.3-.3ZM1.86 6.879V5.12h8.28V6.88H1.86Zm0 .7V9a.3.3 0 0 0 .3.3h7.68a.3.3 0 0 0 .3-.3V7.579H1.86ZM2.16 2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.68a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2.16Z"></path></svg> <span>2.2M</span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 7.71k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 317 </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> A large synthetic dataset for alignment of text generation models. </p> </div><div><div class="mb-2 overflow-hidden"><article class="overview-card-wrapper group/repo "><a class="flex items-center justify-between gap-4 p-2" href="/datasets/HuggingFaceTB/finemath"><div class="w-full truncate"><header class="flex items-center mb-0.5" title="HuggingFaceTB/finemath"><svg class="mr-1 text-gray-400 group/repo-hover:text-red-500 flex-none -ml-0.5" style="" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 25"><ellipse cx="12.5" cy="5" fill="currentColor" fill-opacity="0.25" rx="7.5" ry="2"></ellipse><path d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z" fill="currentColor" opacity="0.5"></path><path d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z" fill="currentColor" opacity="0.5"></path><path d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z" fill="currentColor"></path></svg> <h4 class="text-md truncate font-mono text-black dark:group-hover/repo:text-yellow-500 group-hover/repo:text-red-600 text-smd">HuggingFaceTB/finemath</h4> </header> <div class="mr-1 flex items-center overflow-hidden whitespace-nowrap text-sm leading-tight text-gray-400"><svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill="currentColor" d="M2.5 2h7a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm0 2v2h3V4h-3Zm4 0v2h3V4h-3Zm-4 3v2h3V7h-3Zm4 0v2h3V7h-3Z"></path></svg> Viewer <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <span class="truncate">Updated <time datetime="2025-02-06T10:31:11" title="Thu, 06 Feb 2025 10:31:11 GMT">Feb 6</time></span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none text-gray-400 mr-1 w-3" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 12 12"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.84 2.7H2.16a.3.3 0 0 0-.3.3v1.421h8.28V3a.3.3 0 0 0-.3-.3ZM1.86 6.879V5.12h8.28V6.88H1.86Zm0 .7V9a.3.3 0 0 0 .3.3h7.68a.3.3 0 0 0 .3-.3V7.579H1.86ZM2.16 2a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h7.68a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H2.16Z"></path></svg> <span>48.3M</span> <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-0.5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"></path></svg> 9.34k <span class="px-1.5 text-gray-300 dark:text-gray-500">• </span> <svg class="flex-none w-3 text-gray-400 mr-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32" fill="currentColor"><path d="M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"></path></svg> 299 </div></div> </a></article></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> A dataset made for training text generation models solving math questions. </p> </div></div> </section> <section class="shadow-alternate-sm rounded-xl border border-gray-100 px-4 pb-4 pt-3 "><div class="mb-1.5 flex items-center whitespace-nowrap font-semibold text-gray-800 lg:text-lg"><svg class="mr-1.5 flex-none " xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M7.80914 18.7462V24.1907H13.2536V18.7462H7.80914Z" fill="#FF3270"></path><path d="M18.7458 18.7462V24.1907H24.1903V18.7462H18.7458Z" fill="#861FFF"></path><path d="M7.80914 7.80982V13.2543H13.2536V7.80982H7.80914Z" fill="#097EFF"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M4 6.41775C4 5.08246 5.08246 4 6.41775 4H14.6457C15.7626 4 16.7026 4.75724 16.9802 5.78629C18.1505 4.67902 19.7302 4 21.4685 4C25.0758 4 28.0003 6.92436 28.0003 10.5317C28.0003 12.27 27.3212 13.8497 26.2139 15.02C27.243 15.2977 28.0003 16.2376 28.0003 17.3545V25.5824C28.0003 26.9177 26.9177 28.0003 25.5824 28.0003H17.0635H14.9367H6.41775C5.08246 28.0003 4 26.9177 4 25.5824V15.1587V14.9367V6.41775ZM7.80952 7.80952V13.254H13.254V7.80952H7.80952ZM7.80952 24.1907V18.7462H13.254V24.1907H7.80952ZM18.7462 24.1907V18.7462H24.1907V24.1907H18.7462ZM18.7462 10.5317C18.7462 9.0283 19.9651 7.80952 21.4685 7.80952C22.9719 7.80952 24.1907 9.0283 24.1907 10.5317C24.1907 12.0352 22.9719 13.254 21.4685 13.254C19.9651 13.254 18.7462 12.0352 18.7462 10.5317Z" fill="black"></path><path d="M21.4681 7.80982C19.9647 7.80982 18.7458 9.02861 18.7458 10.5321C18.7458 12.0355 19.9647 13.2543 21.4681 13.2543C22.9715 13.2543 24.1903 12.0355 24.1903 10.5321C24.1903 9.02861 22.9715 7.80982 21.4681 7.80982Z" fill="#FFD702"></path></svg> Spaces using Text Generation </div> <div class="mt-3 space-y-3"><div><div class="mb-2"><a href="/spaces/open-llm-leaderboard/open_llm_leaderboard" class="flex min-w-0 items-center whitespace-nowrap rounded-lg border border-gray-100 px-2 text-xs leading-relaxed text-gray-500 shadow-sm hover:text-gray-800 dark:hover:text-gray-200 md:text-sm md:leading-relaxed inline-flex"><div class="mr-2 flex-none text-[0.6rem]">🏆</div> <div class="truncate group-hover:underline">open-llm-leaderboard/open_llm_leaderboard</div></a></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> A leaderboard to compare different open-source text generation models based on various benchmarks. </p> </div><div><div class="mb-2"><a href="/spaces/logikon/open_cot_leaderboard" class="flex min-w-0 items-center whitespace-nowrap rounded-lg border border-gray-100 px-2 text-xs leading-relaxed text-gray-500 shadow-sm hover:text-gray-800 dark:hover:text-gray-200 md:text-sm md:leading-relaxed inline-flex"><div class="mr-2 flex-none text-[0.6rem]">🥇</div> <div class="truncate group-hover:underline">logikon/open_cot_leaderboard</div></a></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> A leaderboard for comparing chain-of-thought performance of models. </p> </div><div><div class="mb-2"><a href="/spaces/ysharma/Explore_llamav2_with_TGI" class="flex min-w-0 items-center whitespace-nowrap rounded-lg border border-gray-100 px-2 text-xs leading-relaxed text-gray-500 shadow-sm hover:text-gray-800 dark:hover:text-gray-200 md:text-sm md:leading-relaxed opacity-40 inline-flex"><div class="mr-2 flex-none text-[0.6rem]">💻</div> <div class="truncate group-hover:underline">ysharma/Explore_llamav2_with_TGI</div></a></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> An text generation based application based on a very powerful LLaMA2 model. </p> </div><div><div class="mb-2"><a href="/spaces/HuggingFaceH4/zephyr-chat" class="flex min-w-0 items-center whitespace-nowrap rounded-lg border border-gray-100 px-2 text-xs leading-relaxed text-gray-500 shadow-sm hover:text-gray-800 dark:hover:text-gray-200 md:text-sm md:leading-relaxed opacity-40 inline-flex"><div class="mr-2 flex-none text-[0.6rem]">🪁</div> <div class="truncate group-hover:underline">HuggingFaceH4/zephyr-chat</div></a></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> An text generation based application to converse with Zephyr model. </p> </div><div><div class="mb-2"><a href="/spaces/mlabonne/phixtral-chat" class="flex min-w-0 items-center whitespace-nowrap rounded-lg border border-gray-100 px-2 text-xs leading-relaxed text-gray-500 shadow-sm hover:text-gray-800 dark:hover:text-gray-200 md:text-sm md:leading-relaxed opacity-40 inline-flex"><div class="mr-2 flex-none text-[0.6rem]">🔀</div> <div class="truncate group-hover:underline">mlabonne/phixtral-chat</div></a></div> <p class="flex-none text-sm italic text-gray-400"><span class="mr-1 rounded-sm bg-gray-100 px-1 font-mono text-xs font-semibold not-italic text-gray-500 dark:bg-gray-800">Note</span> An chatbot to converse with a very powerful text generation model. </p> </div></div> </section> <section class="shadow-alternate-sm rounded-xl border border-gray-100 px-4 pb-4 pt-3 "><div class="mb-1.5 flex items-center whitespace-nowrap font-semibold text-gray-800 lg:text-lg"><svg class="mr-1.5 flex-none text-green-400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path class="uim-quaternary" d="M6 23H2a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1z" opacity=".25" fill="currentColor"></path><path class="uim-primary" d="M14 23h-4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v20a1 1 0 0 1-1 1z" fill="currentColor"></path><path class="uim-tertiary" d="M22 23h-4a1 1 0 0 1-1-1V10a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1z" opacity=".5" fill="currentColor"></path></svg> Metrics for Text Generation </div> <div class="mt-3 space-y-3"><dl class="flex items-center rounded-lg border border-gray-100"><details class="flex-1"><summary class="cursor-pointer p-3"><dt class="inline-flex cursor-pointer items-center font-semibold text-gray-800">Cross Entropy </dt></summary> <dd class="px-3 pb-3 text-gray-500">Cross Entropy is a metric that calculates the difference between two probability distributions. Each probability distribution is the distribution of predicted words</dd> </details></dl><dl class="flex items-center rounded-lg border border-gray-100"><details class="flex-1"><summary class="cursor-pointer p-3"><dt class="inline-flex cursor-pointer items-center font-semibold text-gray-800">Perplexity </dt></summary> <dd class="px-3 pb-3 text-gray-500">The Perplexity metric is the exponential of the cross-entropy loss. It evaluates the probabilities assigned to the next word by the model. Lower perplexity indicates better performance</dd> </details></dl></div> </section></div></div></main> <footer class="b-12 mb-2 flex border-t border-gray-100 md:h-14"><nav class="container relative flex flex-col justify-between space-y-2 py-6 text-gray-500 max-md:*:self-start md:flex-row md:items-center md:space-y-0 md:py-0 md:text-sm"><div class="SVELTE_HYDRATER contents" data-target="ThemeSwitcher" data-props="{&quot;theme&quot;:&quot;system&quot;,&quot;isLoggedIn&quot;:false,&quot;menuClassNames&quot;:&quot;md:-top-24&quot;,&quot;classNames&quot;:&quot;max-md:mb-5 max-md:*:self-start&quot;}"> <div class="relative inline-block max-md:mb-5 max-md:*:self-start"> <button class="rounded-full border border-gray-100 pl-2 py-1 pr-2.5 flex items-center text-sm text-gray-500 bg-white hover:bg-purple-50 hover:border-purple-200 dark:hover:bg-gray-800 dark:hover:border-gray-950 dark:border-gray-800 " type="button"> <svg class="mr-1.5 text-gray-500" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" focusable="false" role="img" width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><path d="M29 25H3a1 1 0 1 0 0 2h26a1 1 0 1 0 0-2Z" fill="currentColor"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6 22.5h20a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v13.5a2 2 0 0 0 2 2ZM7 7a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H7Z" fill="currentColor"></path><path d="M6 8a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V8Z" fill="currentColor" fill-opacity=".4"></path><path d="M29 25H3a1 1 0 1 0 0 2h26a1 1 0 1 0 0-2Z" fill="currentColor"></path></svg> System theme </button> </div></div> <div class="font-semibold text-black md:hidden">Company</div> <a class="hover:underline" href="/terms-of-service">TOS</a> <a class="hover:underline" href="/privacy">Privacy</a> <a class="hover:underline" href="/huggingface">About</a> <a class="hover:underline" href="https://apply.workable.com/huggingface/">Jobs</a> <a href="/" class="max-md:mb-4! max-md:mt-8! group flex-none max-md:order-last"><svg class="h-7 w-7 transition-transform group-hover:-translate-y-px" viewBox="0 0 95 88" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M47.2119 76.5C66.4037 76.5 81.9619 60.9419 81.9619 41.75C81.9619 22.5581 66.4037 7 47.2119 7C28.02 7 12.4619 22.5581 12.4619 41.75C12.4619 60.9419 28.02 76.5 47.2119 76.5Z" fill="#FFD21E"></path><path d="M81.9619 41.75C81.9619 22.5581 66.4037 7 47.2119 7C28.02 7 12.4619 22.5581 12.4619 41.75C12.4619 60.9419 28.02 76.5 47.2119 76.5C66.4037 76.5 81.9619 60.9419 81.9619 41.75ZM8.46185 41.75C8.46185 20.349 25.8108 3 47.2119 3C68.6129 3 85.9619 20.349 85.9619 41.75C85.9619 63.151 68.6129 80.5 47.2119 80.5C25.8108 80.5 8.46185 63.151 8.46185 41.75Z" fill="#FF9D0B"></path><path d="M58.5024 32.2915C59.7768 32.7415 60.2839 35.3615 61.5713 34.6769C64.0095 33.3805 64.9351 30.353 63.6387 27.9148C62.3423 25.4767 59.3148 24.5511 56.8766 25.8475C54.4384 27.1439 53.5128 30.1714 54.8092 32.6096C55.4211 33.7604 57.3632 31.8892 58.5024 32.2915Z" fill="#3A3B45"></path><path d="M34.9454 32.2915C33.671 32.7415 33.164 35.3615 31.8766 34.6769C29.4384 33.3805 28.5128 30.353 29.8092 27.9148C31.1056 25.4767 34.1331 24.5511 36.5713 25.8475C39.0095 27.1439 39.9351 30.1714 38.6387 32.6096C38.0268 33.7604 36.0846 31.8892 34.9454 32.2915Z" fill="#3A3B45"></path><path d="M46.9619 56.289C56.7903 56.289 59.9619 47.5261 59.9619 43.0262C59.9619 40.6875 58.3898 41.4236 55.8718 42.6702C53.5449 43.8222 50.4102 45.4101 46.9619 45.4101C39.7822 45.4101 33.9619 38.5263 33.9619 43.0262C33.9619 47.5261 37.1334 56.289 46.9619 56.289Z" fill="#3A3B45"></path><mask id="mask0" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="33" y="41" width="27" height="16"><path d="M46.9619 56.289C56.7903 56.289 59.9619 47.5261 59.9619 43.0262C59.9619 40.6875 58.3898 41.4236 55.8718 42.6702C53.5449 43.8222 50.4102 45.4101 46.9619 45.4101C39.7822 45.4101 33.9619 38.5263 33.9619 43.0262C33.9619 47.5261 37.1334 56.289 46.9619 56.289Z" fill="white"></path></mask><g mask="url(#mask0)"><path d="M47.2119 66.5C52.0018 66.5 55.8848 62.617 55.8848 57.8271C55.8848 54.0962 53.5291 50.9156 50.224 49.6915C50.1023 49.6464 49.9794 49.604 49.8553 49.5643C49.0219 49.2979 48.1337 52.1623 47.2119 52.1623C46.3506 52.1623 45.5186 49.2797 44.7332 49.5135C41.151 50.5799 38.5389 53.8984 38.5389 57.8271C38.5389 62.617 42.4219 66.5 47.2119 66.5Z" fill="#F94040"></path></g><path d="M70.7119 37C72.5068 37 73.9619 35.5449 73.9619 33.75C73.9619 31.9551 72.5068 30.5 70.7119 30.5C68.9169 30.5 67.4619 31.9551 67.4619 33.75C67.4619 35.5449 68.9169 37 70.7119 37Z" fill="#FF9D0B"></path><path d="M24.2119 37C26.0068 37 27.4619 35.5449 27.4619 33.75C27.4619 31.9551 26.0068 30.5 24.2119 30.5C22.4169 30.5 20.9619 31.9551 20.9619 33.75C20.9619 35.5449 22.4169 37 24.2119 37Z" fill="#FF9D0B"></path><path class="origin-bottom-right transition-transform group-hover:-rotate-6" d="M17.5238 48C15.9048 48 14.4578 48.665 13.4488 49.871C12.8248 50.618 12.1728 51.822 12.1198 53.625C11.4408 53.43 10.7878 53.321 10.1778 53.321C8.6278 53.321 7.2278 53.915 6.2378 54.994C4.9658 56.379 4.4008 58.081 4.6468 59.784C4.7638 60.595 5.0348 61.322 5.4398 61.995C4.5858 62.686 3.9568 63.648 3.6528 64.805C3.4148 65.712 3.1708 67.601 4.4448 69.547C4.3638 69.674 4.2878 69.806 4.2168 69.941C3.4508 71.395 3.4018 73.038 4.0778 74.568C5.1028 76.887 7.6498 78.714 12.5958 80.675C15.6728 81.895 18.4878 82.675 18.5128 82.682C22.5808 83.737 26.2598 84.273 29.4448 84.273C35.2988 84.273 39.4898 82.48 41.9018 78.944C45.7838 73.25 45.2288 68.042 40.2058 63.022C37.4258 60.244 35.5778 56.148 35.1928 55.249C34.4168 52.587 32.3648 49.628 28.9538 49.628H28.9528C28.6658 49.628 28.3758 49.651 28.0898 49.696C26.5958 49.931 25.2898 50.791 24.3568 52.085C23.3498 50.833 22.3718 49.837 21.4868 49.275C20.1528 48.429 18.8198 48 17.5238 48ZM17.5238 52C18.0338 52 18.6568 52.217 19.3438 52.653C21.4768 54.006 25.5928 61.081 27.0998 63.833C27.6048 64.755 28.4678 65.145 29.2448 65.145C30.7868 65.145 31.9908 63.612 29.3858 61.664C25.4688 58.733 26.8428 53.942 28.7128 53.647C28.7948 53.634 28.8758 53.628 28.9538 53.628C30.6538 53.628 31.4038 56.558 31.4038 56.558C31.4038 56.558 33.6018 62.078 37.3778 65.851C41.1538 69.625 41.3488 72.654 38.5968 76.69C36.7198 79.442 33.1268 80.273 29.4448 80.273C25.6258 80.273 21.7108 79.379 19.5168 78.81C19.4088 78.782 6.0658 75.013 7.7558 71.805C8.0398 71.266 8.5078 71.05 9.0968 71.05C11.4768 71.05 15.8058 74.592 17.6668 74.592C18.0828 74.592 18.3758 74.415 18.4958 73.983C19.2888 71.138 6.4388 69.942 7.5218 65.821C7.7128 65.092 8.2308 64.796 8.9588 64.797C12.1038 64.797 19.1598 70.328 20.6388 70.328C20.7518 70.328 20.8328 70.295 20.8768 70.225C21.6178 69.029 21.2118 68.194 15.9888 65.033C10.7658 61.871 7.0998 59.969 9.1848 57.699C9.4248 57.437 9.7648 57.321 10.1778 57.321C13.3488 57.322 20.8408 64.14 20.8408 64.14C20.8408 64.14 22.8628 66.243 24.0858 66.243C24.3668 66.243 24.6058 66.132 24.7678 65.858C25.6348 64.396 16.7148 57.636 16.2118 54.847C15.8708 52.957 16.4508 52 17.5238 52Z" fill="#FF9D0B"></path><path class="origin-bottom-right transition-transform group-hover:-rotate-6" d="M38.5967 76.6898C41.3487 72.6538 41.1537 69.6248 37.3777 65.8508C33.6017 62.0778 31.4037 56.5578 31.4037 56.5578C31.4037 56.5578 30.5827 53.3518 28.7127 53.6468C26.8427 53.9418 25.4697 58.7328 29.3867 61.6638C33.3037 64.5938 28.6067 66.5848 27.0997 63.8328C25.5927 61.0808 21.4777 54.0058 19.3437 52.6528C17.2107 51.2998 15.7087 52.0578 16.2117 54.8468C16.7147 57.6358 25.6357 64.3958 24.7677 65.8588C23.8997 67.3208 20.8407 64.1398 20.8407 64.1398C20.8407 64.1398 11.2687 55.4288 9.18465 57.6988C7.10065 59.9688 10.7657 61.8708 15.9887 65.0328C21.2127 68.1938 21.6177 69.0288 20.8767 70.2248C20.1347 71.4208 8.60465 61.6998 7.52165 65.8208C6.43965 69.9418 19.2887 71.1378 18.4957 73.9828C17.7027 76.8288 9.44465 68.5978 7.75565 71.8048C6.06565 75.0128 19.4087 78.7818 19.5167 78.8098C23.8267 79.9278 34.7727 82.2968 38.5967 76.6898Z" fill="#FFD21E"></path><path class="origin-bottom-left transition-transform group-hover:rotate-6" d="M77.3999 48C79.0189 48 80.4659 48.665 81.4749 49.871C82.0989 50.618 82.7509 51.822 82.8039 53.625C83.4829 53.43 84.1359 53.321 84.7459 53.321C86.2959 53.321 87.6959 53.915 88.6859 54.994C89.9579 56.379 90.5229 58.081 90.2769 59.784C90.1599 60.595 89.8889 61.322 89.4839 61.995C90.3379 62.686 90.9669 63.648 91.2709 64.805C91.5089 65.712 91.7529 67.601 90.4789 69.547C90.5599 69.674 90.6359 69.806 90.7069 69.941C91.4729 71.395 91.5219 73.038 90.8459 74.568C89.8209 76.887 87.2739 78.714 82.3279 80.675C79.2509 81.895 76.4359 82.675 76.4109 82.682C72.3429 83.737 68.6639 84.273 65.4789 84.273C59.6249 84.273 55.4339 82.48 53.0219 78.944C49.1399 73.25 49.6949 68.042 54.7179 63.022C57.4979 60.244 59.3459 56.148 59.7309 55.249C60.5069 52.587 62.5589 49.628 65.9699 49.628H65.9709C66.2579 49.628 66.5479 49.651 66.8339 49.696C68.3279 49.931 69.6339 50.791 70.5669 52.085C71.5739 50.833 72.5519 49.837 73.4369 49.275C74.7709 48.429 76.1039 48 77.3999 48ZM77.3999 52C76.8899 52 76.2669 52.217 75.5799 52.653C73.4469 54.006 69.3309 61.081 67.8239 63.833C67.3189 64.755 66.4559 65.145 65.6789 65.145C64.1369 65.145 62.9329 63.612 65.5379 61.664C69.4549 58.733 68.0809 53.942 66.2109 53.647C66.1289 53.634 66.0479 53.628 65.9699 53.628C64.2699 53.628 63.5199 56.558 63.5199 56.558C63.5199 56.558 61.3219 62.078 57.5459 65.851C53.7699 69.625 53.5749 72.654 56.3269 76.69C58.2039 79.442 61.7969 80.273 65.4789 80.273C69.2979 80.273 73.2129 79.379 75.4069 78.81C75.5149 78.782 88.8579 75.013 87.1679 71.805C86.8839 71.266 86.4159 71.05 85.8269 71.05C83.4469 71.05 79.1179 74.592 77.2569 74.592C76.8409 74.592 76.5479 74.415 76.4279 73.983C75.6349 71.138 88.4849 69.942 87.4019 65.821C87.2109 65.092 86.6929 64.796 85.9649 64.797C82.8199 64.797 75.7639 70.328 74.2849 70.328C74.1719 70.328 74.0909 70.295 74.0469 70.225C73.3059 69.029 73.7119 68.194 78.9349 65.033C84.1579 61.871 87.8239 59.969 85.7389 57.699C85.4989 57.437 85.1589 57.321 84.7459 57.321C81.5749 57.322 74.0829 64.14 74.0829 64.14C74.0829 64.14 72.0609 66.243 70.8379 66.243C70.5569 66.243 70.3179 66.132 70.1559 65.858C69.2889 64.396 78.2089 57.636 78.7119 54.847C79.0529 52.957 78.4729 52 77.3999 52Z" fill="#FF9D0B"></path><path class="origin-bottom-left transition-transform group-hover:rotate-6" d="M56.3271 76.6898C53.5751 72.6538 53.7701 69.6248 57.5461 65.8508C61.3221 62.0778 63.5201 56.5578 63.5201 56.5578C63.5201 56.5578 64.3411 53.3518 66.2111 53.6468C68.0811 53.9418 69.4541 58.7328 65.5371 61.6638C61.6201 64.5938 66.3171 66.5848 67.8241 63.8328C69.3311 61.0808 73.4461 54.0058 75.5801 52.6528C77.7131 51.2998 79.2151 52.0578 78.7121 54.8468C78.2091 57.6358 69.2881 64.3958 70.1561 65.8588C71.0241 67.3208 74.0831 64.1398 74.0831 64.1398C74.0831 64.1398 83.6551 55.4288 85.7391 57.6988C87.8231 59.9688 84.1581 61.8708 78.9351 65.0328C73.7111 68.1938 73.3061 69.0288 74.0471 70.2248C74.7891 71.4208 86.3191 61.6998 87.4021 65.8208C88.4841 69.9418 75.6351 71.1378 76.4281 73.9828C77.2211 76.8288 85.4791 68.5978 87.1681 71.8048C88.8581 75.0128 75.5151 78.7818 75.4071 78.8098C71.0971 79.9278 60.1511 82.2968 56.3271 76.6898Z" fill="#FFD21E"></path></svg></a> <div class="max-md:mt-8! font-semibold text-black md:hidden">Website</div> <a class="hover:underline" href="/models">Models</a> <a class="hover:underline" href="/datasets">Datasets</a> <a class="hover:underline" href="/spaces">Spaces</a> <a class="hover:underline" href="/pricing">Pricing</a> <a class="hover:underline" href="/docs">Docs</a></nav></footer></div> <script> import("\/front\/build\/kube-5cc087a\/index.js"); window.moonSha = "kube-5cc087a\/"; window.__hf_deferred = {}; </script> <!-- Stripe --> <script> if (["hf.co", "huggingface.co"].includes(window.location.hostname)) { const script = document.createElement("script"); script.src = "https://js.stripe.com/v3/"; script.async = true; document.head.appendChild(script); } </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10