Skip to content

Commit

Permalink
[Doc] Fix Title of the Transformers GLUE example (#39605)
Browse files Browse the repository at this point in the history
Signed-off-by: woshiyyya <xiaoyunxuan1998@gmail.com>
  • Loading branch information
woshiyyya committed Sep 13, 2023
1 parent 5cd72b9 commit b00d029
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/source/train/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Intermediate
- `DreamBooth fine-tuning of Stable Diffusion with Ray Train <https://github.com/ray-project/ray/tree/master/doc/source/templates/05_dreambooth_finetuning>`_
* - Lightning
- :ref:`Model Training with PyTorch Lightning and Ray Data <lightning_advanced_example>`
* - Accelerate
- :ref:`Fine-tuning a Text Classifier on GLUE Benchmark with HF Accelerate. <train_transformers_accelerate_example>`
* - Transformers
- :ref:`Fine-tuning a Text Classifier on GLUE Benchmark with HF Transformers. <train_transformers_glue_example>`


Advanced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"(train_transformers_accelerate_example)=\n",
"(train_transformers_glue_example)=\n",
"\n",
"# Fine-tune a 🤗 Transformers model"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
set_seed,
)

import ray
import ray.train
from ray.train import DataConfig, ScalingConfig, Checkpoint
from ray.train.torch import TorchTrainer
Expand Down

0 comments on commit b00d029

Please sign in to comment.