---
title: rombos-llm-v2.5-qwen-32b-gptq-int3
canonical_url: "https://www.modelscope.cn/models/tclf90/rombos-llm-v2.5-qwen-32b-gptq-int3"
md_url: "https://www.modelscope.cn/models/tclf90/rombos-llm-v2.5-qwen-32b-gptq-int3.md"
repository: tclf90/rombos-llm-v2.5-qwen-32b-gptq-int3
chinese_name: "Rombos-LLM-V2.5-Qwen-32B-GPTQ-Int3-量化修复"
last_updated: 2024-10-25
license: qwen
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - qwen2
architectures:
  - Qwen2ForCausalLM
parameters: 4.8B
tensor_type:
  - F16
  - I32
library_name:
  - safetensors
  - pytorch
frameworks:
  - Pytorch
inference_backends:
  - "deploy_task text/emb"
  - "lmdeploy 0.9.1"
  - "lmdeploy_turbomind 0.9.1"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 163
stars: 1
tags:
  - qwen2.5
  - gptq
  - int3
  - "量化修复"
  - vLLM
  - sglang
---

# rombos-llm-v2.5-qwen-32b-gptq-int3

> rombos-llm-v2.5-qwen-32b-gptq-int3 - tclf90 在 ModelScope 开源的模型。Rombos-LLM-V2.5-Qwen-32B-GPTQ-Int3-量化修复 HF原始模型 rombodawg/Rombos-LLM-V2.5-Qwen-32b

tclf90/rombos-llm-v2.5-qwen-32b-gptq-int3 是 ModelScope 魔搭社区上的 4.8B 参数text-generation模型，采用 qwen 许可，可用 deploy_task text/emb、lmdeploy 0.9.1、lmdeploy_turbomind 0.9.1 部署。

- **Repository**: tclf90/rombos-llm-v2.5-qwen-32b-gptq-int3
- **License**: qwen
- **Tasks**: text-generation
- **Parameters**: 4.8B
- **Inference backends**: deploy_task text/emb, lmdeploy 0.9.1, lmdeploy_turbomind 0.9.1, sglang 0.5.2, vllm 0.9.2
- **Tags**: qwen2.5, gptq, int3, 量化修复, vLLM, sglang
- **Downloads**: 163
- **Stars**: 1
- **Last updated**: 2024-10-25

Source: https://www.modelscope.cn/models/tclf90/rombos-llm-v2.5-qwen-32b-gptq-int3

---

# Rombos-LLM-V2.5-Qwen-32B-GPTQ-Int3-量化修复
HF原始模型 [rombodawg/Rombos-LLM-V2.5-Qwen-32b](https://huggingface.co/rombodawg/Rombos-LLM-V2.5-Qwen-32b)


### 【模型更新日期】

注：通过`snapshot_download`函数传入`revision=...`来下载指定的`tag`版本

``` 
2024-10-25
1. add group 32 (tag g32)
2. add group 128 (tag g128)
```

### 【模型列表】

| tag   | 文件大小   | 最近更新时间       |
|-------|--------|--------------|
| `g128` | `15GB` | `2024-10-25` |
| `g32` | `16GB` | `2024-10-25` |

```python
from modelscope import snapshot_download
snapshot_download('tclf90/rombos-llm-v2.5-qwen-32b-gptq-int3', cache_dir="本地路径", revision='g128')
snapshot_download('tclf90/rombos-llm-v2.5-qwen-32b-gptq-int3', cache_dir="本地路径", revision='g32')
```

### 【修复内容】

1. 对GPTQ量化的校准做了额外优化；减少模型的 `1.乱吐字`、`2.无限循环`、`3.长文能力丢失`等情况。
2. 有些推理框架的默认`top_k`与`top_p`较大，可以考虑减小对应数值，来获得更合理的模型输出。
3. 根据模型实际情况，可以支持1卡、2卡及4卡的`tensor-parallel-size`启动。


### 【介绍】
Rombos-LLM-V2.5-Qwen-32b is a continues finetuned version of Qwen2.5-32B. I noticed recently that the Qwen team did not learn from my methods of continuous finetuning, the great benefits, and no downsides of it. So I took it upon myself to merge the instruct model with the base model myself using the *Ties* merge method

This version of the model shows higher performance than the original instruct and base models. 

### 【模型下载】
```python
from modelscope import snapshot_download
snapshot_download('tclf90/模型名', cache_dir="本地路径", revision='...tag...')
```

### 【高并发RESTFul API推理】
方式1：[vllm](https://github.com/vllm-project/vllm)

方式2：[sglang](https://github.com/sgl-project/sglang)
