from typing import Dict
import json


def load_params_file(params_file: str) -> Dict:
    """
    Load a JSON file of training parameters.

    :param params_file: The input file.
    :return: A dictionary of training parameters.
    """
    with open(params_file, 'r') as fin:
        return json.load(fin)