move file

This commit is contained in:
hiyouga 2023-09-23 11:52:12 +08:00
parent ef1ea1aead
commit badd2735b5
3 changed files with 3 additions and 3 deletions

View File

@ -430,7 +430,7 @@ CUDA_VISIBLE_DEVICES=0 python src/train_bash.py \
### Evaluation (MMLU & C-Eval)
```bash
CUDA_VISIBLE_DEVICES=0 python evaluation/evaluate.py \
CUDA_VISIBLE_DEVICES=0 python src/evaluate.py \
--model_name_or_path path_to_llama_model \
--finetuning_type lora \
--checkpoint_dir path_to_checkpoint \

View File

@ -429,7 +429,7 @@ CUDA_VISIBLE_DEVICES=0 python src/train_bash.py \
### 模型评估MMLU 和 C-Eval
```bash
CUDA_VISIBLE_DEVICES=0 python evaluation/evaluate.py \
CUDA_VISIBLE_DEVICES=0 python src/evaluate.py \
--model_name_or_path path_to_llama_model \
--finetuning_type lora \
--checkpoint_dir path_to_checkpoint \

View File

@ -65,7 +65,7 @@ eval_templates = {
"en": EvalTemplate(
system="The following are multiple choice questions (with answers) about {subject}.\n\n",
choice="\n{choice}. {content}",
answer="\nAnswer: "
answer="\nAnswer:"
),
"zh": EvalTemplate(
system="以下是中国关于{subject}考试的单项选择题,请选出其中的正确答案。\n\n",