Facico / Chinese-Vicuna

Chinese-Vicuna: A Chinese Instruction-following LLaMA-based Model —— 一个中文低资源的llama+lora方案,结构参考alpaca
https://github.com/Facico/Chinese-Vicuna
Apache License 2.0
4.14k stars 421 forks source link

code refactor for argparse and utils #76

Closed HUGHNew closed 1 year ago

HUGHNew commented 1 year ago

modification:

  1. move argparse to HfArgumentParser for property complement
  2. refactor utils.py and make it a package

PS: output_path is renamed as output_dir in finetune.py
extra modification has been applied on finetune.sh