File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ run_and_verify() {
35
35
exit 1
36
36
fi
37
37
$PYTHON_EXECUTABLE -m examples.models.llama.eval_llama \
38
- --model llama2
38
+ --model llama2 \
39
39
-c stories110M.pt \
40
40
-p params.json \
41
41
-t tokenizer.model \
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ run_and_verify() {
35
35
exit 1
36
36
fi
37
37
$PYTHON_EXECUTABLE -m examples.models.llama.runner.eager \
38
- --model llama2
38
+ --model llama2 \
39
39
-c stories110M.pt \
40
40
-p params.json \
41
41
-t tokenizer.model \
Original file line number Diff line number Diff line change @@ -806,7 +806,7 @@ def _load_llama_model(
806
806
if modelname in EXECUTORCH_DEFINED_MODELS :
807
807
# Set to llama2 because all models in EXECUTORCH_DEFINED_MODELS share the same archteciture as
808
808
# defined in example/models/llama2.
809
- modelname = "llama2 "
809
+ modelname = "llama "
810
810
model_class_name = "Llama2Model"
811
811
elif modelname in TORCHTUNE_DEFINED_MODELS :
812
812
raise NotImplementedError (
You can’t perform that action at this time.
0 commit comments