You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integrate SwanLab for offline/online experiment tracking and local visualization (#36433)
* add swanlab integration
* feat(integrate): add SwanLab as an optional experiment tracking tool in transformers
- Integrated SwanLab into the transformers library as an alternative for experiment tracking.
- Users can now log training metrics, hyperparameters, and other experiment details to SwanLab by setting `report_to="swanlab"` in the `TrainingArguments`.
- Added necessary dependencies and documentation for SwanLab integration.
* Fix the spelling error of SwanLabCallback in callback.md
* Apply suggestions from code review
Co-authored-by: Marc Sun <[email protected]>
* Fix typo in comment
* Fix typo in comment
* Fix typos and update comments
* fix annotation
* chore: opt some comments
---------
Co-authored-by: Marc Sun <[email protected]>
Co-authored-by: AAssets <[email protected]>
Co-authored-by: ZeYi Lin <[email protected]>
Co-authored-by: KAAANG <[email protected]>
Copy file name to clipboardExpand all lines: docs/source/en/main_classes/callback.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ By default, `TrainingArguments.report_to` is set to `"all"`, so a [`Trainer`] wi
45
45
-[`~integrations.DagsHubCallback`] if [dagshub](https://dagshub.com/) is installed.
46
46
-[`~integrations.FlyteCallback`] if [flyte](https://flyte.org/) is installed.
47
47
-[`~integrations.DVCLiveCallback`] if [dvclive](https://dvc.org/doc/dvclive) is installed.
48
+
-[`~integrations.SwanLabCallback`] if [swanlab](http://swanlab.cn/) is installed.
48
49
49
50
If a package is installed but you don't wish to use the accompanying integration, you can change `TrainingArguments.report_to` to a list of just those integrations you want to use (e.g. `["azure_ml", "wandb"]`).
50
51
@@ -92,6 +93,9 @@ Here is the list of the available [`TrainerCallback`] in the library:
0 commit comments