EN

Arcee Fusion is used for merging.

Some information on merging can be found here: https://huggingface.co/zelk12/Mergekit_Gemma-4-E2B

The first experimental combination of gemma-4-E4B models probably resulted in many errors, and some of the elements included in the composition turned out to have a higher average result according to BenchLocal than this final version.

As of 10/19/2026, ggml-org/gguf-my-repo does not quantize gemma-4-E4B models, so the quantization was done using Unsloth Studio MT_gemma-4-8B-E4B.Q6_K.gguf.


#GGUF

If I don’t delete it and forget to post it, then GGUF probably Q6 of this model can be found here: https://huggingface.co/zelk12/MT_gemma-4-8B-E4B-Q6_K-GGUF

You can also often find GGUF and imatrix GGUF here: mradermacher Most often I use their quanta myself if possible.

Well, sometimes he also posts my models: Otakadelic But in addition, he himself is also involved in combining models.


Information

What does the model name MT_gemma-4-8B-E4B mean?

  • MT = merge test, just a merge test and a number, per generation.
  • Gen - what generation of associations this is, in general, it is not tied to anything, just an additional number, but usually the generation can change when I test, some completely new options. I also try not to include models of the same generation into the association.

Based on the name of the original model Gemma-4-E4B-it Gemma is Google's family of open models.

  • 4 is essentially a generation of the model.
  • E4B - means that the model uses all effective parameters, which when executed are equal to 4.5 billion ordinary parameters, or so. PLE layers are used for this, where each layer is connected to its own embedding layer, thus the total number of model parameters is 8 billion.
  • it = instruction tuned, means that the model is prepared to work with instructions for this model to form a chat.

The hypothetical model itself can work with a 128k context. The sliding attention window has a size of 512 tokens. A variable aspect ratio function and image encoding options in 70, 140, 280, 560, 1120 tokens have been introduced. Additionally, Gemma-4-E4B-it models are usually capable of working with audio data.

Data on tokens may have changed due to the fact that this is not pure Gemma-4-E4B, but its combinations.



RU

Для объединения применяется Arcee Fusion.

Некоторая информация по объединению, находится здесь: https://huggingface.co/zelk12/Mergekit_Gemma-4-E2B

Первое эксперементальное объединение, моделей gemma-4-E4B, в результат, вероятно было допущено много ошибок, и часть, элементов, которые входят в состав, по BenchLocal оказались выше по среднему результату, чем данный финальный вариант.

На 19.10.2026 ggml-org/gguf-my-repo не квантует модели gemma-4-E4B, по этому, квант, был сделан, при помощи Unsloth Studio MT_gemma-4-8B-E4B.Q6_K.gguf.


GGUF

Если я не удалю и не забуду выложить, тогда GGUF вероятно Q6 этой модели можно будете найти здесь: https://huggingface.co/zelk12/MT_gemma-4-8B-E4B-Q6_K-GGUF

Также нередко GGUF и imatrix GGUF можно найти зесь: mradermacher Чаще всего я сам использую их кванты если это возможно.

Ну и иногда он тоже выкладывает мои модели: Otakadelic Но кроме того, он ещё и сам занимается объединением моделей.


Информация

Что значит название моделией MT_gemma-4-8B-E4B

  • MT = merge test, просто проверка объединений и номер, в поколении.
  • Gen - какое это поколение объединений, в целом, оно мало к чему привязано, просто дополнительная цифра, но обычно поколение может изменится, когда тестирую, какие-то совсем новые варианты. Также стараюсь не вводить в состав объединения, модели с тем же поколением.

По названию оригинальной модели Gemma-4-E4B-it Gemma - семейство открытых моделей Google.

  • 4 - это по своей сути поколение модели.
  • E4B - значит что у модели всего используются эффективные параметры, которые при выполнении равны 4,5 миллиардам обычных параметров, или около того. Используются для этого слои PLE, где к каждому слою, подключён свой слой встраивания, таким образом, суммарное количество параметров модели 8 миллиардов.
  • it = instruction tuned, значит что модель подготовлена работать с инструкциями для данной модели, для формирования чата.

Сама модель гипотетический может работать с контекстом 128к. Скользящее окно внимания имеет размер 512 токена. Введена функция переменного соотношения сторон и варианты кодировки изображения в 70, 140, 280, 560, 1120 токенов. Дополнительно модели Gemma-4-E4B-it обычно способны работать с аудио данными.

Данные по токенам могли измениться, из-за того что это не чистая Gemma-4-E4B, а её объединения.



MT_gemma-4-8B-E4B

MT_gemma-4-8B-E4B is a merge of the following models using LazyMergekit:

🧩 Configuration

Step 1

MT_UGIFE_GIFD_IF_TC

  - model: armand0e/Gemma-4-E4B-it-Fable-Distill
    parameters:
      density: 0.75
      weight: 0.5

  - model: Prompt48/unsloth_gemma_4-E4B-it_FT_Emotion
    parameters:
      density: 0.25
      weight: 0.5

merge_method: arcee_fusion
base_model: armand0e/Gemma-4-E4B-it-Fable-Distill
parameters:
  normalize: true
dtype: bfloat16
tokenizer_source: base

MT_GIFD_GN_IF_DE

  - model: armand0e/Gemma-4-E4B-it-Fable-Distill
    parameters:
      density: 0.25
      weight: 0.5

  - model: andyoneal/Gemma-4-E4B-Nightcap
    parameters:
      density: 0.75
      weight: 0.5

merge_method: arcee_fusion
base_model: armand0e/Gemma-4-E4B-it-Fable-Distill
parameters:
  normalize: true
dtype: bfloat16
tokenizer_source: base

MT_GIFD_GMF_IF_RM

  - model: armand0e/Gemma-4-E4B-it-Fable-Distill
    parameters:
      density: 0.75
      weight: 0.5

  - model: Nubinu/Gemma4-E4B-MiniFantasy-V1
    parameters:
      density: 0.25
      weight: 0.5

merge_method: arcee_fusion
base_model: armand0e/Gemma-4-E4B-it-Fable-Distill
parameters:
  normalize: true
dtype: bfloat16
tokenizer_source: base

MT_GIFD_GI_IF_PA

  - model: armand0e/Gemma-4-E4B-it-Fable-Distill
    parameters:
      density: 0.5
      weight: 0.5

  - model: google/gemma-4-E4B-it
    parameters:
      density: 0.5
      weight: 0.5

merge_method: arcee_fusion
base_model: armand0e/Gemma-4-E4B-it-Fable-Distill
parameters:
  normalize: true
dtype: bfloat16
tokenizer_source: base

Step 2

MT_GIFD_GN_Gi_IF_DE_PA

  - model: MT_GIFD_GN_IF_DE
    parameters:
      density: 0.5
      weight: 0.5

  - model: MT_GIFD_GI_IF_PA
    parameters:
      density: 0.5
      weight: 0.5

merge_method: arcee_fusion
base_model: MT_GIFD_GN_IF_DE
parameters:
  normalize: true
dtype: bfloat16
tokenizer_source: base

MT_GIFD_UGIFE_GMF_IF_TC_RM

  - model: MT_UGIFE_GIFD_IF_TC
    parameters:
      density: 0.75
      weight: 0.5

  - model: MT_GIFD_GMF_IF_RM
    parameters:
      density: 0.25
      weight: 0.5

merge_method: arcee_fusion
base_model: MT_UGIFE_GIFD_IF_TC
parameters:
  normalize: true
dtype: bfloat16
tokenizer_source: base

Step 3

MT_gemma-4-8B-E4B

  - model: MT_GIFD_UGIFE_GMF_IF_TC_RM
    parameters:
      density: 0.5
      weight: 0.5

  - model: andyoneal/Gemma-4-E4B-Nightcap
    parameters:
      density: 0.5
      weight: 0.5

merge_method: arcee_fusion
base_model: MT_GIFD_UGIFE_GMF_IF_TC_RM
parameters:
  normalize: true
dtype: bfloat16
tokenizer_source: base

💻 Usage

!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "zelk12/MT_gemma-4-8B-E4B"
messages = [{"role": "user", "content": "What is a large language model?"}]

tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    torch_dtype=torch.float16,
    device_map="auto",
)

outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
Downloads last month
218
Safetensors
Model size
8B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for zelk12/MT_gemma-4-8B-E4B