Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Rename sanity_checks to confidence_checks #5201

Merged
merged 4 commits into from
May 14, 2021
Merged

Conversation

AkshitaB
Copy link
Contributor

@AkshitaB AkshitaB commented May 14, 2021

allennlp/sanity_checks/__init__.py Outdated Show resolved Hide resolved
allennlp/training/trainer.py Outdated Show resolved Hide resolved
@@ -294,7 +302,8 @@ def __init__(
num_gradient_accumulation_steps: int = 1,
use_amp: bool = False,
enable_default_callbacks: bool = True,
run_sanity_checks: bool = True,
run_sanity_checks: Optional[bool] = None,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's better to just check for this in **kwargs? Either way works, I just thought we had gone with the "kwargs" approach elsewhere. But I don't feel strongly either way.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. I like the **kwargs approach. Updated, along with other suggestions.

Copy link
Member

@epwalsh epwalsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@ArjunSubramonian ArjunSubramonian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Thanks :)

@AkshitaB AkshitaB enabled auto-merge (squash) May 14, 2021 20:46
@AkshitaB AkshitaB disabled auto-merge May 14, 2021 20:46
@AkshitaB AkshitaB merged commit cccb35d into main May 14, 2021
@AkshitaB AkshitaB deleted the rename-sanity-checks branch May 14, 2021 20:50
Abhishek-P pushed a commit to Abhishek-P/allennlp that referenced this pull request Aug 11, 2021
* renaming sanity_checks to confidence_checks

* update changelog

* docs fix

* clean up
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants