specification icon indicating copy to clipboard operation
specification copied to clipboard

New field: `component.modelcard.modelType`

Open bardenstein opened this issue 2 years ago • 4 comments

Proposal Add a "model type" field to the model card block that allows uses to input common 'types' of distinguishing models, such as "text-generation", "image-to-text", etc. These are standard on Hugging Face and other sources for open-source models.

Details FieldName: Components.modelCard.modelType FieldType: string Required: no Examples: "text-generation", "image-to-text," "text-to-image"

Example snippet

"modelCard" : [
       "modelType": "text-to-image"
  ]

bardenstein avatar Nov 17 '23 15:11 bardenstein

Is there an enumeration of all potential values anywhere?

stevespringett avatar Nov 26 '23 22:11 stevespringett

Related to, but slightly different than modelCard/considerations/useCases

stevespringett avatar Nov 26 '23 22:11 stevespringett

@stevespringett consider the options listed on the left side of the https://huggingface.co/models page:

Screen Shot 2023-12-07 at 9 57 43 PM

bardenstein avatar Dec 08 '23 02:12 bardenstein

@chrish42 Do you have any thoughts on this proposal?

stevespringett avatar Dec 28 '23 05:12 stevespringett

This was implemented with tags. See #383 which will be included in v1.6.

stevespringett avatar Mar 05 '24 22:03 stevespringett