chinese_text_correction
Collection
6 items
•
Updated
使用 THUDM/chatglm3-6b-base 基座模型在 93 万句子对数据集上训练得到的文本纠错模型。
02/14/2024
data/train.jsonl
qlora
vllm==0.6.4
gradio==3.50.0
fast_match
fastlcs
安装 fast_match:
pip install git+https://github.com/zejunwang1/fastMatch
安装 fastlcs:
git clone https://github.com/zejunwang1/fastlcs
cd fastlcs/
git checkout deploy
pip install .
启动 demo:
cd chatglm3-6b-93w/inference/
export CUDA_VISIBLE_DEVICES=0
python gradio_demo.py
打开 http://[server_ip]:8080/,查看纠错效果:
Base model
zai-org/chatglm3-6b-base