Spaces:
Running
Running
Update Astra Project Setup Instructions.md
Browse files
Astra Project Setup Instructions.md
CHANGED
|
@@ -112,5 +112,38 @@ python new_test_saved_finetuned_model.py \
|
|
| 112 |
-b 1000
|
| 113 |
```
|
| 114 |
Replace `<finetune_task>` with the actual fine-tuning task value.
|
|
|
|
| 115 |
|
| 116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
-b 1000
|
| 113 |
```
|
| 114 |
Replace `<finetune_task>` with the actual fine-tuning task value.
|
| 115 |
+
### Arguments
|
| 116 |
|
| 117 |
+
**`-workspace_name`**
|
| 118 |
+
- Description: The folder/workspace name where the project, dataset, and model outputs are organized.
|
| 119 |
+
- Example: `"ratio_proportion_change3_2223/sch_largest_100-coded"`
|
| 120 |
+
|
| 121 |
+
**`-finetune_task`**
|
| 122 |
+
- Description: Specifies which fine-tuning strategy was applied to the model.
|
| 123 |
+
- Options:
|
| 124 |
+
- **ASTRA-FT-HGR** β Fine-tuned with 10% data from schools that have a **High Graduation Rate (HGR)**.
|
| 125 |
+
- **ASTRA-FT-Skills** β Fine-tuned with 10% of initial problems from both **HGR + LGR schools**, with **Prior Skills encoded** using **Bayesian Knowledge Tracing (BKT)**.
|
| 126 |
+
- **ASTRA-FT-Temporal** β Fine-tuned with 10% of initial problems from both **HGR + LGR schools**, with **temporal features** measuring student engagement in MATHia.
|
| 127 |
+
- **ASTRA-FT-Unified** β Fine-tuned with 10% of initial problems from both **HGR + LGR schools**, combining **Prior Skills (BKT) + temporal features**.
|
| 128 |
+
|
| 129 |
+
**`-test_dataset_path`**
|
| 130 |
+
- Description: Path to the test dataset file that you want to use for evaluation.
|
| 131 |
+
- Example: `"../../../../fileHandler/selected_rows.txt"`
|
| 132 |
+
|
| 133 |
+
**`-finetuned_bert_classifier_checkpoint`**
|
| 134 |
+
- Description: The path to the saved fine-tuned BERT model checkpoint (specific `.model.epXX` file).
|
| 135 |
+
- Example:
|
| 136 |
+
`"ratio_proportion_change3_2223/sch_largest_100-coded/output/highGRschool10/bert_fine_tuned.model.ep42"`
|
| 137 |
+
- Note: `ep42` means the checkpoint from **epoch 42** during training.
|
| 138 |
+
|
| 139 |
+
**`-e`**
|
| 140 |
+
- Description: Number of epochs to run during testing (or evaluation).
|
| 141 |
+
- Example: `-e 1` β run evaluation once.
|
| 142 |
+
|
| 143 |
+
**`-b`**
|
| 144 |
+
- Description: Batch size for testing β determines how many test samples are processed together in each forward pass.
|
| 145 |
+
- Example: `-b 1000` β each batch will contain **1000 examples**.
|
| 146 |
+
|
| 147 |
+
---
|
| 148 |
+
|
| 149 |
+
β
Your Astra project should now be fully set up and ready to use!
|