BA

bagel-2.8b-v0.2

BagelGGUF by dranger003Updated 2024-03-09
Download on Hugging Face
Parameters2.77B
Context1024K
Layers64
Architecturemamba
Smallest quant2.0 GB
Quick answer

bagel-2.8b-v0.2 needs about 3.5 GB of memory at Q6_K (a 2.7 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 5 quants, from 2.0 GB (Q4_K) to 5.8 GB (F16).

bagel-2.8b-v0.2 is a 2.77B-parameter Bagel model in GGUF format, quantized by dranger003. Its trained context length is 1024K tokens. The repository has 5 quant files, from 2.0 GB (Q4_K) to 5.8 GB (F16).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K2.0 GB 2.8 GB
Fits Get file →
Q5_K2.3 GB 3.1 GB
Fits Get file →
Q6_K2.7 GB 3.5 GB
Fits Get file →
Q8_03.3 GB 4.2 GB
Fits Get file →
F165.8 GB 7.0 GB
Fits Get file →

What GPU do you need for bagel-2.8b-v0.2?

These figures add the file size, an fp16 KV cache at an 8K context window and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: the best quant that fits is Q6_K (2.7 GB file, about 3.5 GB in use).
  • 6 GB VRAM: the best quant that fits is Q8_0 (3.3 GB file, about 4.2 GB in use).
  • 8 GB VRAM: the best quant that fits is F16 (5.8 GB file, about 7.0 GB in use).

Which bagel-2.8b-v0.2 quant should you choose?

Q6_K (2.7 GB) is the middle option in this repository. Very close to the original quality for most uses, at a clearly larger size than 4-bit.

If memory is tight, the smallest file is Q4_K at 2.0 GB, with the quality trade-offs that come with fewer bits. The usual sweet spot between file size and quality, and the quant most people start with.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturemamba
Parameters2.77B
Layers64
Trained context1,048,576 tokens

Source

Quantized bydranger003
FamilyBagel
Licenseapache-2.0
Downloads (HF)113
Last updated2024-03-09

Frequently asked questions about bagel-2.8b-v0.2

How much VRAM does bagel-2.8b-v0.2 need?

About 3.5 GB at Q6_K with an 8K context window. That is the 2.7 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run bagel-2.8b-v0.2 on an 8 GB GPU?

Yes, with F16: the 5.8 GB file needs about 7.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of bagel-2.8b-v0.2 GGUF?

It depends on the quant: Q4_K is 2.0 GB, Q5_K is 2.3 GB, Q6_K is 2.7 GB, Q8_0 is 3.3 GB, F16 is 5.8 GB.

What context length does bagel-2.8b-v0.2 support?

The GGUF header lists a trained context length of 1,048,576 tokens (1024K).

Where can I download bagel-2.8b-v0.2 GGUF?

The files are on Hugging Face in the dranger003/mamba-bagel-2.8b-v0.2-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does bagel-2.8b-v0.2 use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Other GGUFs of bagel-2.8b-v0.2

Similar models

Browse all →

More from dranger003

All by dranger003 →

More Bagel models

All Bagel →

Other tiny models

All tiny models →