# 🤗 Transformers ノートブック

ここでは、Hugging Face が提供する公式ノートブックの一覧を確認できます。

また、コミュニティによって作成された興味深いコンテンツもここにリストアップしたいと考えています。🤗 Transformers を活用したノートブックを作成し、ここに掲載されたい場合は、プルリクエストを開いてください。Community notebooks のセクションに含めることができます。

## Hugging Faceのノートブック 🤗

### ドキュメントのノートブック

ドキュメントの任意のページをColabのノートブックとして開くことができます（該当ページに直接ボタンがあります）。必要に応じて、以下にリストも掲載しています。

| ノートブック     |      説明      |   |   |   |
|:----------|:-------------|:-------------|:------------|------:|
| [ライブラリのクイックツアー](https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/quicktour.ipynb)  | Transformersの各種APIの紹介 |[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/quicktour.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/en/transformers_doc/quicktour.ipynb)| |
| [タスクの概要](https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/task_summary.ipynb)  | Transformersライブラリのモデルをタスクごとに実行する方法 |[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/task_summary.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/task_summary.ipynb)| |
| [データの前処理](https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/preprocessing.ipynb)  | トークナイザーを使用してデータを前処理する方法 |[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/preprocessing.ipynb) | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/preprocessing.ipynb)||
| [事前学習済みモデルのファインチューニング](https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb)  | Trainerを使用して事前学習済みモデルをファインチューニングする方法 |[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb)|[![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb)|
| [トークナイザーの概要](https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb)  | トークナイザーのアルゴリズムの違い |[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb)|[![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb )|
| [多言語モデル](https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb)  | ライブラリの多言語モデルの使用方法 |[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb)|[![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb)|

### PyTorch の例

#### 自然言語処理[[pytorch-nlp]]

| ノートブック     |      説明      |   |   |   |
|:----------|:-------------|:-------------|:-------------|------:|
| [トークナイザーの学習](https://github.com/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb)  | 自分だけのトークナイザーの学習と使用方法  |[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb)|[![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb)|
| [言語モデルの学習](https://github.com/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb)   | transformersを簡単に使い始める方法  |[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb)|[![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb)|
| [テキスト分類でモデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/text_classification.ipynb)| データの前処理方法と、任意のGLUEタスクで事前学習済みモデルをファインチューニングする方法を示します。 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb)| |
| [言語モデリングでモデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/language_modeling.ipynb)| データの前処理方法と、causal LM タスクまたは masked LM タスクで事前学習済みモデルをファインチューニングする方法を示します。 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb)| [![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb)|
| [トークン分類でモデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/token_classification.ipynb)| データの前処理方法と、トークン分類タスク（NER、品詞付与）で事前学習済みモデルをファインチューニングする方法を示します。 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/token_classification.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/token_classification.ipynb)|[![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/token_classification.ipynb)|
| [質問応答でモデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb)| SQUADで事前学習済みモデルをファインチューニングするためのデータ前処理の方法を示します。 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/question_answering.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/question_answering.ipynb)|[![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/question_answering.ipynb)|
| [マルチチョイスでモデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb)| SWAGで事前学習済みモデルをファインチューニングするためのデータ前処理の方法を示します。 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb)|[![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb)|
| [翻訳タスクでモデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/translation.ipynb)| WMTで事前学習済みモデルをファインチューニングするためのデータ前処理の方法を示します。 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/translation.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/translation.ipynb)|[![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/translation.ipynb)|
| [要約タスクでモデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/summarization.ipynb)| データの前処理と、XSUMでの事前学習済みモデルのファインチューニングの方法を示します。 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/summarization.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/summarization.ipynb)| |
| [ゼロから言語モデルをトレーニングする方法](https://github.com/huggingface/blog/blob/main/notebooks/01_how_to_train.ipynb)| カスタムデータでTransformerモデルを効果的に訓練するためのすべての手順を強調表示します | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/01_how_to_train.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/blog/blob/main/notebooks/01_how_to_train.ipynb)| |
| [テキストの生成方法](https://github.com/huggingface/blog/blob/main/notebooks/02_how_to_generate.ipynb)| transformersで言語生成に異なるデコーディング手法を使用する方法 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/02_how_to_generate.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/blog/blob/main/notebooks/02_how_to_generate.ipynb)| |
| [Reformer](https://github.com/huggingface/blog/blob/main/notebooks/03_reformer.ipynb)| Reformerが言語モデリングの限界をどう押し広げるか | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/patrickvonplaten/blog/blob/main/notebooks/03_reformer.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/patrickvonplaten/blog/blob/main/notebooks/03_reformer.ipynb)| |

#### コンピュータビジョン[[pytorch-cv]]

| ノートブック                                                                                                                                                                   | 説明                                                                                                            |                                                                                                                                                                                                            |   |   |
|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------|------:|
| [画像分類でモデルをファインチューニングする方法（Torchvision）](https://github.com/huggingface/notebooks/blob/main/examples/image_classification.ipynb)                   | Torchvision を用いたデータの前処理方法と、Image Classification における事前学習済み Vision モデルのファインチューニング方法を示します    | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb)                 | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb)| [![Open in AMD Dev Cloud](https://oneclickamd.ai/static/amd.svg?v=2)](https://oneclickamd.ai/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb)|
| [画像分類でモデルをファインチューニングする方法（Albumentations）](https://github.com/huggingface/notebooks/blob/main/examples/image_classification_albumentations.ipynb) | Albumentations を用いたデータの前処理方法と、Image Classification における事前学習済み Vision モデルのファインチューニング方法を示します | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification_albumentations.ipynb)  | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_classification_albumentations.ipynb)| |
| [画像分類でモデルをファインチューニングする方法（Kornia）](https://github.com/huggingface/notebooks/blob/main/examples/image_classification_kornia.ipynb)                 | Kornia を使用してデータを前処理し、Image Classification に対して事前学習済みの Vision モデルをファインチューニングする方法を示します         | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification_kornia.ipynb)          | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_classification_kornia.ipynb)| |
| [OWL-ViTによるゼロショットオブジェクト検出の実行方法](https://github.com/huggingface/notebooks/blob/main/examples/zeroshot_object_detection_with_owlvit.ipynb)          | テキストクエリを用いて画像でゼロショットオブジェクト検出を実行する方法を示します                                             | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/zeroshot_object_detection_with_owlvit.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/zeroshot_object_detection_with_owlvit.ipynb)| |
| [画像キャプションモデルのファインチューニング方法](https://github.com/huggingface/notebooks/blob/main/examples/image_captioning_blip.ipynb)                                      | カスタムデータセットで画像キャプション生成用のBLIPをファインチューニングする方法                                                    | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_captioning_blip.ipynb)                | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_captioning_blip.ipynb)| |
| [Transformersで画像類似度システムを構築する方法](https://github.com/huggingface/notebooks/blob/main/examples/image_similarity.ipynb)                            | 画像類似度システムを構築する方法を示します                                                                           | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_similarity.ipynb)                     | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_similarity.ipynb)| |
| [セマンティックセグメンテーションでSegFormerモデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/semantic_segmentation.ipynb)                     | データの前処理方法と、事前学習済みSegFormerモデルをセマンティックセグメンテーションでファインチューニングする方法を示します                    | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/semantic_segmentation.ipynb)                | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/semantic_segmentation.ipynb)| |
| [VideoMAEモデルを動画分類でファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/video_classification.ipynb)          | データの前処理方法と、事前学習済みのVideoMAEモデルをVideo Classificationでファインチューニングする方法を示します                      | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/video_classification.ipynb)                | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/video_classification.ipynb)| |

#### オーディオ[[pytorch-audio]]

| ノートブック     |      説明      |   |   |
|:----------|:-------------|:-------------|------:|
| [英語の音声認識モデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/speech_recognition.ipynb)| TIMITで事前学習済みのSpeechモデルを前処理してファインチューニングする方法を示します | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/speech_recognition.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/speech_recognition.ipynb)|
| [任意の言語で音声認識モデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/multi_lingual_speech_recognition.ipynb)| Common Voice において、多言語で事前学習された音声モデルのデータ前処理とファインチューニングの方法を示します | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multi_lingual_speech_recognition.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/multi_lingual_speech_recognition.ipynb)|
| [音声分類でモデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/audio_classification.ipynb)| データの前処理と、事前学習済みのSpeechモデルをKeyword Spottingにファインチューニングする方法を示します | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/audio_classification.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/audio_classification.ipynb)|

#### 生物学的シーケンス[[pytorch-bio]]

| ノートブック     | 説明                                                                             |   |   |
|:----------|:----------------------------------------------------------------------------------------|:-------------|------:|
| [事前学習済みタンパク質モデルのファインチューニング方法](https://github.com/huggingface/notebooks/blob/main/examples/protein_language_modeling.ipynb) | タンパク質のトークン化と、大規模な事前学習済みタンパク質「言語」モデルのファインチューニングの方法を確認してください | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/protein_language_modeling.ipynb) | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/protein_language_modeling.ipynb) |
| [タンパク質のフォールドを生成する方法](https://github.com/huggingface/notebooks/blob/main/examples/protein_folding.ipynb) | タンパク質配列から完全なタンパク質モデルおよびPDBファイルへの生成方法を確認してください                | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/protein_folding.ipynb) | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/protein_folding.ipynb) |
| [Nucleotide Transformerモデルのファインチューニング方法](https://github.com/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling.ipynb) | DNAのトークナイズ方法と、大規模な事前学習済みDNA「言語」モデルのファインチューニング方法を確認してください | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling.ipynb) | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling.ipynb) |
| [LoRAでNucleotide Transformerモデルをファインチューニングする](https://github.com/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling_with_peft.ipynb) | メモリ効率を重視して、より大規模なDNAモデルを学習 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling_with_peft.ipynb) | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/nucleotide_transformer_dna_sequence_modelling_with_peft.ipynb) |

#### その他のモダリティ[[pytorch-other]]

| ノートブック     | 説明                                                                             |   |   |
|:----------|:----------------------------------------------------------------------------------------|:-------------|------:|
| [確率的時系列予測](https://github.com/huggingface/notebooks/blob/main/examples/time-series-transformers.ipynb) | カスタムデータセットでTime Series Transformerをトレーニングする方法を確認してください                            | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/time-series-transformers.ipynb) | [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/time-series-transformers.ipynb) |

#### ユーティリティノートブック[[pytorch-utility]]

| ノートブック     |      説明      |   |   |
|:----------|:-------------|:-------------|------:|
| [モデルをONNXにエクスポートする方法](https://github.com/huggingface/notebooks/blob/main/examples/onnx-export.ipynb)| ONNX 経由でエクスポートおよび推論ワークロードを実行する方法を強調表示します | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/onnx-export.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/onnx-export.ipynb)|

### Optimumノートブック

🤗  [Optimum](https://github.com/huggingface/optimum) は 🤗 Transformers の拡張機能であり、対象のハードウェア上でモデルの学習と実行を最大限に効率的に行えるよう、パフォーマンス最適化ツール群を提供します。

| ノートブック     |      説明      |   |   |
|:----------|:-------------|:-------------|------:|
| [ONNX Runtime を使用してテキスト分類モデルを量子化する方法](https://github.com/huggingface/notebooks/blob/main/examples/text_classification_quantization_ort.ipynb)| 任意のGLUEタスクにおいて、[ONNX Runtime](https://github.com/microsoft/onnxruntime)を使用してモデルに静的量子化と動的量子化を適用する方法を示します。 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification_quantization_ort.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/text_classification_quantization_ort.ipynb)|
| [ONNX Runtimeでテキスト分類モデルをファインチューニングする方法](https://github.com/huggingface/notebooks/blob/main/examples/text_classification_ort.ipynb)| [ONNX Runtime](https://github.com/microsoft/onnxruntime)を使用して、任意のGLUEタスクでデータを前処理し、モデルをファインチューニングする方法を示します。 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification_ort.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/text_classification_ort.ipynb)|
| [ONNX Runtime を用いた要約タスクでのモデルのファインチューニング方法](https://github.com/huggingface/notebooks/blob/main/examples/summarization_ort.ipynb)| [ONNX Runtime](https://github.com/microsoft/onnxruntime)を使用して、XSUMでデータを前処理し、モデルをファインチューニングする方法を示します。 | [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/summarization_ort.ipynb)| [![Open in AWS Studio](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/summarization_ort.ipynb)|

## コミュニティノートブック

コミュニティによって開発された他のノートブックは、[こちら](https://hf.co/docs/transformers/community#community-notebooks)で利用できます。

