mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
add ability to connect a neptune.ai run (#13319)
when `NEPTUNE_RUN_ID` environmetnt variable is set, neptune will log into the previous run with id `NEPTUNE_RUN_ID`
This commit is contained in:
parent
f4f4e6b2d3
commit
6f3c99acca
@ -728,6 +728,7 @@ class NeptuneCallback(TrainerCallback):
|
||||
api_token=os.getenv("NEPTUNE_API_TOKEN"),
|
||||
mode=os.getenv("NEPTUNE_CONNECTION_MODE", "async"),
|
||||
name=os.getenv("NEPTUNE_RUN_NAME", None),
|
||||
run=os.getenv("NEPTUNE_RUN_ID", None),
|
||||
)
|
||||
combined_dict = args.to_dict()
|
||||
if hasattr(model, "config") and model.config is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user