From 2f05a830b515f34086afdbaceec66ed61671faad Mon Sep 17 00:00:00 2001 From: pollfly <75068813+pollfly@users.noreply.github.com> Date: Wed, 1 Nov 2023 10:52:58 +0200 Subject: [PATCH] Edit example (#1147) --- examples/frameworks/huggingface/transformers.ipynb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/frameworks/huggingface/transformers.ipynb b/examples/frameworks/huggingface/transformers.ipynb index a1e5e68b..6c704ceb 100644 --- a/examples/frameworks/huggingface/transformers.ipynb +++ b/examples/frameworks/huggingface/transformers.ipynb @@ -20,7 +20,7 @@ "1. To keep track of your experiments and/or data, ClearML needs to communicate to a server. You have 2 server options:\n", " * Sign up for free to the [ClearML Hosted Service](https://app.clear.ml/)\n", " * Set up your own server, see [here](https://clear.ml/docs/latest/docs/deploying_clearml/clearml_server).\n", - "1. Add you ClearML credentials below. ClearML will use these credentials to connect to your server (see instructions for generating credentials [here](https://clear.ml/docs/latest/docs/getting_started/ds/ds_first_steps/#jupyter-notebook)).\n" + "1. Add your ClearML credentials below. ClearML will use these credentials to connect to your server (see instructions for generating credentials [here](https://clear.ml/docs/latest/docs/getting_started/ds/ds_first_steps/#jupyter-notebook)).\n" ], "metadata": { "id": "hkRlrlpoKu7X" @@ -48,10 +48,10 @@ "# Set to true so ClearML will log the models created by the trainer\n", "%env CLEARML_LOG_MODEL=True\n", "\n", - "# Set the ClearML task name\n", + "# Set the ClearML task name (default \"Trainer\")\n", "# %env CLEARML_TASK=\n", "\n", - "# Set task's prkect\n", + "# Set task's project (default \"HuggingFace Transformers\")\n", "# %env CLEARML_PROJECT=" ], "metadata": { @@ -100,8 +100,7 @@ "id": "LG-TqpPf9_Tn" }, "source": [ - "Create a trainer, in which you'll typically pass the following parameters to [Trainer](https://huggingface.co/docs/transformers/main/en/main_classes/\n", - "trainer#transformers.Trainer):\n", + "Create a trainer, in which you'll typically pass the following parameters to [Trainer](https://huggingface.co/docs/transformers/main/en/main_classes/trainer#transformers.Trainer):\n", "\n", "1. A [PreTrainedModel](https://huggingface.co/docs/transformers/main/en/main_classes/model#transformers.PreTrainedModel) or a [`torch.nn.Module`](https://pytorch.org/docs/stable/nn.html#torch.nn.Module):\n", "\n"