-
cd Measuring
-
By modifying the layerIndex parameter in raw_to_largebert.py, you can specify the submodule.
-
python raw_to_largebert.py
-
Obtain embeddings generated by the specified submodule.
-
Modify the l and r parameters in train_sp.py, train_ssp.py, and train_essp.py to compute the sp, ssp, and essp for the submodules from l to r-1.
-
python train_sp.py
-
python train_ssp.py
-
python train_essp.py
-
cd Fine-tuning
-
python fixed_train.py
-
then you can find and open the porb_cola-seed1~40.csv file in the ./Fine-tuning directory to see the experimental results.