-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Running the best model on the test (validation) dataset for GLUE
- Added TOKENIZERS_PARALLELISM=false in the envrc file. For more information you can visit huggingface/tokenizers#311 - orchestration/task_adapter.py - Added model checkpointing callbacks to the trainer. Saves the best model depending on the metric being tracked - models/task_adapter.py - Removed logging loss for every step in the test. It is enough to log at the end of test epoch - scripts/train_task/task-adapter.sh passes the options for number of workers to use in the dataloader; the metric to track among others
- Loading branch information
1 parent
948f0e4
commit d6e8e23
Showing
5 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export DATASET_CACHE_DIR=/ssd1/abhinav/domadapter/data/ | ||
export PT_MODELS_CACHE_DIR="/ssd1/abhinav/domadapter/pretrained_models_cache/" | ||
export OUTPUT_DIR="/ssd1/abhinav/domadapter/experiments/" | ||
export PROJECT_ROOT=$PWD | ||
export PROJECT_ROOT=$PWD | ||
export TOKENIZERS_PARALLELISM=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters