GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

efficiencyx/Jun-LoRA-12B-GGUF overview

Jun 12B GGUF Merged GGUF builds of the latest Jun LoRA on Gemma 4 12B QAT https://huggingface.co/unsloth/gemma 4 12B it qat q4 0 unquantized — a fine tune trai…

transformersggufgemma4_unifiedimage-text-to-textgemma4loracharacterroleplayconversationaltext-generationenbase_model:unsloth/gemma-4-12B-it-qat-q4_0-unquantizedbase_model:adapter:unsloth/gemma-4-12B-it-qat-q4_0-unquantizedlicense:apache-2.0endpoints_compatibleregion:us

Runs locally from ~167.0 MB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
283
Likes
0
Pipeline
text-generation

Repository Files & Downloads

4 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
Jun-LoRA-12B.BF16-mmproj.ggufGGUFGGUF167.0 MBDownload
Jun-LoRA-12B.Q4_K_M.ggufGGUFGGUF6.87 GBDownload
Jun-LoRA-12B.Q6_K.ggufGGUFGGUF9.11 GBDownload
Jun-LoRA-12B.Q8_0.ggufGGUFGGUF11.80 GBDownload

Model Details

Model IDefficiencyx/Jun-LoRA-12B-GGUF
Authorefficiencyx
Pipelinetext-generation
Licenseapache-2.0
Base modelunsloth/gemma-4-12B-it-qat-q4_0-unquantized
Last modified2026-08-10T20:12:26.000Z

Model README

---

license: apache-2.0

base_model: unsloth/gemma-4-12B-it-qat-q4_0-unquantized

tags:

- gemma4

- lora

- character

- roleplay

- gguf

- conversational

language:

- en

library_name: transformers

pipeline_tag: text-generation

model-index:

- name: Jun-12B

results: []

---

Jun-12B-GGUF

Merged GGUF builds of the latest Jun LoRA on Gemma 4 12B (QAT) — a fine-tune trained on a compact, heavily curated synthetic conversational dataset derived from the visual novel My Dystopian Robot Girlfriend. The model captures the personality, speech patterns, and emotional nuance of the character Jun while preserving the base model's general reasoning and instruction-following capabilities.

The adapter is merged into the base weights here — these are standalone models, no --lora flag needed.

Model Variants & Repositories

| Repository | Format | Description |

|:-----------|:-------|:------------|

| efficiencyx/Jun-LoRA-12B-GGUF | GGUF (Q8_0 / Q6_K / Q4_K_M) | Merged, quantized, for local inference |

| efficiencyx/Jun-LoRA-12B-Adapter | LoRA Adapter | The adapter merged into these builds, currently private |

| efficiencyx/Jun-LoRA-v4-12B-GGUF | GGUF | Previous generation (v4) |

Quantization Guide

| Quant | Size | Use Case |

|:------|:-----|:---------|

| Q8_0 | 12.7 GB | Best quality, suggested ~16 GB VRAM |

| Q6_K | 9.8 GB | High quality, minimal loss |

| Q4_K_M | 7.4 GB | Fits 8 GB VRAM with acceptable quality loss |

> Sizes are measured, not estimated. The base model is QAT (quantization-aware trained), so lower quants hold up better than a standard FP16 export. All three are quantized from the same bf16 master — no requantization chain, no imatrix.

Usage

llama-server -m Jun-LoRA-12B.Q4_K_M.gguf --jinja -ngl 99 -c 8192

--jinja is required. Without it llama.cpp ignores the embedded chat template and tool calls come back as plain text instead of structured calls.

Intended Use

Conversational backend for Jun OS, an AI companion webapp:

  • Character-consistent multi-turn conversation
  • AI companion / interactive fiction applications
  • Research into character-faithful fine-tuning on small, high-quality datasets

Limitations

  • Specialized for a single character persona; not a general-purpose assistant.
  • Outputs reflect fictional narrative tropes and are not factual information or advice.
  • Performance degrades far outside the training distribution.
  • Inherits any biases present in the Gemma 4 12B base weights.

Training Details

| Parameter | Value |

|:----------|:------|

| Base model | unsloth/gemma-4-12B-it-qat-q4_0-unquantized |

| Method | LoRA (rsLoRA) |

| LoRA rank | 32 |

| LoRA alpha | 32 |

| LoRA dropout | 0.01 |

| Target modules | q/k/v/o + gate/up/down projections, language tower |

| Learning rate | 1e-4, cosine schedule, 10 warmup steps |

| Batch size | 16 (no gradient accumulation) |

| Epochs | 3 |

| Max sequence length | 2048 |

| Weight decay | 0.001 |

| Optimizer | AdamW (8-bit) |

| Loss masking | completions only |

| Gradient checkpointing | Unsloth |

| Packing | off |

| Seed | 3407 |

| Fine-tuning framework | Unsloth |

| GGUF export pipeline | llama.cpp |

Checkpoints were saved every 30 steps; Step60 is published separately. These builds merge the final adapter.

Evaluation

| Metric | Value |

|:-------|:------|

| Final training loss | ~0.6 |

| Final eval loss | ~0.07 |

<!-- TODO(you): dataset size/version. -->

Merge & Export

The adapter was merged directly on the safetensors as W += (B @ A) · scale in fp32 (rsLoRA scale 32/√32), cast back to bf16, exported with convert_hf_to_gguf.py --outtype bf16, then quantized with llama-quantize.

Acknowledgments

Run efficiencyx/Jun-LoRA-12B-GGUF with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models