Skip to content

Commit

Permalink
fix: model size parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemDoum committed Nov 20, 2024
1 parent fe4d205 commit cdf6998
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public class NlpHelper {
public static Map<String, Object> pipelineExtras(Pipeline.Type pipeline) {
if (pipeline == Pipeline.Type.SPACY) {
return Map.of("size", "md");
return Map.of("modelSize", "md");
}
return Map.of();
}
Expand Down

0 comments on commit cdf6998

Please sign in to comment.