Small edits (#907)

This commit is contained in:
pollfly
2024-08-25 13:51:03 +03:00
committed by GitHub
parent a943bbd39a
commit 9231566533
7 changed files with 10 additions and 10 deletions

View File

@@ -2,9 +2,9 @@
title: Transformers
---
The [HuggingFace Transformers example](https://github.com/allegroai/clearml/blob/master/examples/frameworks/huggingface/transformers.ipynb)
The [Hugging Face Transformers example](https://github.com/allegroai/clearml/blob/master/examples/frameworks/huggingface/transformers.ipynb)
demonstrates how to integrate ClearML into your Transformer's [Trainer](https://huggingface.co/docs/transformers/v4.34.1/en/main_classes/trainer)
code. The HuggingFace Trainer automatically uses the built-in [`ClearMLCallback`](https://huggingface.co/docs/transformers/v4.34.1/en/main_classes/callback#transformers.integrations.ClearMLCallback)
code. The Hugging Face Trainer automatically uses the built-in [`ClearMLCallback`](https://huggingface.co/docs/transformers/v4.34.1/en/main_classes/callback#transformers.integrations.ClearMLCallback)
if the `clearml` package is already installed, to log Transformers models, parameters, scalars, and more.
In the example, ClearML is installed and set up in the training environment. This way ClearML can log models, parameters,
@@ -13,7 +13,7 @@ scalars, and more.
When the example runs, it creates a ClearML task called `Trainer` in the `HuggingFace Transformers` project. To change
the task's name or project, use the `CLEARML_PROJECT` and `CLEARML_TASK` environment variables respectively.
For more information about integrating ClearML into your Transformers code, see [HuggingFace Transformers](../../../integrations/transformers.md).
For more information about integrating ClearML into your Transformers code, see [Hugging Face Transformers](../../../integrations/transformers.md).
## WebApp