Spaces:
Build error
Build error
Update eval-mgtv-llama3_8b.sh
Browse files
scripts/eval-mgtv-llama3_8b.sh
CHANGED
|
@@ -19,17 +19,18 @@ grep MemTotal /proc/meminfo
|
|
| 19 |
export LOGICAL_REASONING_DATA_PATH=datasets/mgtv
|
| 20 |
export RESIZE_TOKEN_EMBEDDINGS=true
|
| 21 |
export START_EPOCH=0
|
|
|
|
| 22 |
|
| 23 |
export MODEL_NAME=shenzhi-wang/Llama3-8B-Chinese-Chat
|
| 24 |
export MODEL_PREFIX=llama3-8b_lora_sft_bf16
|
| 25 |
|
| 26 |
-
export LOGICAL_REASONING_RESULTS_PATH=results/$MODEL_PREFIX-
|
| 27 |
export ADAPTER_PATH_BASE=llama-factory/saves/llama3-8b/lora/sft_bf16_p1_full_r2
|
| 28 |
export USING_P1_PROMPT_TEMPLATE=true
|
| 29 |
echo "Eval $MODEL_NAME with $ADAPTER_PATH_BASE"
|
| 30 |
python llm_toolkit/eval_logical_reasoning_all_epochs.py
|
| 31 |
|
| 32 |
-
export LOGICAL_REASONING_RESULTS_PATH=results/$MODEL_PREFIX-
|
| 33 |
export ADAPTER_PATH_BASE=llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2
|
| 34 |
export USING_P1_PROMPT_TEMPLATE=false
|
| 35 |
echo "Eval $MODEL_NAME with $ADAPTER_PATH_BASE"
|
|
|
|
| 19 |
export LOGICAL_REASONING_DATA_PATH=datasets/mgtv
|
| 20 |
export RESIZE_TOKEN_EMBEDDINGS=true
|
| 21 |
export START_EPOCH=0
|
| 22 |
+
export USING_LLAMA_FACTORY=true
|
| 23 |
|
| 24 |
export MODEL_NAME=shenzhi-wang/Llama3-8B-Chinese-Chat
|
| 25 |
export MODEL_PREFIX=llama3-8b_lora_sft_bf16
|
| 26 |
|
| 27 |
+
export LOGICAL_REASONING_RESULTS_PATH=results/$MODEL_PREFIX-p1_r2.csv
|
| 28 |
export ADAPTER_PATH_BASE=llama-factory/saves/llama3-8b/lora/sft_bf16_p1_full_r2
|
| 29 |
export USING_P1_PROMPT_TEMPLATE=true
|
| 30 |
echo "Eval $MODEL_NAME with $ADAPTER_PATH_BASE"
|
| 31 |
python llm_toolkit/eval_logical_reasoning_all_epochs.py
|
| 32 |
|
| 33 |
+
export LOGICAL_REASONING_RESULTS_PATH=results/$MODEL_PREFIX-p2_r2.csv
|
| 34 |
export ADAPTER_PATH_BASE=llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2
|
| 35 |
export USING_P1_PROMPT_TEMPLATE=false
|
| 36 |
echo "Eval $MODEL_NAME with $ADAPTER_PATH_BASE"
|