TUDB-Labs / mLoRA

An Efficient "Factory" to Build Multiple LoRA Adapters
Apache License 2.0
277 stars 53 forks source link

Add bleu, rouge evaluation indicators. #26

Open LianxinGao opened 1 year ago

LianxinGao commented 1 year ago

we need model evaluation method.

mikecovlee commented 1 year ago

I have wrote a BERT based auto evaluator mainly focus on fast evaluation to checkpoints of LLM for early stop when fine-tunning.

LianxinGao commented 1 year ago

I have wrote a BERT based auto evaluator mainly focus on fast evaluation to checkpoints of LLM for early stop when fine-tunning.

OK,maybe the way below is a necessary method to offer

python mlora.py \
  --eval \
  --base_model {model_path}  \ 
  --checkpoint {fine-tuned checkpoint path} \
  --dataset_path {dataset to eval}