qbao775 commited on
Commit
5b772a3
1 Parent(s): 43f67e8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -9
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
- --model_name_or_path bert-base-cased \
42
- --task_name qbao775/PARARULE-Plus-Depth-5 \
43
- --do_train \
44
- --do_eval \
45
- --max_seq_length 128 \
46
- --per_device_train_batch_size 32 \
47
- --learning_rate 2e-5 \
48
- --num_train_epochs 3 \
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