模型介绍
中文整理MS-LongWriter-Qwen2.5-7B-Instruct-GGUF
🤖 [LongWriter Dataset] • 💻 [Github Repo] • 📃 [LongWriter Paper]
GGUF版本。模型使用llama.cpp转换,包括FP16,Q8 0,Q5 K M, Q6 K M, Q4 K M等多个精度。
您可以通过ModelScope命令行来下载指定精度的GGUF文件到本地文件夹
例如下载Q5 K M可通过如下命令:
您也可以下载整个repo, 参见模型下载页面。
以下为原版模型MS-LongWriter-Qwen2.5-7B-Instruct 的说明。
MS-LongWriter-Qwen2.5-7B-Instruct is trained based on https://modelscope.cn/models/qwen/Qwen2.5-7B-Instruct, and is capable of generating 10,000+ words at once.
MS-LongWriter-Qwen2.5-7B-Instruct begins training directly from the Qwen2.5-7B-Instruct, while performing significant distillation on the LongWriter-6k to obtain 666 high-quality samples, which is LongWriter-6k-filtered
Datasets
- LongWriter-6k-filtered, based on the LongWriter-6k
- Magpie-Qwen2-Pro-200K-Chinese , random sampling 6k examples.
- Magpie-Qwen2-Pro-200K-English , random sampling 6k examples.
Model
We use ms-swift to fine-tune the Qwen2-7B-Instruct model.
- Installation
- Fine-tuning
Envs:
Run:
- Fine-tuning with annealing
The annealing strategy is used to improve the performance of the model during the post-training process.
We leverage the LongWriter-6k-filtered dataset to fine-tune the model with annealing, and set the learning rate to 2e-6.
Run:
Note:
- The --resume from checkpoint parameter is used to specify the path of the previous checkpoint. (see the step2)
Evaluation
Refer to LongWriter Evaluation from the EvalScope.
Reference
量子位文章:666条数据教会AI写万字长文!模型数据集都开源
优先采用原作者提供的中文模型卡片;仅有英文说明时由闲社AI翻译整理。重要参数、许可证和商用范围请以原文为准。
你将获得什么
完整仓库方式包含该固定版本中的权重、配置、分词器及说明文件;指定版本方式只下载所选文件或整组分片。多模态模型的投影文件、配置等依赖,请按作者说明配齐。
完整仓库可能包含多个权重格式,因此需要的磁盘空间可能大于单一格式的模型大小。下载文件不等于完成模型部署。
使用前须知
运行模型需要的设备、工具与依赖,以原作者说明为准。
是否允许商用、修改和分发,请查看模型许可证。
闲社提供资料与镜像下载方法,不代表已运行模型或完成安全审计。下载的代码应先检查,再执行。
资料或下载有问题?
登录后可提交反馈。
