gchhablani
commited on
Commit
•
57c0c48
1
Parent(s):
6fa5593
Update README.md
Browse files
README.md
CHANGED
@@ -48,6 +48,28 @@ More information needed
|
|
48 |
|
49 |
## Training procedure
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
### Training hyperparameters
|
52 |
|
53 |
The following hyperparameters were used during training:
|
|
|
48 |
|
49 |
## Training procedure
|
50 |
|
51 |
+
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:
|
52 |
+
|
53 |
+
```bash
|
54 |
+
#!/usr/bin/bash
|
55 |
+
|
56 |
+
python ../run_glue.py \
|
57 |
+
--model_name_or_path google/fnet-base \
|
58 |
+
--task_name cola \
|
59 |
+
--do_train \
|
60 |
+
--do_eval \
|
61 |
+
--max_seq_length 512 \
|
62 |
+
--per_device_train_batch_size 16 \
|
63 |
+
--learning_rate 2e-5 \
|
64 |
+
--num_train_epochs 3 \
|
65 |
+
--output_dir fnet-base-finetuned-cola \
|
66 |
+
--push_to_hub \
|
67 |
+
--hub_strategy all_checkpoints \
|
68 |
+
--logging_strategy epoch \
|
69 |
+
--save_strategy epoch \
|
70 |
+
--evaluation_strategy epoch \
|
71 |
+
```
|
72 |
+
|
73 |
### Training hyperparameters
|
74 |
|
75 |
The following hyperparameters were used during training:
|