Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be more explicit about use_cache to avoid #21

Merged
merged 6 commits into from Sep 10, 2021
Merged

Conversation

sergeyf
Copy link
Collaborator

@sergeyf sergeyf commented Sep 7, 2021

Zhipeng and the SPECTER+ team missed the cache specification and were debugging for a long time. These changes should hopefully make the cache easier to understand and notice.

python scripts/transfer_experiment_seed_paper.py --n_jobs 25 --random_seed 1 2 3 4 5 --skip_individual_models --experiment_name paper_experiments/ablations/no_affiliation --feature_groups_to_skip affiliation_similarity --use_cache
python scripts/transfer_experiment_seed_paper.py --n_jobs 25 --random_seed 1 2 3 4 5 --skip_individual_models --experiment_name paper_experiments/ablations/no_year --feature_groups_to_skip year_diff --use_cache
python scripts/transfer_experiment_seed_paper.py --n_jobs 25 --random_seed 1 2 3 4 5 --skip_individual_models --experiment_name paper_experiments/ablations/no_coauthors --feature_groups_to_skip coauthor_similarity --use_cache
python scripts/transfer_experiment_seed_paper.py --n_jobs 25 --random_seed 1 2 3 4 5 --skip_individual_models --experiment_name paper_experiments/ablations/no_references --feature_groups_to_skip reference_features --use_cache

# SOTA
python scripts/sota.py --n_jobs 25 --random_seed 42 --inspire_split 0 --inspire_only --experiment_name paper_experiments_sota/inspire_split_0/
Copy link
Collaborator Author

@sergeyf sergeyf Sep 7, 2021

Choose a reason for hiding this comment

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

The SOTA scripts don't have a cache flag. It was hardcoded to True.

@sergeyf sergeyf merged commit 6e43eee into main Sep 10, 2021
@sergeyf sergeyf deleted the use_cache_explicit branch February 24, 2022 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants