-
Notifications
You must be signed in to change notification settings - Fork 574
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
[Bot] Update inference types #2664
Conversation
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. |
8149425
to
7b3624a
Compare
(generated as part of #2600, let's not merge yet) |
7b3624a
to
15d8612
Compare
690decf
to
05df70f
Compare
…ingface/huggingface_hub into update-inference-types-automated-pr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
"""Additional inference parameters | ||
Additional inference parameters for Text Classification |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(nit) the duplicate docstring comes from huggingface/huggingface.js/tasks/text-classification/spec/input.json#L13 and huggingface/huggingface.js/tasks/text-classification/spec/input.json#L20, same for other tasks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove it then (we can still merge this PR first)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"parameters": {
"$ref": "#/$defs/TextClassificationParameters"
}
seems enough
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm opening a PR now to remove it!
this PR removes redundant description in task parameter classes definition while keeping it in the parameters field reference. this avoids duplicate documentation, see: [huggingface/huggingface_hub/pull/2664#discussion](huggingface/huggingface_hub#2664 (comment)) for more context. Note : `packages/tasks/src/tasks/{task_name/inference.ts` files are auto-generated.
d274efb
to
a6e1cd2
Compare
…ingface/huggingface_hub into update-inference-types-automated-pr
c63d566
to
b8c5b97
Compare
b8c5b97
to
911c175
Compare
…ingface/huggingface_hub into update-inference-types-automated-pr
911c175
to
9b5de39
Compare
9b5de39
to
08d3f65
Compare
…ingface/huggingface_hub into update-inference-types-automated-pr
the CI is finally 💚 let's merge this |
This PR updates the inference types. It has been generated by running:
This PR was automatically created by the Update Inference Types workflow.
Make sure the changes are correct before merging.