通义千问2-7B-Instruct-GPTQ-Int3-量化修复

我要开发同款
匿名用户2024年07月31日
34阅读
所属分类ai、qwen2、Pytorch、vLLM、量化修复、int3、gptq、qwen2
开源地址https://modelscope.cn/models/tclf90/Qwen2-7B-Instruct-GPTQ-Int3
授权协议qwen

作品详情

通义千问2-7B-Instruct-GPTQ-Int3-量化修复

原模型 qwen/Qwen2-7B-Instruct

【模型更新日期】

2024-06-08

【模型大小】

4.5GB

【修复内容】

  1. 对GPTQ Int3量化的校准做了额外优化;减少int3模型的 1.乱吐字2.无限循环3.长文能力丢失等情况。

【更新日志】

2024-06-08
首次commit

【介绍】

Qwen2 is the new series of Qwen large language models. For Qwen2, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters, including a Mixture-of-Experts model. This repo contains the instruction-tuned 7B Qwen2 model.

Compared with the state-of-the-art opensource language models, including the previous released Qwen1.5, Qwen2 has generally surpassed most opensource models and demonstrated competitiveness against proprietary models across a series of benchmarks targeting for language understanding, language generation, multilingual capability, coding, mathematics, reasoning, etc.

更多详情…

【同期量化修复模型】

待工作完成后补充…

【模型下载】

from modelscope import snapshot_download
model_dir = snapshot_download('tclf90/模型名', cache_dir="本地路径")

vLLM推理(目前仅限Linux)】

1. Python 简易调试

待工作完成后补充…

2. 类ChatGPT RESTFul API Server

>>> python -m vllm.entrypoints.openai.api_server --model 本地路径/tclf90/模型名称
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论