Skip to content

Commit 6300c12

Browse files
jan-wassenbergcopybara-github
authored andcommitted
Update app argument documentation
PiperOrigin-RevId: 739159864
1 parent 05b1cce commit 6300c12

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

util/app.h

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,12 @@ struct LoaderArgs : public ArgsBase<LoaderArgs> {
205205
visitor(tokenizer, "tokenizer", Path(),
206206
"Path name of tokenizer model file.");
207207
visitor(weights, "weights", Path(),
208-
"Path name of model weights (.sbs) file.\n Required argument.");
208+
"Path name of model weights (.sbs) file.\n Required argument.\n");
209209
visitor(compressed_weights, "compressed_weights", Path(),
210-
"Alias for --weights.");
211-
visitor(model_type_str, "model", std::string(),
212-
"Model type\n 2b-it = 2B parameters, instruction-tuned\n "
213-
"2b-pt = 2B parameters, pretrained\n 7b-it = 7B parameters "
214-
"instruction-tuned\n 7b-pt = 7B parameters, pretrained\n "
215-
"gr2b-it = griffin 2B parameters, instruction-tuned\n "
216-
"gr2b-pt = griffin 2B parameters, pretrained.");
210+
"Deprecated alias for --weights.");
211+
visitor(
212+
model_type_str, "model", std::string(),
213+
"Model type, see common.cc for valid values.\n");
217214
visitor(weight_type_str, "weight_type", std::string("sfp"),
218215
"Weight type\n f32 = float, bf16 = bfloat16, sfp = 8-bit SFP.");
219216
}

0 commit comments

Comments
 (0)