You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add 'category' field to machine-learning-model component #281
Request: add a category field to the mlm component.
Required: true
Type: String
Examples: "text-generation," "image-processing," "image-generation," etc.
Justification: model types are part of the standard model card for HuggingFace, the largest repository of open-source models. The type field also helps the end user understand what category of model this is and its primary functionality.
changed the title [-]Add 'type' field to machine-learning-model component[/-][+]Add 'category' field to machine-learning-model component[/+]on Aug 25, 2023
We discussed this in the ML workstream, but I'm not sure if we settled on an approach.
There are three options:
A string field
A enum (also a string)
CycloneDX properties
Option 1 will likely end up being any string a model author decided to put in there. So for processing, you'll likely have mixed results.
Option 2 will require us to create a formal taxonomy that would be strict and would have to be all encompassing. Any new enum values would need to be added in future versions of the spec.
Option 3 is the most flexible and will work with the existing v1.5. But we will need to start defining the taxonomy. The benefit of this approach is that we can add to it over time. In terms of "strictness", it falls somewhere in between Option 1 and 2.
@stevespringett from the people I discussed, a string or ENUM seems to represent a vast majority of the data in the wild I see in model cards. To your point, I'd suggest we start with the string until we collect enough data to formalize some ENUM values.
Activity
[-]Add 'type' field to machine-learning-model component[/-][+]Add 'category' field to machine-learning-model component[/+]stevespringett commentedon Aug 25, 2023
We discussed this in the ML workstream, but I'm not sure if we settled on an approach.
There are three options:
Option 1 will likely end up being any string a model author decided to put in there. So for processing, you'll likely have mixed results.
Option 2 will require us to create a formal taxonomy that would be strict and would have to be all encompassing. Any new enum values would need to be added in future versions of the spec.
Option 3 is the most flexible and will work with the existing v1.5. But we will need to start defining the taxonomy. The benefit of this approach is that we can add to it over time. In terms of "strictness", it falls somewhere in between Option 1 and 2.
bardenstein commentedon Aug 28, 2023
@stevespringett from the people I discussed, a string or ENUM seems to represent a vast majority of the data in the wild I see in model cards. To your point, I'd suggest we start with the string until we collect enough data to formalize some ENUM values.
jkowalleck commentedon Feb 5, 2024
@bardenstein the CycloneDX CoreWorkingGroup proposes to start with a CycloneDX propery.
You could define and register theres here: https://cyclonedx.github.io/cyclonedx-property-taxonomy/
Examples of others colaborating on property taxnomy:
cdxcyclonedx-property-taxonomy#75If the maturity of this property reaches a certain level, we could standardice on it.
jkowalleck commentedon Feb 14, 2024
@stevespringett and @mrutkows proposed to call it "tags" on the
componentlevel, instead of "category"this way we could have tags like
xml-parserfor a component of typelibraryimage-generatorfor a component of machine-learnign typeAdd tags support (#383)
Add tags support (CycloneDX#383)