初始化项目,由ModelHub XC社区提供模型
Model: Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8 Source: Original Platform
This commit is contained in:
51
README.md
Normal file
51
README.md
Normal file
@@ -0,0 +1,51 @@
|
||||
---
|
||||
base_model: Qwen/Qwen2.5-0.5B-Instruct
|
||||
language:
|
||||
- en
|
||||
library_name: transformers
|
||||
license: apache-2.0
|
||||
license_link: https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct-GPTQ-Int8/blob/main/LICENSE
|
||||
pipeline_tag: text-generation
|
||||
tags:
|
||||
- chat
|
||||
---
|
||||
# Qwen2.5-0.5B-Instruct-GPTQ-Int8
|
||||
|
||||
## Introduction
|
||||
|
||||
Qwen2.5 is the latest series of Qwen large language models. For Qwen2.5, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters. Qwen2.5 brings the following improvements upon Qwen2:
|
||||
|
||||
- Significantly **more knowledge** and has greatly improved capabilities in **coding** and **mathematics**, thanks to our specialized expert models in these domains.
|
||||
- Significant improvements in **instruction following**, **generating long texts** (over 8K tokens), **understanding structured data** (e.g, tables), and **generating structured outputs** especially JSON. **More resilient to the diversity of system prompts**, enhancing role-play implementation and condition-setting for chatbots.
|
||||
- **Long-context Support** up to 128K tokens and can generate up to 8K tokens.
|
||||
- **Multilingual support** for over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.
|
||||
|
||||
**This repo contains the GPTQ-quantized 8-bit instruction-tuned 0.5B Qwen2.5 model**, which has the following features:
|
||||
- Type: Causal Language Models
|
||||
- Training Stage: Pretraining & Post-training
|
||||
- Architecture: transformers with RoPE, SwiGLU, RMSNorm, Attention QKV bias and tied word embeddings
|
||||
- Number of Parameters: 0.49B
|
||||
- Number of Paramaters (Non-Embedding): 0.36B
|
||||
- Number of Layers: 24
|
||||
- Number of Attention Heads (GQA): 14 for Q and 2 for KV
|
||||
- Context Length: Full 32,768 tokens and generation 8192 tokens
|
||||
- Quantization: GPTQ 8-bit
|
||||
|
||||
For more details, please refer to our [blog](https://qwenlm.github.io/blog/qwen2.5/), [GitHub](https://github.com/QwenLM/Qwen2.5), and [Documentation](https://qwen.readthedocs.io/en/latest/).
|
||||
|
||||
## Requirements
|
||||
|
||||
The code of Qwen2.5 has been in the latest Hugging face `transformers` and we advise you to use the latest version of `transformers`.
|
||||
|
||||
With `transformers<4.37.0`, you will encounter the following error:
|
||||
```
|
||||
KeyError: 'qwen2'
|
||||
```
|
||||
|
||||
This model depends on `gptqmodel`. Please pin the version to `7.3.1` (newer versions are currently incompatible):
|
||||
```
|
||||
pip install gptqmodel==7.3.1
|
||||
```
|
||||
|
||||
Also check out our [GPTQ documentation](https://qwen.readthedocs.io/en/latest/quantization/gptq.html) for more usage guide.
|
||||
|
||||
Reference in New Issue
Block a user