Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doctest] Add configuration_big_bird.py #19550

Closed
wants to merge 12 commits into from
Closed

[Doctest] Add configuration_big_bird.py #19550

wants to merge 12 commits into from

Conversation

imarekkus
Copy link
Contributor

Hi!

Updating configuration_big_bird.py

Based on issue #19487

Tests passed
image

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 12, 2022

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

@sgugger sgugger requested a review from ydshieh October 12, 2022 20:30
@imarekkus
Copy link
Contributor Author

Hey, there seems to be a problem with this line
image

Check_code_quality is returning this error:
image

When I tried to keep it below 119 in length and move some of the text to the next line I got another error
image

Thus I can not add this 'with random weights' text and I am wondering how to solve this problem.

@@ -99,8 +99,7 @@ class BigBirdConfig(PretrainedConfig):
>>> # Initializing a BigBird google/bigbird-roberta-base style configuration >>> configuration =
BigBirdConfig()

>>> # Initializing a model (with random weights) from the google/bigbird-roberta-base style configuration
>>> model =
>>> # Initializing a model (with random weights) from the google/bigbird-roberta-base style configuration >>> model =
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is some problem here :-)

@imarekkus imarekkus closed this Oct 13, 2022
@imarekkus imarekkus reopened this Oct 13, 2022
@imarekkus imarekkus closed this Oct 13, 2022
@imarekkus imarekkus reopened this Oct 13, 2022
@imarekkus imarekkus closed this Oct 13, 2022
@imarekkus imarekkus deleted the bigbird_config branch October 13, 2022 07:16
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.

3 participants