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
Copy file name to clipboardExpand all lines: schema/bom-1.5.proto
+189Lines changed: 189 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,12 @@ enum Classification {
59
59
CLASSIFICATION_FIRMWARE=8;
60
60
// A special type of software that operates or controls a particular type of device. Refer to https://en.wikipedia.org/wiki/Device_driver
61
61
CLASSIFICATION_DEVICE_DRIVER=9;
62
+
// A runtime environment which interprets or executes software. This may include runtimes such as those that execute bytecode or low-code/no-code application platforms.
63
+
CLASSIFICATION_PLATFORM=10;
64
+
// A model based on training data that can make predictions or decisions without being explicitly programmed to do so.
65
+
CLASSIFICATION_MACHINE_LEARNING_MODEL=11;
66
+
// A collection of discrete values that convey information.
67
+
CLASSIFICATION_DATA=12;
62
68
}
63
69
64
70
messageCommit {
@@ -121,6 +127,10 @@ message Component {
121
127
repeatedEvidenceevidence=23;
122
128
// Specifies optional release notes.
123
129
optionalReleaseNotesreleaseNotes=24;
130
+
// A model card describes the intended uses of a machine learning model, potential limitations, biases, ethical considerations, training parameters, datasets used to train the model, performance metrics, and other relevant data useful for ML transparency.
131
+
optionalModelCardmodelCard=25;
132
+
// This object SHOULD be specified for any component of type `data` and MUST NOT be specified for other component types.
133
+
optionalComponentDatadata=26;
124
134
}
125
135
126
136
// Specifies the data flow.
@@ -233,6 +243,8 @@ enum ExternalReferenceType {
233
243
EXTERNAL_REFERENCE_TYPE_QUALITY_METRICS=28;
234
244
// Code or configuration that defines and provisions virtualized infrastructure, commonly referred to as Infrastructure as Code (IaC)
// A model card describes the intended uses of a machine learning model, potential limitations, biases, ethical considerations, training parameters, datasets used to train the model, performance metrics, and other relevant data useful for ML transparency.
247
+
EXTERNAL_REFERENCE_TYPE_MODEL_CARD=30;
236
248
}
237
249
238
250
enumHashAlg {
@@ -916,4 +928,181 @@ message Annotation {
916
928
google.protobuf.Timestamptimestamp=4;
917
929
// The textual content of the annotation.
918
930
stringtext=5;
931
+
}
932
+
933
+
messageModelCard {
934
+
// An optional identifier which can be used to reference the model card elsewhere in the BOM. Every bom-ref MUST be unique within the BOM.
935
+
optionalstringbom_ref=1;
936
+
// Hyper-parameters for construction of the model.
// References a data component by the components bom-ref attribute
966
+
stringref=2;
967
+
}
968
+
}
969
+
messageMachineLearningInputOutputParameters {
970
+
// The data format for input/output to the model. Example formats include string, image, time-series
971
+
optionalstringformat=1;
972
+
}
973
+
}
974
+
messageQuantitativeAnalysis {
975
+
// The model performance metrics being reported. Examples may include accuracy, F1 score, precision, top-3 error rates, MSC, etc.
976
+
repeatedPerformanceMetricsperformanceMetrics=1;
977
+
optionalGraphicsCollectiongraphics=2;
978
+
979
+
messagePerformanceMetrics {
980
+
// The type of performance metric.
981
+
optionalstringtype=1;
982
+
// The value of the performance metric.
983
+
optionalstringvalue=2;
984
+
// The name of the slice this metric was computed on. By default, assume this metric is not sliced.
985
+
optionalstringslice=3;
986
+
// The confidence interval of the metric.
987
+
optionalConfidenceIntervalconfidenceInterval=4;
988
+
989
+
messageConfidenceInterval {
990
+
// The lower bound of the confidence interval.
991
+
optionalstringlowerBound=1;
992
+
// The upper bound of the confidence interval.
993
+
optionalstringupperBound=2;
994
+
}
995
+
}
996
+
}
997
+
messageModelCardConsiderations {
998
+
// Who are the intended users of the model?
999
+
repeatedstringusers=1;
1000
+
// What are the intended use cases of the model?
1001
+
repeatedstringuseCases=2;
1002
+
// What are the known technical limitations of the model? E.g. What kind(s) of data should the model be expected not to perform well on? What are the factors that might degrade model performance?
1003
+
repeatedstringtechnicalLimitations=3;
1004
+
// What are the known tradeoffs in accuracy/performance of the model?
1005
+
repeatedstringperformanceTradeoffs=4;
1006
+
// What are the ethical (or environmental) risks involved in the application of this model?
0 commit comments