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

[doc+spec] Widget example outputs #978

Merged
merged 10 commits into from
Sep 29, 2023
Merged

[doc+spec] Widget example outputs #978

merged 10 commits into from
Sep 29, 2023

Conversation

julien-c
Copy link
Member

The important commit to take a look at, is 8ec6abc

Basically this specs out:

  • (small quality of like improvement) assets can be auto linked to a file inside the present model repo.
  • You can encode output for each example in the widget: section.

See 8ec6abc

@julien-c
Copy link
Member Author

it's not ready to merge yet but still would love some preliminary reviews/to hear your thoughts. cc @Wauplin too on this BTW

@julien-c julien-c requested a review from Wauplin September 28, 2023 11:23
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 28, 2023

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

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

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

Spec (and feature) looks good to me!
You've mentioned 2 (not sure) items about the ability to set a file or text as output (instead of json-encoded output) => I really think it'd be a great improvement. I feel that it can cover a lot of cases of "too big to load" models.

docs/hub/models-widgets.md Outdated Show resolved Hide resolved
docs/hub/models-widgets.md Outdated Show resolved Hide resolved
docs/hub/models-widgets.md Outdated Show resolved Hide resolved
docs/hub/models-widgets.md Outdated Show resolved Hide resolved
@julien-c
Copy link
Member Author

ready for final review!!

@julien-c julien-c requested a review from SBrandeis September 29, 2023 12:16
Copy link
Contributor

@osanseviero osanseviero left a comment

Choose a reason for hiding this comment

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

Very nice!

docs/hub/models-widgets.md Show resolved Hide resolved
docs/hub/models-widgets.md Outdated Show resolved Hide resolved
docs/hub/models-widgets.md Outdated Show resolved Hide resolved
docs/hub/models-widgets.md Outdated Show resolved Hide resolved
docs/hub/models-widgets.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@mishig25 mishig25 left a comment

Choose a reason for hiding this comment

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

left some nits; lgtm !

julien-c and others added 2 commits September 29, 2023 16:40
Co-authored-by: Omar Sanseviero <[email protected]>
Co-authored-by: Mishig <[email protected]>
Co-authored-by: Omar Sanseviero <[email protected]>
Co-authored-by: Mishig <[email protected]>
@julien-c julien-c merged commit bf08e8d into main Sep 29, 2023
@julien-c julien-c deleted the widgets-example-outputs branch September 29, 2023 16:09
@julien-c
Copy link
Member Author

Merging with 1 approval

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.

6 participants