def load_model_from_init_py(init_file, **overrides):
model_path = Path(init_file).parent<EOL>meta = get_model_meta(model_path)<EOL>data_dir = "<STR_LIT>" % (meta["<STR_LIT>"], meta["<STR_LIT:name>"], meta["<STR_LIT:version>"])<EOL>data_path = model_path / data_dir<EOL>if not model_path.exists():<EOL><INDENT>raise IOError(Errors.E052.format(path=path2str(data_path)))<EOL><DEDENT>return load_model_from_path(data_path, meta, **overrides)<EOL>
Helper function to use in the `load()` method of a model package's
    __init__.py.

    init_file (unicode): Path to model's __init__.py, i.e. `__file__`.
    **overrides: Specific overrides, like pipeline components to disable.
    RETURNS (Language): `Language` class with loaded model.