Skip to content

Commit d5b5fef

Browse files
authored
Update README.md
1 parent a9cfb0f commit d5b5fef

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,17 @@ Once all requirements and the environment has been set up, you can begin trainin
4444

4545
#### To run on dataset sst2 classical 1 combination (i.e SpiderReader, SpiderAnsatz, PytorchModel,PytorchTrainer+ yes expose val)
4646

47-
```bash
47+
```
48+
4849
python classify.py --dataset sst2 --parser Spider --ansatz SpiderAnsatz --model14type PytorchModel --trainer PytorchTrainer --epochs_train_model1 7 --no_of_training_data_points_to_use 20 --no_of_val_data_points_to_use 10 --expose_model1_val_during_model_initialization --max_tokens_per_sent 10
4950
```
5051

5152

5253

5354
#### To run on dataset sst2 classical 2 combination (i.e BobCatParser, SpiderAnsatz, PytorchModel,PytorchTrainer+ no expose val)
5455

55-
```bash
56+
```
57+
5658
python classify.py --dataset sst2 --parser BobCatParser --ansatz SpiderAnsatz --model14type PytorchModel --trainer PytorchTrainer --epochs_train_model1 7 --no_of_training_data_points_to_use 20 --no_of_val_data_points_to_use 10 --max_tokens_per_sent 10
5759
```
5860

@@ -66,7 +68,8 @@ python classify.py --dataset sst2 --parser BobCatParser --ansatz IQPAnsatz --mod
6668

6769
## if you want to debug the code use:
6870

69-
```bash
71+
```
72+
7073
python classify.py --dataset sst2 --parser Spider --ansatz SpiderAnsatz --model14type PytorchModel --trainer PytorchTrainer --epochs_train_model1 100 --no_of_training_data_points_to_use 23 --no_of_val_data_points_to_use 1000 --expose_model1_val_during_model_initialization --do_debug
7174
```
7275
Note: you will have to explicitly attach debugger. Refer projectplan.md

0 commit comments

Comments
 (0)