Finetuning_base_model notebook for the finetuning Base Model.python brio_tokenize.py --fin ./train.source --fout ./train.source.tokenized
python gen_candidate.py --gpuid 0 --src_dir ./train.source --tgt_dir ./train.out --dataset data
python preprocess.py --src_dir "path for the 18 .source, .target, .out files" --tgt_dir data/diverse --split train --cand_num 6 --dataset data -l
Inside the main.py:
args.model_type for the name of the base model.args.pretrained for the path of the finetuned base model.args.dataset for the name of the datasetfrom model... accordingly to the current base model type.Finetuning_base_model notebook for the finetuning Base Model.python brio_tokenize.py --fin ./train.source --fout ./train.source.tokenized
python gen_candidate.py --gpuid 0 --src_dir ./train.source --tgt_dir ./train.out --dataset data
python preprocess.py --src_dir "path for the 18 .source, .target, .out files" --tgt_dir data/diverse --split train --cand_num 6 --dataset data -l
Inside the main.py:
args.model_type for the name of the base model.args.pretrained for the path of the finetuned base model.args.dataset for the name of the datasetfrom model... accordingly to the current base model type.