1) apparently falcon models have inconsistent information in field model_type of config.json. Encountered both RefinedWebModel and RefinedWeb.
This PR allows both these values as well as prospective valueFalcon.
2) added trust_remote_code=True to AutoConfig loading, consistent with trust_remote_code param in model loading. (used with Falcon)
1) apparently falcon models have inconsistent information in field
model_type
ofconfig.json
. Encountered bothRefinedWebModel
andRefinedWeb
. This PR allows both these values as well as prospective valueFalcon
.2) added
trust_remote_code=True
to AutoConfig loading, consistent with trust_remote_code param in model loading. (used with Falcon)