The code for TMU-HIT system submitted to MLSP Shared Task at BEA 2024
- Python version: 3.8.5
pip install -r requirements.txt
Please set OpenAI API Key here.
cd experiments/lcp
bash run.sh [target language (e.x. english, japanese, etc.)] [path to tsv file] [split of the tsv file (i.e. test or trial)] [number of shots (e.x. 0, 3, etc.)]
The predictions will be saved under predictions/lcp/[target language].
Please set OpenAI API Key here.
cd experiments/ls
bash ls_generate.sh
For Japanese, Please set OpenAI API Key here.
cd experiments/ls
bash ls_generate_ja.sh
Please set OpenAI API Key here.
cd experiments/ls
bash ls_rank_gpt4.sh