Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
a753cafd
Unverified
Commit
a753cafd
authored
Apr 26, 2021
by
Stas Bekman
Committed by
GitHub
Apr 26, 2021
Browse files
[docs] fix invalid class name (#11438)
* fix invalid class name * proper ref * proper ref
parent
6715e3b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
docs/source/migration.md
docs/source/migration.md
+2
-2
src/transformers/integrations.py
src/transformers/integrations.py
+2
-2
No files found.
docs/source/migration.md
View file @
a753cafd
...
@@ -169,8 +169,8 @@ Regarding the `TFTrainer` class:
...
@@ -169,8 +169,8 @@ Regarding the `TFTrainer` class:
-
The
`TFTrainer`
method
`_setup_wandb`
is deprecated in favor of
`setup_wandb`
.
-
The
`TFTrainer`
method
`_setup_wandb`
is deprecated in favor of
`setup_wandb`
.
-
The
`TFTrainer`
method
`_run_model`
is deprecated in favor of
`run_model`
.
-
The
`TFTrainer`
method
`_run_model`
is deprecated in favor of
`run_model`
.
Regarding the
`Train
er
Argument`
class:
Regarding the
`Train
ing
Argument
s
`
class:
-
The
`Train
er
Argument`
argument
`evaluate_during_training`
is deprecated in favor of
`evaluation_strategy`
.
-
The
`Train
ing
Argument
s
`
argument
`evaluate_during_training`
is deprecated in favor of
`evaluation_strategy`
.
Regarding the Transfo-XL model:
Regarding the Transfo-XL model:
-
The Transfo-XL configuration attribute
`tie_weight`
becomes
`tie_words_embeddings`
.
-
The Transfo-XL configuration attribute
`tie_weight`
becomes
`tie_words_embeddings`
.
...
...
src/transformers/integrations.py
View file @
a753cafd
...
@@ -856,8 +856,8 @@ class MLflowCallback(TrainerCallback):
...
@@ -856,8 +856,8 @@ class MLflowCallback(TrainerCallback):
Whether to use MLflow .log_artifact() facility to log artifacts.
Whether to use MLflow .log_artifact() facility to log artifacts.
This only makes sense if logging to a remote server, e.g. s3 or GCS. If set to `True` or `1`, will copy
This only makes sense if logging to a remote server, e.g. s3 or GCS. If set to `True` or `1`, will copy
whatever is in Train
er
Argument's output_dir to the local or remote
artifact storage. Using it without a
whatever is in
:class:`~transformers.
Train
ing
Argument
s`
's
``
output_dir
``
to the local or remote
remote storage will just copy the files to your artifact location.
artifact storage. Using it without a
remote storage will just copy the files to your artifact location.
"""
"""
log_artifacts
=
os
.
getenv
(
"HF_MLFLOW_LOG_ARTIFACTS"
,
"FALSE"
).
upper
()
log_artifacts
=
os
.
getenv
(
"HF_MLFLOW_LOG_ARTIFACTS"
,
"FALSE"
).
upper
()
if
log_artifacts
in
{
"TRUE"
,
"1"
}:
if
log_artifacts
in
{
"TRUE"
,
"1"
}:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment