117 lines
5.1 KiB
Markdown
117 lines
5.1 KiB
Markdown
|
|
---
|
||
|
|
license: apache-2.0
|
||
|
|
pipeline_tag: text-generation
|
||
|
|
base_model: 01-ai/Yi-1.5-9B-Chat
|
||
|
|
tags:
|
||
|
|
- yi
|
||
|
|
- 01-ai
|
||
|
|
- instruct
|
||
|
|
- finetune
|
||
|
|
- chatml
|
||
|
|
- gguf
|
||
|
|
- imatrix
|
||
|
|
- importance matrix
|
||
|
|
model-index:
|
||
|
|
- name: 01-ai/Yi-1.5-9B-Chat-iMat-GGUF
|
||
|
|
results: []
|
||
|
|
---
|
||
|
|
|
||
|
|
# Quant Infos
|
||
|
|
|
||
|
|
- quants done with an importance matrix for improved quantization loss
|
||
|
|
- ggufs & imatrix generated from bf16 for "optimal" accuracy loss
|
||
|
|
- Wide coverage of different gguf quant types from Q\_8\_0 down to IQ1\_S
|
||
|
|
- Quantized with [llama.cpp](https://github.com/ggerganov/llama.cpp) commit [dc685be46622a8fabfd57cfa804237c8f15679b8](https://github.com/ggerganov/llama.cpp/commit/dc685be46622a8fabfd57cfa804237c8f15679b8) (master as of 2024-05-12)
|
||
|
|
- Imatrix generated with [this](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384) multi-purpose dataset.
|
||
|
|
```
|
||
|
|
./imatrix -c 512 -m $model_name-f16.gguf -f $llama_cpp_path/groups_merged.txt -o $out_path/imat-f16-gmerged.dat
|
||
|
|
```
|
||
|
|
|
||
|
|
# Original Model Card:
|
||
|
|
|
||
|
|
<div align="center">
|
||
|
|
|
||
|
|
<picture>
|
||
|
|
<img src="https://raw.githubusercontent.com/01-ai/Yi/main/assets/img/Yi_logo_icon_light.svg" width="150px">
|
||
|
|
</picture>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<p align="center">
|
||
|
|
<a href="https://github.com/01-ai">🐙 GitHub</a> •
|
||
|
|
<a href="https://discord.gg/hYUwWddeAu">👾 Discord</a> •
|
||
|
|
<a href="https://twitter.com/01ai_yi">🐤 Twitter</a> •
|
||
|
|
<a href="https://github.com/01-ai/Yi-1.5/issues/2">💬 WeChat</a>
|
||
|
|
<br/>
|
||
|
|
<a href="https://arxiv.org/abs/2403.04652">📝 Paper</a> •
|
||
|
|
<a href="https://github.com/01-ai/Yi/tree/main?tab=readme-ov-file#faq">🙌 FAQ</a> •
|
||
|
|
<a href="https://github.com/01-ai/Yi/tree/main?tab=readme-ov-file#learning-hub">📗 Learning Hub</a>
|
||
|
|
</p>
|
||
|
|
|
||
|
|
# Intro
|
||
|
|
|
||
|
|
Yi-1.5 is an upgraded version of Yi. It is continuously pre-trained on Yi with a high-quality corpus of 500B tokens and fine-tuned on 3M diverse fine-tuning samples.
|
||
|
|
|
||
|
|
Compared with Yi, Yi-1.5 delivers stronger performance in coding, math, reasoning, and instruction-following capability, while still maintaining excellent capabilities in language understanding, commonsense reasoning, and reading comprehension.
|
||
|
|
|
||
|
|
<div align="center">
|
||
|
|
|
||
|
|
Model | Context Length | Pre-trained Tokens
|
||
|
|
| :------------: | :------------: | :------------: |
|
||
|
|
| Yi-1.5 | 4K | 3.6T
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
# Models
|
||
|
|
|
||
|
|
- Chat models
|
||
|
|
|
||
|
|
<div align="center">
|
||
|
|
|
||
|
|
| Name | Download |
|
||
|
|
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||
|
|
| Yi-1.5-34B-Chat | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) |
|
||
|
|
| Yi-1.5-9B-Chat | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) |
|
||
|
|
| Yi-1.5-6B-Chat | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) |
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
- Base models
|
||
|
|
|
||
|
|
<div align="center">
|
||
|
|
|
||
|
|
| Name | Download |
|
||
|
|
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||
|
|
| Yi-1.5-34B | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) |
|
||
|
|
| Yi-1.5-9B | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) |
|
||
|
|
| Yi-1.5-6B | • [🤗 Hugging Face](https://huggingface.co/collections/01-ai/yi-15-2024-05-663f3ecab5f815a3eaca7ca8) • [🤖 ModelScope](https://www.modelscope.cn/organization/01ai) |
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
# Benchmarks
|
||
|
|
|
||
|
|
- Chat models
|
||
|
|
|
||
|
|
Yi-1.5-34B-Chat is on par with or excels beyond larger models in most benchmarks.
|
||
|
|
|
||
|
|

|
||
|
|
|
||
|
|
Yi-1.5-9B-Chat is the top performer among similarly sized open-source models.
|
||
|
|
|
||
|
|

|
||
|
|
|
||
|
|
- Base models
|
||
|
|
|
||
|
|
Yi-1.5-34B is on par with or excels beyond larger models in some benchmarks.
|
||
|
|
|
||
|
|

|
||
|
|
|
||
|
|
Yi-1.5-9B is the top performer among similarly sized open-source models.
|
||
|
|
|
||
|
|

|
||
|
|
|
||
|
|
# Quick Start
|
||
|
|
|
||
|
|
For getting up and running with Yi-1.5 models quickly, see [README](https://github.com/01-ai/Yi-1.5).
|
||
|
|
|