small edits

This commit is contained in:
revital 2023-10-30 10:24:03 +02:00
parent c59f7e804d
commit 316cef73ba

View File

@ -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"