-
Notifications
You must be signed in to change notification settings - Fork 479
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
[AiLab] Use new fields in Model Cards #40166
Conversation
Possible Values:{' '} | ||
{!feature.values && ( | ||
<p style={styles.details}> | ||
min: {feature.min} max: {feature.max} |
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.
Is this our preferred presentation for ranges across the whole experience? Or should we try and figure out a unified design?
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.
There are three places where we expose max and min to the user:
App Lab auto gen design element
The only difference is whether we use ( ) or not, which seems to me to make sense in the above contexts. If you have ideas for an improvement on how to display this information, we can consider it, but in terms of consistency I think the change I've made in this PR for model cards matches the others - single line, min first, then max with colons.
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.
Seems fair. My only thought is that we could put a comma between them in the third variant...
Continuation of the work in #40100. Rather than
metadata.labelColumn
we now usemetadata.label
and instead ofmetadata.selectedFeatures
we pull info frommetadata.features
for theModelCard
component.If the model is too old to have these new data fields, the model card doesn't render:
For models that do have the new fields, we now show more details about the label and features in the Model Card, including possible values and max/min where appropriate:
The Curriculum team has been notified of this change; they have re-built all of the necessary models in the curriculum pilot to include the new fields.