def METHOD_NAME(
    local_dir: Path, generated_model_card: str, metadata: dict
) -> None:
    """Save a model card to the directory.
    :param local_dir: local directory path
    :param generated_model_card: model card generated by _generate_model_card() method
    :param metadata: metadata
    """
    readme_path = local_dir / "README.md"
    with readme_path.open("w", encoding="utf-8") as f:
        f.write(generated_model_card)
    # Save our metrics to Readme metadata
    metadata_save(readme_path, metadata)