How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoProcessor, AutoModelForImageTextToText

processor = AutoProcessor.from_pretrained("LetheanNetwork/lemer-bk")
model = AutoModelForImageTextToText.from_pretrained("LetheanNetwork/lemer-bk")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

Lemer

A Gemma 4 E2B finetune by lthn.ai — EUPL-1.2

Ollama: ollama run hf.co/lthn/lemer:Q4_K_M

MLX: bf16, 8bit, 6bit, 5bit, 4bit, mxfp8, mxfp4, nvfp4

GGUF: BF16, Q8_0, Q6_K, Q5_K_M, Q4_K_M, Q3_K_M

HF Transformers: on main (4-bit NF4 + bf16 in hf-bf16/)

Base

google/gemma-4-E2B-it

More

Licence

Training data and adapter: EUPL-1.2 Base model: Apache 2.0

Downloads last month
195
GGUF
Model size
5B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

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 LetheanNetwork/lemer-bk

Quantized
(187)
this model

Dataset used to train LetheanNetwork/lemer-bk