Skip to content

Update expected values in DecisionTransformerModelIntegrationTest#18016

Merged
ydshieh merged 1 commit intohuggingface:mainfrom
ydshieh:fix_decision_transformer_ci
Jul 5, 2022
Merged

Update expected values in DecisionTransformerModelIntegrationTest#18016
ydshieh merged 1 commit intohuggingface:mainfrom
ydshieh:fix_decision_transformer_ci

Conversation

@ydshieh
Copy link
Copy Markdown
Collaborator

@ydshieh ydshieh commented Jul 4, 2022

What does this PR do?

As the checkpoint is updated a few days ago.

@ydshieh ydshieh requested review from edbeeching and sgugger July 4, 2022 16:19
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

HuggingFaceDocBuilderDev commented Jul 4, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Copy Markdown
Contributor

@edbeeching edbeeching left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is due to this issue a user highlighted. One of the layers in the checkpoint should have been all zeros in order to match the original implementation, but it was not. I corrected the mistake but I had not considered the integration tests.

Thanks for fixing this @ydshieh.

Copy link
Copy Markdown
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

@ydshieh ydshieh merged commit 97db5b4 into huggingface:main Jul 5, 2022
@ydshieh ydshieh deleted the fix_decision_transformer_ci branch July 5, 2022 12:53
viclzhu pushed a commit to viclzhu/transformers that referenced this pull request Jul 18, 2022
…ggingface#18016)

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants