Spaces:
Build error
Build error
File size: 2,018 Bytes
e9947be 2583c7f 11c38f2 2583c7f e9947be b83b354 e9947be b83b354 e9947be 8f6faf9 11c38f2 8f6faf9 e9947be b83b354 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
#!/bin/sh
BASEDIR=$(dirname "$0")
cd $BASEDIR/..
echo Current Directory:
pwd
nvidia-smi
uname -a
cat /etc/os-release
lscpu
grep MemTotal /proc/meminfo
# pip install torch torchvision torchaudio
# pip install -r requirements.txt
# export START_NUM_SHOTS=50
export RESULTS_PATH=results/mac-results_few_shots.csv
# ./scripts/eval-model.sh internlm/internlm2_5-7b-chat
# ./scripts/eval-model.sh Qwen/Qwen2-7B-Instruct
# ./scripts/eval-model.sh shenzhi-wang/Mistral-7B-v0.3-Chinese-Chat
# ./scripts/eval-model.sh shenzhi-wang/Llama3.1-8B-Chinese-Chat
# ./scripts/eval-model.sh microsoft/Phi-3.5-mini-instruct
export RESULTS_PATH=results/mac-results_fine_tuned.csv
# ./scripts/eval-epochs.sh internlm internlm2_5-7b-chat
# ./scripts/eval-epochs.sh Qwen Qwen2-7B-Instruct
# ./scripts/eval-epochs.sh shenzhi-wang Mistral-7B-v0.3-Chinese-Chat
# ./scripts/eval-epochs.sh shenzhi-wang Llama3.1-8B-Chinese-Chat
# ./scripts/eval-epochs.sh microsoft Phi-3.5-mini-instruct
export MAX_NEW_TOKENS=2048
export START_REPETITION_PENALTY=1.0
export END_REPETITION_PENALTY=1.1
export USING_CHAT_TEMPLATE=false
export RESULTS_PATH=results/mac-results_rpp_with_mnt_2048_generic_prompt.csv
# export USING_CHAT_TEMPLATE=true
# export RESULTS_PATH=results/mac-results_rpp_with_mnt_2048.csv
#./scripts/eval-rpp.sh internlm internlm2_5-7b-chat checkpoint-140
#./scripts/eval-rpp.sh Qwen Qwen2-7B-Instruct checkpoint-105
export BATCH_SIZE=1
export LOAD_IN_4BIT=true
# export START_REPETITION_PENALTY=1.02
# ./scripts/eval-rpp.sh Qwen Qwen2-72B-Instruct checkpoint-560
export START_REPETITION_PENALTY=1.1
./scripts/eval-rpp.sh shenzhi-wang Llama3.1-70B-Chinese-Chat checkpoint-210
# export BATCH_SIZE=4
# export LOAD_IN_4BIT=false
# ./scripts/eval-rpp.sh shenzhi-wang Mistral-7B-v0.3-Chinese-Chat checkpoint-70
export LOAD_IN_4BIT=false
export START_REPETITION_PENALTY=1.06
./scripts/eval-rpp.sh shenzhi-wang Llama3.1-8B-Chinese-Chat checkpoint-105
# ./scripts/eval-rpp.sh microsoft Phi-3.5-mini-instruct checkpoint-210
|