Update README.md
Browse files
README.md
CHANGED
@@ -36,17 +36,17 @@ dataset = load_dataset("qbao775/PARARULE-Plus-Depth-5")
|
|
36 |
You can follow the `text-classification` [example code](https://github.com/huggingface/transformers/tree/main/examples/pytorch/text-classification#text-classification-examples) from huggingface.
|
37 |
|
38 |
Here is a script to run the code. You can change the model name if you want.
|
|
|
39 |
```
|
40 |
python run_glue_no_trainer.py \
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
--output_dir /tmp/PARARULE-Plus-Depth-5/
|
50 |
```
|
51 |
|
52 |
## Citation
|
|
|
36 |
You can follow the `text-classification` [example code](https://github.com/huggingface/transformers/tree/main/examples/pytorch/text-classification#text-classification-examples) from huggingface.
|
37 |
|
38 |
Here is a script to run the code. You can change the model name if you want.
|
39 |
+
|
40 |
```
|
41 |
python run_glue_no_trainer.py \
|
42 |
+
--seed 42 \
|
43 |
+
--model_name_or_path bert-base-cased \
|
44 |
+
--task_name qbao775/PARARULE-Plus-Depth-5 \
|
45 |
+
--max_length 256 \
|
46 |
+
--per_device_train_batch_size 32 \
|
47 |
+
--learning_rate 2e-5 \
|
48 |
+
--num_train_epochs 10 \
|
49 |
+
--output_dir /tmp/PARARULE-Plus-Depth-5/
|
|
|
50 |
```
|
51 |
|
52 |
## Citation
|