-
Notifications
You must be signed in to change notification settings - Fork 259
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
Revamp of Hub documentation #62
Comments
Yay! Maybe Repositories should be before Model cards (more general) Maybe there's also |
cc @sashavor so she's aware of the CO2 bits 😄 |
Great list, thanks for compiling @osanseviero! Opened a tracker for the library documentation based on docstrings here: huggingface/huggingface_hub#759. |
Thanks @osanseviero , this makes sense. We can then expand on the user guides of the |
For Spaces, I think useful questions are
|
Something we were just talking with @LysandreJik is that at the moment we don't have documentation on specifications of each integration. Trying to explain: Many of our integrations have been happening with close collaboration with third party developers. We would sometimes change something in the backend to support certain aspects of the new integration. For instance, the What's missing is the kind of documentation explaining what exactly is required from a |
Is it ok if I transfer this to hubs-docs repo? Most of this is related to Hub documentation, and the guides can be kept for huggingface_hub library 😄 |
Yes, feel free to! |
Opened huggingface/huggingface_hub#777 to track the part related to |
As discussed in https://huggingface.slack.com/archives/C01BWJU0YKW/p1647526780537909, we should also show how to retroactively migrate files from previous commits from git to git lfs cc @lvwerra |
RE:
I'd advocate quite strongly to have a higher level split between "Model repository", "Dataset repository", "Space repository". Structuring the documentation about "What's a repository?" is too bottom-up, from the engineering point of view. We structure Similarly, I would make "Model card" a subsection of "Model repository" and also have a section on Dataset cards. |
As said before, instead of writing titles such as:
It's much clearer to write:
etc. |
Copy paste from internal Slack discussion with @hollance
|
I'm actually kind of curious, does anyone know if there's an SEO benefit to one of those styles over the other? |
As we do huggingface/huggingface_hub#744 and add library documentation based in docstrings, the hub docs might split into
hugginface_hub
and product usage.Based on existing content, what we can do is more self-contained use cases. An initial mental model without creating additional content would be
Move to
huggingface_hub
as guidesThen on the Hub
Model card
Repositories
CO2 Emissions
Widgets
Inference API
Security
Endpoints
Adding a new task
Integrating a new library (with parts of it linking to
huggingface_hub
)This would also include Spaces, which can very likely break into more pieces
WDYT @julien-c @LysandreJik @adrinjalali @muellerzr of this as a first step once we kick off the splitting
The text was updated successfully, but these errors were encountered: