Buckets:
| <meta charset="utf-8" /><meta name="hf:doc:metadata" content="{"title":"🤗 Transformers Notebooks","local":"-transformers-notebooks","sections":[{"title":"Hugging Face’s notebooks 🤗","local":"hugging-faces-notebooks-","sections":[{"title":"Documentation notebooks","local":"documentation-notebooks","sections":[],"depth":3},{"title":"PyTorch Examples","local":"pytorch-examples","sections":[{"title":"Natural Language Processing","local":"pytorch-nlp","sections":[],"depth":4},{"title":"Computer Vision","local":"pytorch-cv","sections":[],"depth":4},{"title":"Audio","local":"pytorch-audio","sections":[],"depth":4},{"title":"Biological Sequences","local":"pytorch-bio","sections":[],"depth":4},{"title":"Other modalities","local":"pytorch-other","sections":[],"depth":4},{"title":"Utility notebooks","local":"pytorch-utility","sections":[],"depth":4}],"depth":3},{"title":"Optimum notebooks","local":"optimum-notebooks","sections":[],"depth":3}],"depth":2},{"title":"Community notebooks","local":"community-notebooks","sections":[],"depth":2}],"depth":1}"> | |
| <link href="/docs/transformers/pr_33892/en/_app/immutable/assets/0.e3b0c442.css" rel="modulepreload"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/entry/start.b2c4257a.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/chunks/scheduler.31fdf58d.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/chunks/singletons.9860629f.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/chunks/index.252883d5.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/chunks/paths.e85c0ec8.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/entry/app.05ef1f97.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/chunks/preload-helper.40847a0e.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/chunks/index.2f76fdf0.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/nodes/0.ca4aafa4.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/chunks/each.e59479a4.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/nodes/498.64df334b.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/chunks/CopyLLMTxtMenu.ff482081.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/chunks/MermaidChart.svelte_svelte_type_style_lang.71f274cc.js"> | |
| <link rel="modulepreload" href="/docs/transformers/pr_33892/en/_app/immutable/chunks/IconCopy.ac192424.js"><!-- HEAD_svelte-u9bgzb_START --><meta name="hf:doc:metadata" content="{"title":"🤗 Transformers Notebooks","local":"-transformers-notebooks","sections":[{"title":"Hugging Face’s notebooks 🤗","local":"hugging-faces-notebooks-","sections":[{"title":"Documentation notebooks","local":"documentation-notebooks","sections":[],"depth":3},{"title":"PyTorch Examples","local":"pytorch-examples","sections":[{"title":"Natural Language Processing","local":"pytorch-nlp","sections":[],"depth":4},{"title":"Computer Vision","local":"pytorch-cv","sections":[],"depth":4},{"title":"Audio","local":"pytorch-audio","sections":[],"depth":4},{"title":"Biological Sequences","local":"pytorch-bio","sections":[],"depth":4},{"title":"Other modalities","local":"pytorch-other","sections":[],"depth":4},{"title":"Utility notebooks","local":"pytorch-utility","sections":[],"depth":4}],"depth":3},{"title":"Optimum notebooks","local":"optimum-notebooks","sections":[],"depth":3}],"depth":2},{"title":"Community notebooks","local":"community-notebooks","sections":[],"depth":2}],"depth":1}"><!-- HEAD_svelte-u9bgzb_END --> <p></p> <div class="items-center shrink-0 min-w-[100px] max-sm:min-w-[50px] justify-end ml-auto flex" style="float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"><div class="inline-flex rounded-md max-sm:rounded-sm"><button class="inline-flex items-center gap-1 max-sm:gap-0.5 h-6 max-sm:h-5 px-2 max-sm:px-1.5 text-[11px] max-sm:text-[9px] font-medium text-gray-800 border border-r-0 rounded-l-md max-sm:rounded-l-sm border-gray-200 bg-white hover:shadow-inner dark:border-gray-850 dark:bg-gray-950 dark:text-gray-200 dark:hover:bg-gray-800" aria-live="polite"><span class="inline-flex items-center justify-center rounded-md p-0.5 max-sm:p-0"><svg class="w-3 h-3 max-sm:w-2.5 max-sm:h-2.5" 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="M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z" transform="translate(0)"></path><path d="M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z" transform="translate(0)"></path><rect fill="none" width="32" height="32"></rect></svg></span> <span>Copy page</span></button> <button class="inline-flex items-center justify-center w-6 max-sm:w-5 h-6 max-sm:h-5 disabled:pointer-events-none text-sm text-gray-500 hover:text-gray-700 dark:hover:text-white rounded-r-md max-sm:rounded-r-sm border border-l transition border-gray-200 bg-white hover:shadow-inner dark:border-gray-850 dark:bg-gray-950 dark:text-gray-200 dark:hover:bg-gray-800" aria-haspopup="menu" aria-expanded="false" aria-label="Open copy menu"><svg class="transition-transform text-gray-400 overflow-visible w-3 h-3 max-sm:w-2.5 max-sm:h-2.5 rotate-0" width="1em" height="1em" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="currentColor"></path></svg></button></div> </div> <h1 class="relative group"><a id="-transformers-notebooks" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#-transformers-notebooks"><span><svg class="" 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>🤗 Transformers Notebooks</span></h1> <p data-svelte-h="svelte-8lxll4">You can find here a list of the official notebooks provided by Hugging Face.</p> <p data-svelte-h="svelte-e3ib48">Also, we would like to list here interesting content created by the community. | |
| If you wrote some notebook(s) leveraging 🤗 Transformers and would like to be listed here, please open a | |
| Pull Request so it can be included under the Community notebooks.</p> <h2 class="relative group"><a id="hugging-faces-notebooks-" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#hugging-faces-notebooks-"><span><svg class="" 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>Hugging Face’s notebooks 🤗</span></h2> <h3 class="relative group"><a id="documentation-notebooks" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#documentation-notebooks"><span><svg class="" 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 notebooks</span></h3> <p data-svelte-h="svelte-ork269">You can open any page of the documentation as a notebook in Colab (there is a button directly on said pages) but they are also listed here if you need them:</p> <table data-svelte-h="svelte-1sbzuxj"><thead><tr><th align="left">Notebook</th> <th align="left">Description</th> <th align="left"></th> <th align="left"></th> <th align="right"></th></tr></thead> <tbody><tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/quicktour.ipynb" rel="nofollow">Quicktour of the library</a></td> <td align="left">A presentation of the various APIs in Transformers</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/quicktour.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/en/transformers_doc/quicktour.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/transformers_doc/en/quicktour.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/task_summary.ipynb" rel="nofollow">Summary of the tasks</a></td> <td align="left">How to run the models of the Transformers library task by task</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/task_summary.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/task_summary.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/transformers_doc/en/task_summary.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/preprocessing.ipynb" rel="nofollow">Preprocessing data</a></td> <td align="left">How to use a tokenizer to preprocess your data</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/preprocessing.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/preprocessing.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/transformers_doc/en/preprocessing.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb" rel="nofollow">Fine-tuning a pretrained model</a></td> <td align="left">How to use the Trainer to fine-tune a pretrained model</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb" rel="nofollow">Summary of the tokenizers</a></td> <td align="left">The differences between the tokenizers algorithm</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb" rel="nofollow">Multilingual models</a></td> <td align="left">How to use the multilingual models of the library</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg" alt="Open in AMD Dev Cloud"></a></td></tr></tbody></table> <h3 class="relative group"><a id="pytorch-examples" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#pytorch-examples"><span><svg class="" 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>PyTorch Examples</span></h3> <h4 class="relative group"><a id="pytorch-nlp" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#pytorch-nlp"><span><svg class="" 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>Natural Language Processing</span></h4> <table data-svelte-h="svelte-1jq9w1"><thead><tr><th align="left">Notebook</th> <th align="left">Description</th> <th align="left"></th> <th align="left"></th> <th align="right"></th></tr></thead> <tbody><tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb" rel="nofollow">Train your tokenizer</a></td> <td align="left">How to train and use your very own tokenizer</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb" rel="nofollow">Train your language model</a></td> <td align="left">How to easily start using transformers</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/text_classification.ipynb" rel="nofollow">How to fine-tune a model on text classification</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained model on any GLUE task.</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/language_modeling.ipynb" rel="nofollow">How to fine-tune a model on language modeling</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained model on a causal or masked LM task.</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/token_classification.ipynb" rel="nofollow">How to fine-tune a model on token classification</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained model on a token classification task (NER, PoS).</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/token_classification.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/token_classification.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/token_classification.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb" rel="nofollow">How to fine-tune a model on question answering</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained model on SQUAD.</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/question_answering.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/question_answering.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/question_answering.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb" rel="nofollow">How to fine-tune a model on multiple choice</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained model on SWAG.</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/translation.ipynb" rel="nofollow">How to fine-tune a model on translation</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained model on WMT.</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/translation.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/translation.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/translation.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/summarization.ipynb" rel="nofollow">How to fine-tune a model on summarization</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained model on XSUM.</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/summarization.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/summarization.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/summarization.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/blog/blob/main/notebooks/01_how_to_train.ipynb" rel="nofollow">How to train a language model from scratch</a></td> <td align="left">Highlight all the steps to effectively train Transformer model on custom data</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/01_how_to_train.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/blog/blob/main/notebooks/01_how_to_train.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/notebooks/01_how_to_train.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/blog/blob/main/notebooks/02_how_to_generate.ipynb" rel="nofollow">How to generate text</a></td> <td align="left">How to use different decoding methods for language generation with transformers</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/02_how_to_generate.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/blog/blob/main/notebooks/02_how_to_generate.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/notebooks/02_how_to_generate.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/blog/blob/main/notebooks/03_reformer.ipynb" rel="nofollow">Reformer</a></td> <td align="left">How Reformer pushes the limits of language modeling</td> <td align="left"><a href="https://colab.research.google.com/github/patrickvonplaten/blog/blob/main/notebooks/03_reformer.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="left"><a href="https://studiolab.sagemaker.aws/import/github/patrickvonplaten/blog/blob/main/notebooks/03_reformer.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td> <td align="right"><a href="http://oneclickamd.ai/github/huggingface/notebooks/blob/main/notebooks/03_reformer.ipynb" rel="nofollow"><img src="https://oneclickamd.ai/static/amd.svg?v=2" alt="Open in AMD Dev Cloud"></a></td></tr></tbody></table> <h4 class="relative group"><a id="pytorch-cv" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#pytorch-cv"><span><svg class="" 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>Computer Vision</span></h4> <table data-svelte-h="svelte-1jqc5b3"><thead><tr><th align="left">Notebook</th> <th align="left">Description</th> <th align="left"></th> <th align="right"></th></tr></thead> <tbody><tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/image_classification.ipynb" rel="nofollow">How to fine-tune a model on image classification (Torchvision)</a></td> <td align="left">Show how to preprocess the data using Torchvision and fine-tune any pretrained Vision model on Image Classification</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/image_classification_albumentations.ipynb" rel="nofollow">How to fine-tune a model on image classification (Albumentations)</a></td> <td align="left">Show how to preprocess the data using Albumentations and fine-tune any pretrained Vision model on Image Classification</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification_albumentations.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_classification_albumentations.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/image_classification_kornia.ipynb" rel="nofollow">How to fine-tune a model on image classification (Kornia)</a></td> <td align="left">Show how to preprocess the data using Kornia and fine-tune any pretrained Vision model on Image Classification</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification_kornia.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_classification_kornia.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/zeroshot_object_detection_with_owlvit.ipynb" rel="nofollow">How to perform zero-shot object detection with OWL-ViT</a></td> <td align="left">Show how to perform zero-shot object detection on images with text queries</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/zeroshot_object_detection_with_owlvit.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/zeroshot_object_detection_with_owlvit.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/image_captioning_blip.ipynb" rel="nofollow">How to fine-tune an image captioning model</a></td> <td align="left">Show how to fine-tune BLIP for image captioning on a custom dataset</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_captioning_blip.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_captioning_blip.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/image_similarity.ipynb" rel="nofollow">How to build an image similarity system with Transformers</a></td> <td align="left">Show how to build an image similarity system</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_similarity.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_similarity.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/semantic_segmentation.ipynb" rel="nofollow">How to fine-tune a SegFormer model on semantic segmentation</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained SegFormer model on Semantic Segmentation</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/semantic_segmentation.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/semantic_segmentation.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/video_classification.ipynb" rel="nofollow">How to fine-tune a VideoMAE model on video classification</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained VideoMAE model on Video Classification</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/video_classification.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/video_classification.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr></tbody></table> <h4 class="relative group"><a id="pytorch-audio" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#pytorch-audio"><span><svg class="" 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>Audio</span></h4> <table data-svelte-h="svelte-17b171l"><thead><tr><th align="left">Notebook</th> <th align="left">Description</th> <th align="left"></th> <th align="right"></th></tr></thead> <tbody><tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/speech_recognition.ipynb" rel="nofollow">How to fine-tune a speech recognition model in English</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained Speech model on TIMIT</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/speech_recognition.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/speech_recognition.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/multi_lingual_speech_recognition.ipynb" rel="nofollow">How to fine-tune a speech recognition model in any language</a></td> <td align="left">Show how to preprocess the data and fine-tune a multi-lingually pretrained speech model on Common Voice</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multi_lingual_speech_recognition.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/multi_lingual_speech_recognition.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/audio_classification.ipynb" rel="nofollow">How to fine-tune a model on audio classification</a></td> <td align="left">Show how to preprocess the data and fine-tune a pretrained Speech model on Keyword Spotting</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/audio_classification.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/audio_classification.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr></tbody></table> <h4 class="relative group"><a id="pytorch-bio" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#pytorch-bio"><span><svg class="" 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>Biological Sequences</span></h4> <table data-svelte-h="svelte-1jgw32m"><thead><tr><th align="left">Notebook</th> <th align="left">Description</th> <th align="left"></th> <th align="right"></th></tr></thead> <tbody><tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/protein_language_modeling.ipynb" rel="nofollow">How to fine-tune a pre-trained protein model</a></td> <td align="left">See how to tokenize proteins and fine-tune a large pre-trained protein “language” model</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/protein_language_modeling.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/protein_language_modeling.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/protein_folding.ipynb" rel="nofollow">How to generate protein folds</a></td> <td align="left">See how to go from protein sequence to a full protein model and PDB file</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/protein_folding.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/protein_folding.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling.ipynb" rel="nofollow">How to fine-tune a Nucleotide Transformer model</a></td> <td align="left">See how to tokenize DNA and fine-tune a large pre-trained DNA “language” model</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling_with_peft.ipynb" rel="nofollow">Fine-tune a Nucleotide Transformer model with LoRA</a></td> <td align="left">Train even larger DNA models in a memory-efficient way</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling_with_peft.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling_with_peft.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr></tbody></table> <h4 class="relative group"><a id="pytorch-other" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#pytorch-other"><span><svg class="" 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>Other modalities</span></h4> <table data-svelte-h="svelte-t0yh3g"><thead><tr><th align="left">Notebook</th> <th align="left">Description</th> <th align="left"></th> <th align="right"></th></tr></thead> <tbody><tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/time-series-transformers.ipynb" rel="nofollow">Probabilistic Time Series Forecasting</a></td> <td align="left">See how to train Time Series Transformer on a custom dataset</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/time-series-transformers.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/time-series-transformers.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr></tbody></table> <h4 class="relative group"><a id="pytorch-utility" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#pytorch-utility"><span><svg class="" 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>Utility notebooks</span></h4> <table data-svelte-h="svelte-1f2mqvo"><thead><tr><th align="left">Notebook</th> <th align="left">Description</th> <th align="left"></th> <th align="right"></th></tr></thead> <tbody><tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/onnx-export.ipynb" rel="nofollow">How to export model to ONNX</a></td> <td align="left">Highlight how to export and run inference workloads through ONNX</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/onnx-export.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/onnx-export.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr></tbody></table> <h3 class="relative group"><a id="optimum-notebooks" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#optimum-notebooks"><span><svg class="" 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>Optimum notebooks</span></h3> <p data-svelte-h="svelte-1574v30">🤗 <a href="https://github.com/huggingface/optimum" rel="nofollow">Optimum</a> is an extension of 🤗 Transformers, providing a set of performance optimization tools enabling maximum efficiency to train and run models on targeted hardware.</p> <table data-svelte-h="svelte-1otiyy0"><thead><tr><th align="left">Notebook</th> <th align="left">Description</th> <th align="left"></th> <th align="right"></th></tr></thead> <tbody><tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/text_classification_quantization_ort.ipynb" rel="nofollow">How to quantize a model with ONNX Runtime for text classification</a></td> <td align="left">Show how to apply static and dynamic quantization on a model using <a href="https://github.com/microsoft/onnxruntime" rel="nofollow">ONNX Runtime</a> for any GLUE task.</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification_quantization_ort.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/text_classification_quantization_ort.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/text_classification_ort.ipynb" rel="nofollow">How to fine-tune a model on text classification with ONNX Runtime</a></td> <td align="left">Show how to preprocess the data and fine-tune a model on any GLUE task using <a href="https://github.com/microsoft/onnxruntime" rel="nofollow">ONNX Runtime</a>.</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification_ort.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/text_classification_ort.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr> <tr><td align="left"><a href="https://github.com/huggingface/notebooks/blob/main/examples/summarization_ort.ipynb" rel="nofollow">How to fine-tune a model on summarization with ONNX Runtime</a></td> <td align="left">Show how to preprocess the data and fine-tune a model on XSUM using <a href="https://github.com/microsoft/onnxruntime" rel="nofollow">ONNX Runtime</a>.</td> <td align="left"><a href="https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/summarization_ort.ipynb" rel="nofollow"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"></a></td> <td align="right"><a href="https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/summarization_ort.ipynb" rel="nofollow"><img src="https://studiolab.sagemaker.aws/studiolab.svg" alt="Open in AWS Studio"></a></td></tr></tbody></table> <h2 class="relative group"><a id="community-notebooks" class="header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full" href="#community-notebooks"><span><svg class="" 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>Community notebooks</span></h2> <p data-svelte-h="svelte-9qre29">More notebooks developed by the community are available <a href="https://hf.co/docs/transformers/community#community-notebooks" rel="nofollow">here</a>.</p> <a class="!text-gray-400 !no-underline text-sm flex items-center not-prose mt-4" href="https://github.com/huggingface/transformers/blob/main/docs/source/en/notebooks.md" target="_blank"><svg class="mr-1" 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="M31,16l-7,7l-1.41-1.41L28.17,16l-5.58-5.59L24,9l7,7z"></path><path d="M1,16l7-7l1.41,1.41L3.83,16l5.58,5.59L8,23l-7-7z"></path><path d="M12.419,25.484L17.639,6.552l1.932,0.518L14.351,26.002z"></path></svg> <span data-svelte-h="svelte-zjs2n5"><span class="underline">Update</span> on GitHub</span></a> <p></p> | |
| <script> | |
| { | |
| __sveltekit_16tnnm8 = { | |
| assets: "/docs/transformers/pr_33892/en", | |
| base: "/docs/transformers/pr_33892/en", | |
| env: {} | |
| }; | |
| const element = document.currentScript.parentElement; | |
| const data = [null,null]; | |
| Promise.all([ | |
| import("/docs/transformers/pr_33892/en/_app/immutable/entry/start.b2c4257a.js"), | |
| import("/docs/transformers/pr_33892/en/_app/immutable/entry/app.05ef1f97.js") | |
| ]).then(([kit, app]) => { | |
| kit.start(app, element, { | |
| node_ids: [0, 498], | |
| data, | |
| form: null, | |
| error: null | |
| }); | |
| }); | |
| } | |
| </script> | |
Xet Storage Details
- Size:
- 58.4 kB
- Xet hash:
- e08f6d49557877a3daf4e48203d4eda8cced5ea4dd881b6f8e7af9784d2dce8d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.