trevorkwan
commited on
Commit
路
5e58cda
1
Parent(s):
2868ec9
Update README.md
Browse files
README.md
CHANGED
@@ -31,6 +31,27 @@ More information needed
|
|
31 |
|
32 |
## Training procedure
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
### Training hyperparameters
|
35 |
|
36 |
The following hyperparameters were used during training:
|
|
|
31 |
|
32 |
## Training procedure
|
33 |
|
34 |
+
```python
|
35 |
+
@echo off
|
36 |
+
|
37 |
+
set BASE_MODEL=bionlp/bluebert_pubmed_mimic_uncased_L-12_H-768_A-12
|
38 |
+
set OUTPUT_DIR=U:\Documents\Breast_Non_Synoptic\results\pretrained\bluebert_pubmed_mimic_uncased_squadv2\
|
39 |
+
|
40 |
+
python run_qa.py ^
|
41 |
+
--model_name_or_path %BASE_MODEL% ^
|
42 |
+
--dataset_name squad_v2 ^
|
43 |
+
--do_train ^
|
44 |
+
--do_eval ^
|
45 |
+
--version_2_with_negative ^
|
46 |
+
--per_device_train_batch_size 16 ^
|
47 |
+
--learning_rate 2e-5 ^
|
48 |
+
--num_train_epochs 3 ^
|
49 |
+
--max_seq_length 480 ^
|
50 |
+
--doc_stride 64 ^
|
51 |
+
--weight_decay 0.01 ^
|
52 |
+
--output_dir %OUTPUT_DIR%
|
53 |
+
```
|
54 |
+
|
55 |
### Training hyperparameters
|
56 |
|
57 |
The following hyperparameters were used during training:
|