Skip to content

Conversation

@gideonphilip
Copy link
Contributor

What does this PR do?

Fixes notebook rendering error on GitHub for fine_tune_chatbot_docs_synthetic.ipynb.

The notebook had malformed Jupyter widget metadata that was causing GitHub to fail with:

Invalid Notebook: the 'state' key is missing from 'metadata.widgets'

The metadata.widgets contained progress bar widget state from Colab execution but in an invalid format (missing the required state wrapper key). Removed this ephemeral widget metadata as it's not needed for notebook functionality.

Who can review?

@merveenoyan @stevhliu

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Member

@stevhliu stevhliu left a comment

Choose a reason for hiding this comment

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

thanks, this actually affects several other notebooks such as this one. would you be interested in also checking the other notebooks?

@gideonphilip
Copy link
Contributor Author

Sure, I can also check the other notebooks and fix those issues.

@gideonphilip
Copy link
Contributor Author

gideonphilip commented Jan 9, 2026

@stevhliu This commit fixes the issue on 35 notebook. f2ce9fd

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@stevhliu stevhliu merged commit b68192e into huggingface:main Jan 9, 2026
1 check passed
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