Fix PushToHubCallback import in Share a model docs (#21457)

docs: update PushToHubCallback import in docs
This commit is contained in:
Irene López
2023-02-06 14:26:22 +00:00
committed by GitHub
parent 5ac1c7ea85
commit 7dbee87e09
4 changed files with 4 additions and 4 deletions

View File

@@ -150,7 +150,7 @@ Condividi un modello nell'Hub con [`PushToHubCallback`]. Nella funzione [`PushTo
- L'`hub_model_id`, che è il tuo username sull'Hub e il nome del modello.
```py
>>> from transformers.keras.callbacks import PushToHubCallback
>>> from transformers import PushToHubCallback
>>> push_to_hub_callback = PushToHubCallback(
... output_dir="./il_path_dove_salvare_il_tuo_modello",