bert base NER needs about 0.6 GB of memory at Q4_K (a 0.1 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 6 quants, from 0.0 GB to 0.4 GB (F32).
bert base NER is a 108M-parameter Bert model in GGUF format, quantized by cstr. Its trained context length is 512 tokens. The repository has 6 quant files, from 0.0 GB to 0.4 GB (F32).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| — | 0.0 GB | 0.5 GB | Fits | Get file → | |
| IQ4_XS | 0.1 GB | 0.6 GB | Fits | Get file → | |
| Q4_K | 0.1 GB | 0.6 GB | Fits | Get file → | |
| Q4_K | 0.1 GB | 0.6 GB | Fits | Get file → | |
| Q8_0 | 0.1 GB | 0.6 GB | Fits | Get file → | |
| F32 | 0.4 GB | 0.9 GB | Fits | Get file → |
What GPU do you need for bert base NER?
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 F32 (0.4 GB file, about 1.0 GB in use).
Which bert base NER quant should you choose?
Q4_K (0.1 GB) is the middle option in this repository. The usual sweet spot between file size and quality, and the quant most people start with.
If memory is tight, the smallest file is the first one in the table at 0.0 GB, with the quality trade-offs that come with fewer bits.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about bert base NER
How much VRAM does bert base NER need?
About 0.6 GB at Q4_K with an 8K context window. That is the 0.1 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 bert base NER on an 8 GB GPU?
Yes, with F32: the 0.4 GB file needs about 1.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of bert base NER GGUF?
It depends on the quant: file is 0.0 GB, IQ4_XS is 0.1 GB, Q4_K is 0.1 GB, Q4_K is 0.1 GB, Q8_0 is 0.1 GB, F32 is 0.4 GB.
What context length does bert base NER support?
The GGUF header lists a trained context length of 512 tokens (512).
Where can I download bert base NER GGUF?
The files are on Hugging Face in the cstr/bert-base-NER-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 bert base NER use?
Hugging Face lists the license as mit. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.