GetModelConfig function

Get model configuration