`_name_or_path` is not stored in llama config.json any more
nrailg opened this issue · 2 comments
nrailg commented
but it is still used in src/alpaca_farm/common.py:get_pretrained_model_name_with_model_name_or_path
to obtain model family.
At the sft stage, I used a local directory path as --model-name-or-path
, and the local dir path is stored as _name_or_path
in config.json. Then get_pretrained_model_name_with_model_name_or_path
loaded llama config.json and failed to lookup '_name_or_path'
.
lxuechen commented
Thanks for raising this issue. This has been resolved in a recent PR.
nrailg commented
Thanks for raising this issue. This has been resolved in a recent PR.
thank u .