Downloads · 30 days
1.3K
3% of all-time downloads
dranger003/dbrx-instruct-iMat.GGUF
dbrx-instruct-iMat.GGUF is a text generation model from dranger003. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as other.
Quants from @phymbert (author of the support for this model in llama.cpp) are posted here The quants here are meant to test imatrix quantized weights. <iIf you run metal, you may need this PR</i
Downloads · 30 days
1.3K
3% of all-time downloads
All-time downloads
49.7K
Public
Repo size
1 TB
Likes
19
Public
Click a slice to open those files.
.gguf765 GB · 100%
From the Hugging Face model README
Quants from @phymbert (author of the support for this model in llama.cpp) are posted here
The quants here are meant to test imatrix quantized weights.
<i>If you run metal, you may need this PR</i>
Added ggml-dbrx-instruct-16x12b-f16_imatrix-wiki.dat which is a 2K batches (1M tokens) on FP16 weights using wiki.train.
| Quant | IMatrix Quant/Dataset/Chunks | Size (GiB) | PPL (wiki.test) |
|---|---|---|---|
| IQ4_XS | Q8_0/wiki.train/200 | 65.29 | 5.2260 +/- 0.03558 |
| IQ4_XS | FP16/wiki.train/2000 | 65.29 | 5.2241 +/- 0.03559 |
| IQ4_XS | - | 66.05 | 5.2546 +/- 0.03570 |
2024-04-13: Support for this model has just being merged - PR #6515.
<u>You will need this llama.cpp commit 4bd0f93e to run this model</u>
Quants in this repo are tested running the following command (quants under IQ3 are very sensitive and unreliable so far - the imatrix may require to be trained on FP16 weights rather than Q8_0 and for longer than 200 chunks):
./build/bin/main -ngl 41 -c 4096 -s 0 -e -p "<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n<|im_start|>user\nWrite an essay about AI.<|im_end|>\n<|im_start|>assistant\n" -m ggml-dbrx-instruct-16x12b-<<quant-to-test>>.gguf
gguf-split --merge <first-chunk> <output-file> although this is not required since f482bb2e..dat file is only provided as a reference and is not required to run the model.DBRX is a transformer-based decoder-only large language model (LLM) that was trained using next-token prediction. It uses a fine-grained mixture-of-experts (MoE) architecture with 132B total parameters of which 36B parameters are active on any input. It was pre-trained on 12T tokens of text and code data. Compared to other open MoE models like Mixtral-8x7B and Grok-1, DBRX is fine-grained, meaning it uses a larger number of smaller experts. DBRX has 16 experts and chooses 4, while Mixtral-8x7B and Grok-1 have 8 experts and choose 2. This provides 65x more possible combinations of experts and we found that this improves model quality. DBRX uses rotary position encodings (RoPE), gated linear units (GLU), and grouped query attention (GQA). It uses the GPT-4 tokenizer as provided in the tiktoken repository. We made these choices based on exhaustive evaluation and scaling experiments.
| Layers | Context | Template |
|---|---|---|
| <pre>40</pre> | <pre>32768</pre> | <pre><|im_start|>system<br>{system}<|im_end|><br><|im_start|>user<br>{prompt}<|im_end|><br><|im_start|>assistant<br> </pre> |