Model details
模型介绍 中文整理 Qwen2.5-14B-Instruct-1M
模型简介
Qwen2.5-1M是Qwen2.5系列模型的长上下文版本,支持最高100万tokens的上下文长度。与Qwen2.5 128K版本相比,该模型在处理长上下文任务时性能显著提升,同时保持了在短任务上的能力。
主要能力
该模型为因果语言模型,采用预训练和后训练两阶段训练。模型基于transformers架构,集成RoPE位置编码、SwiGLU激活函数、RMSNorm归一化以及Attention QKV偏置技术。在长上下文任务中具有出色的处理能力,同时兼顾短文本处理性能。
参数规格
模型总参数规模为147亿,非嵌入参数约131亿。模型包含48层网络,采用分组查询注意力机制,Query头数为40,Key-Value头数为8。上下文支持方面,输入端最高可达101万tokens,输出端最高支持8192 tokens。
运行要求 建议使用最新版本的Hugging Face transformers库进行部署。为获得最佳长上下文任务性能,推荐使用官方自定义版vLLM进行部署,该版本引入了稀疏注意力和长度外推技术,可确保长上下文任务的效率和准确性。若使用其他支持Qwen2.5的推理框架,当序列长度超过262144 tokens时可能出现准确率下降。
基本用法 通过Hugging Face transformers库加载模型即可使用。对于长上下文场景,建议优先采用官方自定义vLLM部署方案以获得更优的性能表现。
使用限制
使用非自定义vLLM框架时,当输入序列长度超过262144 tokens,模型生成准确率可能下降。
License 请参阅模型发布页面获取完整的许可证信息。
优先采用原作者提供的中文模型卡片;仅有英文说明时由闲社AI翻译整理。重要参数、许可证和商用范围请以原文为准。
你将获得什么 完整仓库方式包含该固定版本中的权重、配置、分词器及说明文件;指定版本方式只下载所选文件或整组分片。多模态模型的投影文件、配置等依赖,请按作者说明配齐。
完整仓库可能包含多个权重格式,因此需要的磁盘空间可能大于单一格式的模型大小。下载文件不等于完成模型部署。
使用前须知 运行环境 运行模型需要的设备、工具与依赖,以原作者说明为准。
授权范围 是否允许商用、修改和分发,请查看模型许可证。
闲社提供资料与镜像下载方法,不代表已运行模型或完成安全审计。下载的代码应先检查,再执行。
Problem with the information or download? Sign in to submit feedback.
Pinned version · Multiple download options
Qwen2.5-14B-Instruct-1M model download Download the full repository or choose a version or file.
Choose a download source ModelScope · China direct
Pinned ModelScope version: 0ab0723633f8c4ad3618a596c06dd15ae2900ab7. Version identifiers can differ across sites. The alternative source was provided after checking weights and runtime configuration; this is not proof of a successful model run.
A checked, pinned ModelScope source is available for this model. Use the ModelScope download tool.
Choose what to download
Full repository · All files Selected version / file
Need just one GGUF precision? Load the file manifest and choose a version. Direct file links do not require Python; the command below can download multiple shards together.
Load available versions and files
Quantization / file Load the manifest to choose
This reads the pinned version's file manifest; no model weights are downloaded.
Choose your operating system Windows · PowerShell Linux / macOS · Terminal
For command-line downloads, follow these steps to get the full repository or selected files. Direct file links do not need these steps.
1 Open a terminal window Create and open a folder for the model. In the folder's address bar, enter powershell and press Enter.
If Python is not installed, get it from the official Python website . In the terminal, enter python --version; continue when a version number appears.
2 First time? Install the download tool Copy this command, paste it into the terminal, press Enter and wait for installation to finish.
python -m pip install --upgrade huggingface_hubCopy install command Already installed? Continue to step 3.
3 Run the download command Select the button below, paste into the same terminal and press Enter. The tool downloads all files included in the current command.
Copy full download command
Copying does not start a download. Paste and run the command on your device.
Where are the downloaded files? Open the folder you chose. Look for the models folder. When progress stops and the terminal returns to its prompt without errors, check that all files are present. 'Copied' does not mean 'downloaded'.
No response or an error? python not found: Install Python and reopen the terminal. On Windows, follow the installer's instructions to enable command-line access.
hf not found: Confirm that step 2 succeeded, then reopen the terminal. If needed, add Python's Scripts folder to your user PATH. Do not repeatedly download scripts.
Network interrupted: Stay in the same folder and run the same command again. The tool checks existing files.
Permission or disk error: Choose a writable folder with enough free space. Do not disable system security protection.
View the full download command
请开启浏览器脚本,或使用默认 Windows 教程并展开命令手动复制执行。