Downloads · 30 days
11
4% of all-time downloads
frankminors123/Chinese-Shepherd
Chinese-Shepherd is a question answering model from frankminors123. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as apache-2.0.
We trained a Chinese version of Shepherd based on Chinese-LLaMA-2-7B, and we used 2 V100 GPUs with 32G for supervised fine-tuning based on LoRA.
Downloads · 30 days
11
4% of all-time downloads
All-time downloads
256
Public
Repo size
27.7 GB
Likes
0
Public
Click a slice to open those files.
.bin13.9 GB · 100%
From the Hugging Face model README
We trained a Chinese version of Shepherd based on Chinese-LLaMA-2-7B, and we used 2 V100 GPUs with 32G for supervised fine-tuning based on LoRA.
We designed the appropriate prompt template, and the dataset we used has been published in this HuggingFace repository: frankminors123/chinese-shepherd-critic-dataset, please go to the data page to view details.
The prompt template used is as follows:
PROMPT_TEMPLATE = (
"请试着评论下面问题的答案.\n"
"### 问题:\n{question}\n### 答案:\n{answer}\n### 评论:\n"
)