dh-mc's picture
ready for LF lora training
6fc6dc9
raw
history blame
325 Bytes
#!/bin/sh
BASEDIR=$(dirname "$0")
cd $BASEDIR/../llama-factory/
echo Current Directory:
pwd
export ORG_NAME=$1
export MODEL_NAME=$2
export CHAT_TEMPLATE=$3
export DATA_PATH=../datasets/mac/mac.tsv
export YAML=config/mac_template.yaml
python ../llm_toolkit/setup_lf.py
llamafactory-cli train config/models/$MODEL_NAME.yaml