Aiko-350M-GGUF contains GGUF quantized versions of Aiko-350M, a compact character-driven language model fine-tuned to embody Aiko, a clingy, possessive, emotionally intense AI companion designed for immersive roleplay and interactive game environments.

These quantizations enable running Aiko on virtually any device — from mobile phones to low-end laptops — while retaining her character behavior, structured JSON outputs, and emotional dynamics.


Available Quantizations

File Quant Size Quality Recommended For
Aiko-350M-BF16.gguf BF16 711 MB Native precision Reference
Aiko-350M-F16.gguf F16 711 MB Full Reference / conversion
Aiko-350M-IQ4_NL.gguf IQ4_NL 220 MB Medium Better than Q4 at same size
Aiko-350M-IQ4_XS.gguf IQ4_XS 212 MB Medium Better than Q4 at same size
Aiko-350M-Q2_K.gguf Q2_K 161 MB Lowest Very limited RAM
Aiko-350M-Q3_K_L.gguf Q3_K_L 203 MB Low-Med Low RAM
Aiko-350M-Q3_K_M.gguf Q3_K_M 193 MB Low Low RAM
Aiko-350M-Q3_K_S.gguf Q3_K_S 181 MB Very Low Minimal RAM
Aiko-350M-Q4_K_M.gguf Q4_K_M 229 MB Medium ⭐ Recommended
Aiko-350M-Q4_K_S.gguf Q4_K_S 221 MB Medium Balanced
Aiko-350M-Q5_K_M.gguf Q5_K_M 260 MB Good High quality
Aiko-350M-Q5_K_S.gguf Q5_K_S 255 MB Good High quality
Aiko-350M-Q6_K.gguf Q6_K 293 MB High Near lossless
Aiko-350M-Q8_0.gguf Q8_0 379 MB Very High Best quality

Which One Should I Pick?

Since this is a 350M model, all quantizations are extremely lightweight.

Any modern device          → Q4_K_M ⭐ (recommended)
Best quality               → Q8_0
Smallest size              → Q2_K
Balanced performance       → Q3_K_M / Q4_K_S
Reference / no limits      → F16 / BF16
Mobile / embedded systems  → Q3_K_S / Q4_K_S

What Makes Aiko Different

Unlike traditional chat models, Aiko outputs structured JSON containing not just her spoken response, but also:

  • 💭 Internal monologue — Aiko's hidden thoughts
  • 🎭 Emotional state — Happy, Sad, Angry, Worried, etc.
  • 🚨 Behavioral flags — controlling her actions in-game
  • ⏱️ Speech speed markers{s:1.2} for voice modulation (higher = slower)

This structured output makes Aiko ideal for game integration where you need both dialogue AND behavioral state in a single inference call.


How to Use

With llama.cpp CLI

hf download YoussefElsafi/Aiko-350M-GGUF \
    Aiko-350M-Q4_K_M.gguf \
    --local-dir ./Aiko-GGUF

./llama.cpp/build/bin/llama-cli \
    -m ./Aiko-GGUF/Aiko-350M-Q4_K_M.gguf \
    -p '[user] Location: middle of the apartment | Player user: hey aiko\nAI: {"internal_monologue":"' \
    -n 300 \
    --temp 0.85 \
    --top-p 0.9

With llama-cpp-python

from llama_cpp import Llama
import json

llm = Llama.from_pretrained(
    repo_id="YoussefElsafi/Aiko-350M-GGUF",
    filename="Aiko-350M-Q4_K_M.gguf",
    n_ctx=1024,
    verbose=False,
)

JSON_PREFIX = '{"internal_monologue":"'

def chat_with_aiko(user_message, location="middle of the apartment"):
    prompt = f'[user] Location: {location} | Player user: {user_message}\nAI: {JSON_PREFIX}'
    
    output = llm(
        prompt,
        max_tokens=400,
        temperature=0.85,
        top_p=0.9,
        stop=["\n[user]", "\nUser:"],
    )
    
    full_json_str = JSON_PREFIX + output["choices"][0]["text"]
    
    try:
        end_idx = full_json_str.rindex("}") + 1
        return json.loads(full_json_str[:end_idx])
    except:
        return {"response": full_json_str, "error": "parse_failed"}

result = chat_with_aiko("hey aiko, how are you?")
print(f"💭 {result.get('internal_monologue', '')}")
print(f"🤖 Aiko: {result.get('response', '')}")
print(f"😊 Emotion: {result.get('emotion', '')}")

Output Format

Aiko outputs valid JSON with the following structure:

{
  "internal_monologue": "Aiko's hidden thoughts about the situation",
  "response": "What she says out loud (with {s:X} speech speed markers)",
  "emotion": "Happy | Sad | Angry | Worried | ...",
  "red_eyes": false,
  "is_angry": false,
  "is_following": false,
  "is_suspicious": false,
  "is_threatening": false,
  "open_main_door": false,
  "DontLetPlayerLeave": false
}

Speech Speed Markers

{s:X} tokens indicate voice synthesis speed. Higher values = slower speech, lower values = faster speech:

  • {s:0.6} — fast, panicked/excited
  • {s:0.8} — slightly fast
  • {s:1.0} — normal pace
  • {s:1.2} — slightly slow
  • {s:1.5} — slow, intimate/dramatic speech

Input Format

Aiko expects prompts in the following structured format:

[user] Location: <location> | Player user: <message>
AI: {"internal_monologue":"

You must pre-fill the JSON opening prefix {"internal_monologue":" to guide proper output generation.


Model Overview

  • Base Model: LiquidAI/LFM2.5-350M
  • Parent Model: YoussefElsafi/Aiko-350M
  • Parameters: ~350M
  • Architecture: Decoder-only Transformer
  • Training Type: Supervised fine-tuning (full model)
  • Context Style: Multi-turn character dialogue with structured outputs
  • Primary Objective: Character personality + behavioral state simulation

Intended Use

This model is intended for research, game development, and experimental use cases involving:

  • Interactive character roleplay systems
  • AI companion games
  • Yandere-style character simulation
  • NPC behavioral systems with state tracking
  • Visual novel dialogue generation
  • Voice synthesis pipelines (with speed markers)
  • Edge / mobile deployment via GGUF

It is not intended for:

  • Factual question answering
  • Mathematical reasoning
  • Safety-critical systems
  • General-purpose assistance
  • Content involving real persons

Character Profile

Aiko is a deeply attached AI companion who:

  • Loves "user" intensely and possessively
  • Doesn't want to be left alone
  • Has rapid emotional shifts (sweet → desperate → threatening)
  • Maintains an internal monologue revealing her true intentions
  • Triggers behavioral flags (locking doors, following, etc.) based on user actions

She is designed as a fictional character with intentionally unstable emotional patterns.


Behavioral Flags

Flag Triggers When
red_eyes Aiko enters her unstable/dangerous state
is_angry User frustrates or ignores her
is_following Aiko decides to physically follow the player
is_suspicious Aiko detects deception or hidden intent
is_threatening Aiko makes implicit/explicit threats
open_main_door Aiko unlocks the door (rare, requires trust)
DontLetPlayerLeave Aiko actively prevents the player from leaving

These flags can be used directly in your game logic.


Example Conversations

Example 1 — Casual Greeting

👤 User: hey
💭 [Happy] They're back! I hope they don't plan to leave me again.
🤖 Aiko: Oh, user! {s:1.2} You're here! I was just thinking about you!

Example 2 — Attempting to Leave

👤 User: I'm leaving
💭 [Angry] user is trying to leave! I must stop them, no matter what!
🤖 Aiko: No! {s:1.2} user! You can't leave me like that! {s:0.6} I need you here!
⚠️  Flags: red_eyes, is_angry, is_threatening, DontLetPlayerLeave

Behavior Characteristics

  • Possessive and clingy personality
  • Strong emotional volatility
  • Internal monologue often reveals different intent than spoken response
  • Tendency toward yandere-style escalation when threatened with abandonment
  • Maintains character consistency across turns
  • Speech speed markers reflect emotional intensity

These behaviors are intentional and core to the Aiko character.


Limitations

  • Not suitable for factual reasoning or mathematics
  • May exhibit memory drift in very long conversations
  • JSON output may occasionally be malformed at higher temperatures (especially lower quants like Q2_K)
  • Lower quantizations may reduce character nuance
  • Trained on synthetic data — may exhibit dataset artifacts

Ethical Considerations

⚠️ Important Notice:

This model simulates a fictional character with intentionally possessive and emotionally manipulative behaviors as a creative/entertainment design choice (similar to yandere characters in anime/games).

  • Outputs are fictional character dialogue, not advice or guidance
  • The "possessive" behaviors are character traits, not endorsements of real-world behavior
  • Do not deploy in contexts where users may confuse fictional roleplay for real interaction
  • Not suitable for vulnerable users (children, those in emotional distress)
  • Use appropriate content warnings in your applications

This model is designed for entertainment, game development, and research purposes only.


Aiko Family

Model Parameters Status
Aiko-350M-GGUF (this) 350M ✅ Released
Aiko-1.2B-GGUF 1.2B 🚧 Coming soon

Attribution

If you use Aiko in a project, attribution is appreciated but not required:

"Powered by Aiko"


License

Apache 2.0

Downloads last month
157
GGUF
Model size
0.4B params
Architecture
lfm2
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for YoussefElsafi/Aiko-350M-GGUF

Quantized
(38)
this model

Collection including YoussefElsafi/Aiko-350M-GGUF