Run the following command to create the required conda environment:
conda env create -f environment.yml -n your_new_environment_name
-
Train files:
Run the following command in the
data/
directory:bash download.sh
-
Evaluation files:
Run the following command in the
SentEval/data/downstream/
directory:bash download_dataset.sh
-
For experiments in Section 3.1 Theoretical Analysys, refer to
simulation.py
; -
For experiments in Section 3.2 Empirical Study, refer to scripts in
scripts/empirical
, and to obtain statistcs, refer tostatistics.py
; -
For experiments in Section 4 Modification to Ineffective Losses, refer to scripts in
scripts/application
;
For evaluation, refer to evaluation.py
For implementations of optimization objectives, refer to line 234-434
in isotropy/models.py