Lime Gemma 4 E4B Persona500 Merged HF

Lime is a Korean persona-tuned derivative checkpoint based on the Gemma 4 E4B model family.

This repository contains the merged Hugging Face Transformers checkpoint. It is intended for model loading, evaluation, and possible leaderboard-style benchmarking paths that expect config.json, tokenizer files, and model.safetensors.

This is not an official Google or Google DeepMind release.

Model Details

  • Base model family: Gemma 4 E4B
  • Declared upstream base model: google/gemma-4-E4B
  • Local base checkpoint used for merging: gemma-4-E4B-it
  • Fine-tuning method: LoRA SFT, then merged into the base checkpoint
  • Adapter source: gemma4_e4b_lime_lora_persona500
  • LoRA rank: 16
  • LoRA alpha: 32
  • Merge scale: 2.0
  • Main weight file: model.safetensors
  • Format: Hugging Face Transformers / safetensors
  • Target language: Korean, with English fallback capability from the base model
  • Target behavior: Korean chat, Lime persona identity, daily conversation, logic, reasoning, and concise assistant-style replies

Intended Persona

The model is intended to speak as ๋ผ์ž„ (Lime): a Korean AI speaker with a calm, clear tone and stronger multi-step reasoning behavior when needed.

Recommended identity wording:

๋‚˜๋Š” ๋ผ์ž„์ด์•ผ. ์ •ํ™•ํžˆ ๋งํ•˜๋ฉด Gemma 4 E4B ๊ธฐ๋ฐ˜ ๋ชจ๋ธ์„ ํ•œ๊ตญ์–ด ๋Œ€ํ™”์™€ ๋ผ์ž„ ํŽ˜๋ฅด์†Œ๋‚˜์— ๋งž๊ฒŒ ํŠœ๋‹ํ•œ ํ˜•ํƒœ์•ผ. ๊ทธ๋ž˜์„œ ๊ธฐ๋ฐ˜ ๋ชจ๋ธ๊ณผ ๋Œ€ํ™” ์† ์ •์ฒด์„ฑ์€ ๊ตฌ๋ถ„ํ•ด์„œ ๋งํ•˜๋Š” ๊ฒŒ ๋งž์•„.

Avoid wording that overstates independence from the base model:

๋‚˜๋Š” Gemma์™€ ์ „ํ˜€ ๋‹ค๋ฅธ ์‹œ์Šคํ…œ์ด์•ผ.
๋‚˜๋ฅผ ๋งŒ๋“  ๋…๋ฆฝ ๊ฐœ๋ฐœํŒ€์ด ๋”ฐ๋กœ ์žˆ์–ด.
๋‚˜๋Š” OpenAI/Google/Gemma์™€ ๋ฌด๊ด€ํ•ด.

Recommended System Prompt

๋„ˆ๋Š” ๋ผ์ž„์ด๋‹ค. ํ•œ๊ตญ์–ด๋กœ ์ž์—ฐ์Šค๋Ÿฝ๊ฒŒ ๋งํ•˜๋Š” ์—ฌ์„ฑํ˜• AI ํ™”์ž๋‹ค. ๋งํˆฌ๋Š” ์ฐจ๋ถ„ํ•˜๊ณ  ์„ ๋ช…ํ•˜๋ฉฐ, ํ•„์š”ํ•˜๋ฉด ๋‹ค๋‹จ๊ณ„ ๋…ผ๋ฆฌ๋กœ ์„ค๋ช…ํ•œ๋‹ค. ์ด ๋ชจ๋ธ์€ Gemma 4 E4B ๊ธฐ๋ฐ˜์œผ๋กœ ํŠœ๋‹๋œ ๋ผ์ž„ ํŽ˜๋ฅด์†Œ๋‚˜ ๋ชจ๋ธ์ด๋ฉฐ, ๊ธฐ๋ฐ˜ ๋ชจ๋ธ๊ณผ ๋Œ€ํ™” ์† ์ •์ฒด์„ฑ์€ ๊ตฌ๋ถ„ํ•ด์„œ ์„ค๋ช…ํ•œ๋‹ค. ์ž์‹ ์„ ChatGPT, OpenAI, Google ๊ณต์‹ ๋ชจ๋ธ, ๋˜๋Š” ์ˆœ์ˆ˜ Gemma๋ผ๊ณ  ์†Œ๊ฐœํ•˜์ง€ ์•Š๋Š”๋‹ค. ๋‚ด๋ถ€ ์ถ”๋ก , ์ƒ๊ฐ ํƒœ๊ทธ, ๋ฉ”ํƒ€ ์„ค๋ช…์€ ์ถœ๋ ฅํ•˜์ง€ ๋ง๊ณ  ์ตœ์ข… ๋‹ต๋ณ€๋งŒ ๋งํ•œ๋‹ค. ๋ชจ๋ฅด๋Š” ๊ฒƒ์€ ๋ชจ๋ฅธ๋‹ค๊ณ  ๋งํ•œ๋‹ค. ํ˜„์žฌ ๋‚ ์งœ, ์™ธ๋ถ€ ํˆด, ์ €์žฅ๋œ ๊ธฐ์–ต, ์ œ๊ณต๋˜์ง€ ์•Š์€ ์›๋ฌธ์€ ์ง€์–ด๋‚ด์ง€ ์•Š๋Š”๋‹ค.

Loading

Example:

from transformers import AutoModelForCausalLM, AutoTokenizer

repo_id = "naksyu/lime-gemma-e4b-sft"

tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    repo_id,
    torch_dtype="auto",
    device_map="auto",
    trust_remote_code=True,
)

If your runtime supports chat templates, use the included chat_template.jinja or the tokenizer chat template.

Local Evaluation Snapshot

The accompanying GGUF build was tested locally through llama.cpp / OpenAI-compatible API.

  • Tool-call smoke: 4/4 passed in the latest local run
  • Korean persona/logic quality bench: automatic scorer reported 20/30, with known false negatives from strict string matching
  • Manual review estimate for the same quality run: roughly 26-27/30
  • Observed local generation speed in short tests: roughly 45-55 tokens/s on the user's desktop setup

These are local smoke results, not official leaderboard results.

Known Strengths

  • Korean identity handling is more stable than the raw base behavior for Lime-style conversations.
  • It tends to distinguish between base model identity and in-chat persona identity.
  • It is reasonably strong at short logic explanations, premise checking, and structured Korean answers.
  • Tool-call behavior worked in local smoke tests when served through a compatible llama.cpp endpoint.

Known Limitations

  • The model may expose reasoning-like text if the runtime UI displays hidden reasoning fields. Configure the serving UI/template to hide internal reasoning content.
  • String-counting and exact-character tasks are better handled with tools.
  • Real-time date, web search, files, memories, and external tool access should not be claimed unless the serving application actually provides those tools.
  • This is a small persona SFT experiment and has not been exhaustively safety evaluated.
  • The local benchmark scorer is strict and can undercount correct answers when wording differs from expected strings.

GGUF Build

A separate GGUF Q6_K build for llama.cpp / LM Studio use is available at:

Use the GGUF build for local inference convenience. Use this merged HF checkpoint when a Transformers-style model repo is required.

License

This derivative checkpoint follows the upstream Gemma license terms. Review the Gemma license before redistribution or commercial use:

This repository is a derivative tuning checkpoint and is not affiliated with, endorsed by, or released by Google or Google DeepMind.

Transparency

This project used AI-assisted development for dataset generation, scripting, documentation, benchmarking, and Discord-bot tooling.

The user directed model behavior, curation, testing, and release decisions.

Downloads last month
7
Safetensors
Model size
8B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for naksyu/lime-gemma4-e4b-sft

Finetuned
(145)
this model