LI

LinguaMatic 2.7B

LinguamaticGGUF by erfanzarUpdated 2023-12-19
Download on Hugging Face
Parameters2.7B
Context2K
Layers32
Architecturellama
Smallest quant1.1 GB
Quick answer

LinguaMatic 2.7B needs about 4.8 GB of memory at Q4_K_M (a 1.6 GB file) with an 8K context window, so it fits on a 6 GB GPU. This repository has 9 quants, from 1.1 GB (Q2_K) to 2.2 GB (Q6_K).

LinguaMatic 2.7B – a 2.7B parameter llama model for coding tasks

LinguaMatic 2.7B is a 2.7B parameter llama architecture model. It is trained on 2048 context tokens and focuses on coding abilities. The model is available in multiple GGUF quantizations.

Good at

  • Coding assistance
  • Code generation
  • Debugging suggestions

Limits

  • No vision support
  • No license information provided
  • Context limited to 2048 tokens

Best for

  • Developers needing lightweight code models
  • Educational coding tools
  • Rapid prototyping of code snippets

Who it’s for. Developers and educators who require a small, efficient model for coding tasks. The model is suitable for environments with limited VRAM and RAM resources.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K1.1 GB 2.3 GB
Fits Get file →
Q3_K_S1.2 GB 2.4 GB
Fits Get file →
Q3_K_M1.3 GB 2.5 GB
Fits Get file →
Q3_K_L1.4 GB 2.6 GB
Fits Get file →
Q4_K_S1.6 GB 2.7 GB
Fits Get file →
Q4_K_M1.6 GB 2.8 GB
Fits Get file →
Q5_K_S1.9 GB 3.0 GB
Fits Get file →
Q5_K_M1.9 GB 3.1 GB
Fits Get file →
Q6_K2.2 GB 3.4 GB
Fits Get file →

For 8 GB VRAM, Q4_K_M (1.64 GB, 4.8 GB memory) is a good balance. With 12 GB VRAM, Q5_K_M (1.92 GB, 5.1 GB memory) offers higher quality. For 16 GB VRAM, Q6_K (2.22 GB, 5.4 GB memory) provides the best performance.

What GPU do you need for LinguaMatic 2.7B?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) 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: no quant fits at an 8K context.
  • 6 GB VRAM: the best quant that fits is Q6_K (2.2 GB file, about 5.4 GB in use).

Which LinguaMatic 2.7B quant should you choose?

Q4_K_M is the usual starting point for LinguaMatic 2.7B: it balances file size and quality well. Here it is a 1.6 GB file.

If memory is tight, the smallest file is Q2_K at 1.1 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters2.7B
Layers32
Trained context2,048 tokens
KV cache (fp16)320 KB per token

Source

Quantized byerfanzar
Downloads (HF)626
Last updated2023-12-19

Frequently asked questions about LinguaMatic 2.7B

How much VRAM does LinguaMatic 2.7B need?

About 4.8 GB at Q4_K_M with an 8K context window. That is the 1.6 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 LinguaMatic 2.7B on an 8 GB GPU?

Yes, with Q6_K: the 2.2 GB file needs about 5.4 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of LinguaMatic 2.7B GGUF?

It depends on the quant: Q2_K is 1.1 GB, Q3_K_S is 1.2 GB, Q3_K_M is 1.3 GB, Q3_K_L is 1.4 GB, Q4_K_S is 1.6 GB, Q4_K_M is 1.6 GB and 3 more.

What context length does LinguaMatic 2.7B support?

The GGUF header lists a trained context length of 2,048 tokens (2K). The KV cache grows with the context you use: about 2.7 GB at 8K and 0.7 GB at 2K.

Where can I download LinguaMatic 2.7B GGUF?

The files are on Hugging Face in the erfanzar/LinguaMatic-2.7B-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Can I run LinguaMatic 2.7B on 8 GB VRAM?

Yes, the Q4_K_M quantization requires approximately 4.8 GB VRAM at 8 k context, which fits within an 8 GB budget.

What is the maximum context length of this model?

The model supports 2048 context tokens.

Does LinguaMatic support vision tasks?

No, the model has no vision capabilities.

Similar models

Browse all →

More from erfanzar

All by erfanzar →

More Linguamatic models

All Linguamatic →

Other tiny models

All tiny models →