Downloads · 30 days
19
5% of all-time downloads
ecnu-icalk/educhat-sft-002-13b
educhat-sft-002-13b is a text generation model from ecnu-icalk. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as agpl-3.0.
先git clone该repo,然后从下方的百度网盘地址下载权重并放入clone的文件夹中。
Downloads · 30 days
19
5% of all-time downloads
All-time downloads
392
Public
Repo size
10 GB
Likes
4
Public
Click a slice to open those files.
.json35.7 KB · 93%
From the Hugging Face model README
先git clone该repo,然后从下方的百度网盘地址下载权重并放入clone的文件夹中。
链接: https://pan.baidu.com/s/1NBBoXI7SFRwrv5-UT9Ayow?pwd=g89m 提取码: g89m
由于LLaMA对其衍生模型的限制,发布的权重只能包含差异部分,使用前请先按照以下流程转换权重。
首先下载LLaMA原始权重,然后使用权重转换脚本转换权重。
python src/transformers/models/llama/convert_llama_weights_to_hf.py \
--input_dir /path/to/downloaded/llama/weights --model_size 13B --output_dir /output/LLaMA_hf/13B
python ./decrypt.py --base /path/to/LLAMA_hf/13B --target ./educhat-sft-002-13b-decrypt --delta /path/to/educhat-sft-002-13b
转换权重后,使用示例请参考:https://github.com/icalk-nlp/EduChat#%E4%BD%BF%E7%94%A8%E7%A4%BA%E4%BE%8B