-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Fine-tuning Bigcode-Encoder on an NER task for PII detection | ||
|
||
To run the training on all the dataset `bigcode/pii-full-ds`, use the following command: | ||
```bash | ||
python -m torch.distributed.launch \ | ||
--nproc_per_node number_of_gpus train.py \ | ||
--dataset_name bigcode/pii-full-ds \ | ||
--debug \ | ||
--learning_rate 2e-5 \ | ||
--train_batch_size 8 \ | ||
--bf16 \ | ||
--add_not_curated | ||
``` | ||
Note that we use a global batch size of 64 (8*8 GPUs). To use only curated dataset remove the flag `--add_not_curated`. |