Added + to connect error message

This commit is contained in:
Peter Chatain 2022-08-22 13:45:38 -07:00
parent acd9a53607
commit a8a3598589

View File

@ -98,7 +98,7 @@ def build_model(cfg: FairseqDataclass, task, from_checkpoint=False):
ARCH_CONFIG_REGISTRY[model_type](cfg)
assert model is not None, (
f"Could not infer model type from {cfg}. "
f"Could not infer model type from {cfg}. " +
"Available models: {}".format(MODEL_DATACLASS_REGISTRY.keys())
+ f" Requested model type: {model_type}"
)