@@ -1097,7 +1097,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
10971097 }
10981098 ).set_examples ({LLAMA_EXAMPLE_EMBEDDING, LLAMA_EXAMPLE_RETRIEVAL, LLAMA_EXAMPLE_SERVER}).set_env (" LLAMA_ARG_POOLING" ));
10991099 add_opt (common_arg (
1100- {" --attention" }, " {causal,non, causal}" ,
1100+ {" --attention" }, " {causal,non- causal}" ,
11011101 " attention type for embeddings, use model default if unspecified" ,
11021102 [](common_params & params, const std::string & value) {
11031103 /* */ if (value == " causal" ) { params.attention_type = LLAMA_ATTENTION_TYPE_CAUSAL; }
@@ -1695,7 +1695,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
16951695 ).set_examples ({LLAMA_EXAMPLE_BENCH}));
16961696 add_opt (common_arg (
16971697 {" --embd-normalize" }, " N" ,
1698- string_format (" normalisation for embendings (default: %d) (-1=none, 0=max absolute int16, 1=taxicab, 2=euclidean, >2=p-norm)" , params.embd_normalize ),
1698+ string_format (" normalisation for embeddings (default: %d) (-1=none, 0=max absolute int16, 1=taxicab, 2=euclidean, >2=p-norm)" , params.embd_normalize ),
16991699 [](common_params & params, int value) {
17001700 params.embd_normalize = value;
17011701 }
@@ -1709,7 +1709,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
17091709 ).set_examples ({LLAMA_EXAMPLE_EMBEDDING}));
17101710 add_opt (common_arg (
17111711 {" --embd-separator" }, " STRING" ,
1712- " separator of embendings (default \\ n) for example \" <#sep#>\" " ,
1712+ " separator of embeddings (default \\ n) for example \" <#sep#>\" " ,
17131713 [](common_params & params, const std::string & value) {
17141714 params.embd_sep = value;
17151715 }
0 commit comments