async function loadConfig(pretrained_model_name_or_path, options) {
    return await getModelJSON(pretrained_model_name_or_path, 'config.json', true, options);
}
Loads a config from the specified path.
@param {string} pretrained_model_name_or_path The path to the config directory.
@param {PretrainedOptions} options Additional options for loading the config.
@returns {Promise<Object>} A promise that resolves with information about the loaded config.