Skip to content

Commit

Permalink
Fix link to model widgets enable section (#1327)
Browse files Browse the repository at this point in the history
There was a superfluous `.md` extension in the link which leads the user to a 404 page.
  • Loading branch information
githubnemo authored Jul 5, 2024
1 parent c7d766e commit c24d720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hub/model-cards.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ datasets:

### Specifying a task (`pipeline_tag`)

You can specify the `pipeline_tag` in the model card metadata. The `pipeline_tag` indicates the type of task the model is intended for. This tag will be displayed on the model page and users can filter models on the Hub by task. This tag is also used to determine which [widget](./models-widgets.md#enabling-a-widget) to use for the model and which APIs to use under the hood.
You can specify the `pipeline_tag` in the model card metadata. The `pipeline_tag` indicates the type of task the model is intended for. This tag will be displayed on the model page and users can filter models on the Hub by task. This tag is also used to determine which [widget](./models-widgets#enabling-a-widget) to use for the model and which APIs to use under the hood.

For `transformers` models, the pipeline tag is automatically inferred from the model's `config.json` file but you can override it in the model card metadata if required. Editing this field in the metadata UI will ensure that the pipeline tag is valid. Some other libraries with Hub integration will also automatically add the pipeline tag to the model card metadata.

Expand Down

0 comments on commit c24d720

Please sign in to comment.