CPM.md

November 11, 2022 ยท View on GitHub

CPM

You can fine-tune a CPM model from HuggingFace through model=CPM, model_path=<hf-or-local-path>, dataset=<dataset-name>.

Example usage:

python run_textbox.py \
    --model=CPM \
    --model_path=TsinghuaAI/CPM-Generate \
    --dataset=csl