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 user guide on the hub #64

Merged
merged 11 commits into from
Aug 1, 2022
Merged

Conversation

adrinjalali
Copy link
Member

A little bit of user guide and improvements to docs.

@adrinjalali
Copy link
Member Author

Ready for review @skops-dev/maintainers

Copy link
Collaborator

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

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

Great addition, thanks. I proposed a change, but it's not critical at all.

docs/index.rst Outdated Show resolved Hide resolved
@adrinjalali
Copy link
Member Author

Also wondering what @osanseviero thinks about this.

@BenjaminBossan
Copy link
Collaborator

Also wondering what osanseviero thinks about this.

Okay, I'll wait before merging then.

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.

Looks good! I just left minor suggestions. It would be great if @merveenoyan could take a quick look on Monday as well unless we're in a hurry to merge this

docs/hf_hub.rst Show resolved Hide resolved
docs/hf_hub.rst Outdated Show resolved Hide resolved
docs/index.rst Outdated Show resolved Hide resolved
@osanseviero
Copy link
Contributor

Very friendly ping @merveenoyan as I realized last ping was during holidays+before weekend, so I wanted to resurface this.

Copy link
Collaborator

@merveenoyan merveenoyan left a comment

Choose a reason for hiding this comment

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

Left minor comments, feel free to ignore if you don't agree but LGTM

docs/hf_hub.rst Outdated
- Inference API to get model output through REST calls
- A widget to try the model directly in the browser
- Metadata tags for better discoverability of the model
- Collaborating with others on a model
Copy link
Collaborator

Choose a reason for hiding this comment

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

it's a bit vague, maybe add "Collaboration with others on a model through xyz" would be nice

Copy link
Member Author

Choose a reason for hiding this comment

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

through what? I'm not sure how to finish the sentence

Copy link
Collaborator

@merveenoyan merveenoyan Aug 1, 2022

Choose a reason for hiding this comment

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

Having repositories on Hub in general and pull requests + discussions. feel free to ignore if you don't agree

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

metadata in the ``README.md`` file. The metadata in ``README.md`` is used by
the Hub's backend to understand the type of the model and the kind of task
which the model tries to solve. An example of a task can be
``"tabular-classification"`` or ``"text-regression"``.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Until we add the documentation on available tasks, feel free to give reference to https://github.com/huggingface/hub-docs/blob/main/js/src/lib/interfaces/Types.ts if you wish to do so.

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't want to refer users to source code, especially python coders to a typescript bit of code. If necessary, rather document what we have here, which seems to be what we need to do.

- ``task``: The task of the model.

You almost never need to create or touch this file manually, and it's created
when you call :func:`skops.hub_utils.init`.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe an emphasis on this with bold font would be noice but LGTM 😅 it's one of the main value propositions of skops that's why
image

@merveenoyan merveenoyan merged commit f06ea50 into skops-dev:main Aug 1, 2022
@adrinjalali adrinjalali deleted the userguide branch August 1, 2022 14:51
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