GE

gemma-3-27b-it-codeforces-SFT

GemmaGGUF by BasedAGIUpdated 2025-11-04
Download on Hugging Face
Parameters27B
Context128K
Layers62
Architecturegemma3
Smallest quant6.3 GB
Quick answer

gemma-3-27b-it-codeforces-SFT needs about 21.2 GB of memory at Q4_K_M (a 16.5 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 28 quants, from 6.3 GB (IQ1_S) to 22.2 GB (Q6_K). Longer context needs more: at 32K tokens the KV cache alone adds about 16.6 GB.

Gemma‑3 27B fine‑tuned for Codeforces with GGUF quantization

Gemma‑3‑27B‑IT‑Codeforces‑SFT is a 27B‑parameter model fine‑tuned on the open‑r1/codeforces‑cots dataset using TRL. It supports 131072‑token context and is released under the MIT license.

Good at

  • Codeforces problem solving
  • Competitive programming code generation
  • Algorithmic explanation

Limits

  • No vision support
  • Large VRAM requirement for higher quants
  • No external dataset integration

Best for

  • Competitive programming assistants
  • Code review tools
  • Educational coding platforms

Who it’s for. Developers and educators needing a large language model specialized in competitive programming. The model is suitable for environments where a 27B‑parameter LLM is required and the user can allocate sufficient GPU memory.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S6.3 GB 10.9 GB
Too big Get file →
TQ1_06.6 GB 11.2 GB
Too big Get file →
IQ1_M6.8 GB 11.5 GB
Too big Get file →
IQ2_XXS7.7 GB 12.3 GB
Too big Get file →
TQ2_07.8 GB 12.4 GB
Too big Get file →
IQ2_XS8.4 GB 13.1 GB
Too big Get file →
IQ2_S8.8 GB 13.4 GB
Too big Get file →
IQ2_M9.5 GB 14.2 GB
Too big Get file →
Q2_K_S9.8 GB 14.4 GB
Too big Get file →
Q2_K10.5 GB 15.2 GB
Too big Get file →
IQ3_XXS10.7 GB 15.4 GB
Too big Get file →
IQ3_XS11.6 GB 16.2 GB
Too big Get file →
IQ3_S12.2 GB 16.8 GB
Too big Get file →
Q3_K_S12.2 GB 16.8 GB
Too big Get file →
IQ3_M12.5 GB 17.2 GB
Too big Get file →
Q3_K_M13.4 GB 18.1 GB
Too big Get file →
Q3_K_L14.5 GB 19.2 GB
Too big Get file →
IQ4_XS14.8 GB 19.4 GB
Too big Get file →
IQ4_NL15.6 GB 20.2 GB
Too big Get file →
Q4_015.6 GB 20.3 GB
Too big Get file →
Q4_K_S15.7 GB 20.3 GB
Too big Get file →
Q4_K_M16.5 GB 21.2 GB
Too big Get file →
Q4_117.2 GB 21.8 GB
Too big Get file →
Q5_K_S18.8 GB 23.4 GB
Too big Get file →
Q5_018.8 GB 23.5 GB
Too big Get file →
Q5_K_M19.3 GB 23.9 GB
Too big Get file →
Q5_120.4 GB 25.0 GB
Too big Get file →
Q6_K22.2 GB 26.8 GB
Too big Get file →

For 8 GB VRAM, use IQ1_S (6.26 GB) or TQ1_0 (6.57 GB). For 12 GB VRAM, IQ2_XXS (7.69 GB) or TQ2_0 (7.77 GB) are suitable. For 16 GB VRAM, Q2_K (10.5 GB) or Q3_K_M (13.44 GB) provide a balance of size and performance. Memory estimates are approximate.

What GPU do you need for gemma-3-27b-it-codeforces-SFT?

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: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: the best quant that fits is IQ1_M (6.8 GB file, about 11.5 GB in use).
  • 16 GB VRAM: the best quant that fits is IQ3_XXS (10.7 GB file, about 15.4 GB in use).
  • 24 GB VRAM: the best quant that fits is Q5_K_M (19.3 GB file, about 23.9 GB in use).
  • 32 GB VRAM: the best quant that fits is Q6_K (22.2 GB file, about 26.8 GB in use).

Which gemma-3-27b-it-codeforces-SFT quant should you choose?

Q4_K_M is the usual starting point for gemma-3-27b-it-codeforces-SFT: it balances file size and quality well. Here it is a 16.5 GB file.

If memory is tight, the smallest file is IQ1_S at 6.3 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

Architecturegemma3
Parameters27B
Layers62
Trained context131,072 tokens
KV cache (fp16)496 KB per token

Source

Quantized byBasedAGI
FamilyGemma
Licensemit
Downloads (HF)693
Last updated2025-11-04

Frequently asked questions about gemma-3-27b-it-codeforces-SFT

How much VRAM does gemma-3-27b-it-codeforces-SFT need?

About 21.2 GB at Q4_K_M with an 8K context window. That is the 16.5 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 gemma-3-27b-it-codeforces-SFT on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 10.9 GB, so you would need a larger GPU or CPU offloading.

What is the file size of gemma-3-27b-it-codeforces-SFT GGUF?

It depends on the quant: IQ1_S is 6.3 GB, TQ1_0 is 6.6 GB, IQ1_M is 6.8 GB, IQ2_XXS is 7.7 GB, TQ2_0 is 7.8 GB, IQ2_XS is 8.4 GB and 22 more.

What context length does gemma-3-27b-it-codeforces-SFT support?

The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 4.2 GB at 8K and 16.6 GB at 32K.

Where can I download gemma-3-27b-it-codeforces-SFT GGUF?

The files are on Hugging Face in the BasedAGI/Gemma-3-27B-IT-Codeforces-SFT-i1-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 gemma-3-27b-it-codeforces-SFT 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.

Can I run this model on 8 GB VRAM?

Yes, using IQ1_S or TQ1_0 quantizations which are 6.26 GB and 6.57 GB respectively.

Does this model support vision tasks?

No, it is a text‑only model with no vision capabilities.

What license does it use?

The model is released under the MIT license.

Other GGUFs of gemma-3-27b-it-codeforces-SFT

Similar models

Browse all →

More from BasedAGI

All by BasedAGI →

More Gemma models

All Gemma →

Other medium models

All medium models →