gchhablani
commited on
Commit
•
5607e37
1
Parent(s):
2933c78
Update README.md
Browse files
README.md
CHANGED
@@ -54,6 +54,28 @@ More information needed
|
|
54 |
|
55 |
## Training procedure
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
### Training hyperparameters
|
58 |
|
59 |
The following hyperparameters were used during training:
|
|
|
54 |
|
55 |
## Training procedure
|
56 |
|
57 |
+
This model is trained using the [run_glue](https://github.com/huggingface/transformers/blob/master/examples/pytorch/text-classification/run_glue.py) script. The following command was used:
|
58 |
+
|
59 |
+
```bash
|
60 |
+
#!/usr/bin/bash
|
61 |
+
|
62 |
+
python ../run_glue.py \
|
63 |
+
--model_name_or_path bert-base-cased \
|
64 |
+
--task_name mrpc \
|
65 |
+
--do_train \
|
66 |
+
--do_eval \
|
67 |
+
--max_seq_length 512 \
|
68 |
+
--per_device_train_batch_size 16 \
|
69 |
+
--learning_rate 2e-5 \
|
70 |
+
--num_train_epochs 5 \
|
71 |
+
--output_dir bert-base-cased-finetuned-mrpc \
|
72 |
+
--push_to_hub \
|
73 |
+
--hub_strategy all_checkpoints \
|
74 |
+
--logging_strategy epoch \
|
75 |
+
--save_strategy epoch \
|
76 |
+
--evaluation_strategy epoch \
|
77 |
+
```
|
78 |
+
|
79 |
### Training hyperparameters
|
80 |
|
81 |
The following hyperparameters were used during training:
|