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
## Fixed – Schema Alignment
* Protobuf: added the optional, repeated field `ModelCard.property`
([#726] via [#743])
* XML: added the optional, repeated node `//modelCard/properties`
([#726] via [#743])
* XML: changed the node `//modelCard/considerations/users/user` from
optional to optional and repeated ([#737] via [#744])
* XML: changed the node `//modelCard/considerations/useCases/useCase`
from optional to optional and repeated ([#737] via [#744])
* XML: changed the node
`//modelCard/considerations/technicalLimitations/technicalLimitation`
from optional to optional and repeated ([#737] via [#744])
* XML: changed the node
`//modelCard/considerations/performanceTradeoffs/performanceTradeoff`
from optional to optional and repeated ([#737] via [#744])
## Tests
* Added test cases for the updated schemas.
[#726]: #726
[#743]: #743
[#737]: #737
[#744]: #744
-----
- fixes#917
- fixes#726
- fixes#737
---
progress: https://github.com/CycloneDX/specification/milestone/13
intended release: v1.7.1
backports:
- 1.5.1 - #933
- 1.6.2 - #934
Copy file name to clipboardExpand all lines: tools/src/test/resources/1.5/valid-machine-learning-1.5.json
+19-5Lines changed: 19 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -60,16 +60,20 @@
60
60
},
61
61
"considerations": {
62
62
"users": [
63
-
"Who are the intended users of the model?"
63
+
"Who are the intended users of the model?",
64
+
"Data scientists and ML researchers"
64
65
],
65
66
"useCases": [
66
-
"Who are the intended users of the model?"
67
+
"Who are the intended users of the model?",
68
+
"Text-to-image generation for creative applications"
67
69
],
68
70
"technicalLimitations": [
69
-
"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?"
71
+
"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?",
72
+
"Limited performance on non-photographic styles"
70
73
],
71
74
"performanceTradeoffs": [
72
-
"What are the known tradeoffs in accuracy/performance of the model?"
75
+
"What are the known tradeoffs in accuracy/performance of the model?",
76
+
"Higher resolution output requires more computational resources"
73
77
],
74
78
"ethicalConsiderations": [
75
79
{
@@ -85,7 +89,17 @@
85
89
"mitigationStrategy": "With respect to the benefits and harms outlined, please describe any mitigation strategy implemented."
Copy file name to clipboardExpand all lines: tools/src/test/resources/1.5/valid-machine-learning-1.5.textproto
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,9 +48,13 @@ components {
48
48
}
49
49
considerations: {
50
50
users:"Who are the intended users of the model?"
51
+
users:"Data scientists and ML researchers"
51
52
useCases:"Who are the intended users of the model?"
53
+
useCases:"Text-to-image generation for creative applications"
52
54
technicalLimitations:"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?"
55
+
technicalLimitations:"Limited performance on non-photographic styles"
53
56
performanceTradeoffs:"What are the known tradeoffs in accuracy/performance of the model?"
57
+
performanceTradeoffs:"Higher resolution output requires more computational resources"
54
58
ethicalConsiderations: {
55
59
name:"The name of the risk"
56
60
mitigationStrategy:"Strategy used to address this risk"
@@ -62,5 +66,13 @@ components {
62
66
mitigationStrategy:"With respect to the benefits and harms outlined, please describe any mitigation strategy implemented."
Copy file name to clipboardExpand all lines: tools/src/test/resources/1.6/valid-machine-learning-1.6.json
+19-5Lines changed: 19 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -62,16 +62,20 @@
62
62
},
63
63
"considerations": {
64
64
"users": [
65
-
"Who are the intended users of the model?"
65
+
"Who are the intended users of the model?",
66
+
"Data scientists and ML researchers"
66
67
],
67
68
"useCases": [
68
-
"Who are the intended users of the model?"
69
+
"Who are the intended users of the model?",
70
+
"Text-to-image generation for creative applications"
69
71
],
70
72
"technicalLimitations": [
71
-
"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?"
73
+
"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?",
74
+
"Limited performance on non-photographic styles"
72
75
],
73
76
"performanceTradeoffs": [
74
-
"What are the known tradeoffs in accuracy/performance of the model?"
77
+
"What are the known tradeoffs in accuracy/performance of the model?",
78
+
"Higher resolution output requires more computational resources"
75
79
],
76
80
"ethicalConsiderations": [
77
81
{
@@ -87,7 +91,17 @@
87
91
"mitigationStrategy": "With respect to the benefits and harms outlined, please describe any mitigation strategy implemented."
0 commit comments