29 lines
1.6 KiB
Markdown
29 lines
1.6 KiB
Markdown
|
|
|
|||
|
|
# Model Card for Model ID
|
|||
|
|
|
|||
|
|
输入现代汉语句子,生成古汉语风格的句子。试用:https://modelscope.cn/studios/chostem/ancient_Chinese_text_generator
|
|||
|
|
|
|||
|
|
|
|||
|
|
## Model Details
|
|||
|
|
|
|||
|
|
### Model Description
|
|||
|
|
|
|||
|
|
基于[荀子基座大模型](https://github.com/Xunzi-LLM-of-Chinese-classics/XunziALLM),采用“[文言文(古文)- 现代文平行语料](https://github.com/NiuTrans/Classical-Modern)”中的部分数据进行LoRA微调训练,可以将现代汉语转化为古汉语,显得更有文采。
|
|||
|
|
|
|||
|
|
微调代码和过程参见本模型的[GitHub界面](https://github.com/JianXiao2021/ancient_text_generation_LLM)
|
|||
|
|
|
|||
|
|
### Model Sources
|
|||
|
|
|
|||
|
|
本模型已发布到 [Hugging Face](https://huggingface.co/cofeg/Finetuned-Xunzi-Qwen2-1.5B-for-ancient-text-generation/) 和 [ModelScope](https://modelscope.cn/models/chostem/finetuned_Xunzi_Qwen2_1d5B_for_ancient_text_generation/) 上
|
|||
|
|
|
|||
|
|
## Uses
|
|||
|
|
|
|||
|
|
可以直接访问我的 [ModelScope 空间](https://modelscope.cn/studios/chostem/ancient_Chinese_text_generator) 或 [Hugging Face 空间](https://huggingface.co/spaces/cofeg/ancient_Chinese_text_generator_1.5B)试用。生成时间可能长达一两分钟,请耐心等待。
|
|||
|
|
|
|||
|
|
如果想要本地运行或进一步微调,参考本模型的[GitHub界面](https://github.com/JianXiao2021/ancient_text_generation_LLM)
|
|||
|
|
|
|||
|
|
### Direct Use
|
|||
|
|
|
|||
|
|
本模型基于基座模型微调,并不具备聊天功能,仅用于文本生成。
|
|||
|
|
本模型的微调输入数据具有如下格式:“现代文:……。 古文:”,且现代文仅包含一个句子。本地直接生成时需保证输入为此格式。
|