Skip to content

Commit

Permalink
Adds ml-tiny profile to reduce the size further. Improved stemming.
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Nov 12, 2024
1 parent 7649554 commit 983f07b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/stages/postgen/postgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,14 +355,17 @@ export function annotate(bomJson, options) {
`${bomLinkPrefix}${stripBomLink(bomJson.serialNumber, bomJson.version, comp["bom-ref"])}`;
comp.description = undefined;
comp.properties = undefined;
comp.evidence = undefined;
}
if (requiresContextTrimming) {
comp.authors = undefined;
comp.supplier = undefined;
comp.publisher = undefined;
comp["bom-ref"] = undefined;
comp.externalReferences = undefined;
comp.description = undefined;
comp.properties = undefined;
comp.evidence = undefined;
}
}
// For tiny models, we can remove the dependencies section
Expand Down
2 changes: 1 addition & 1 deletion types/lib/stages/postgen/postgen.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 983f07b

Please sign in to comment.