Text Generation
Transformers
Safetensors
English
gemma3_text
conversational
text-generation-inference
How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="qikp/gemma-3-110m-english-only-old")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("qikp/gemma-3-110m-english-only-old")
model = AutoModelForCausalLM.from_pretrained("qikp/gemma-3-110m-english-only-old", device_map="auto")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

Gemma 3 110M English Only

This is Gemma 3 270M with the pika 3 tokenizer used and with retrained embedding and output layers, afterwards a gentle retrain.

Chat template

Note: This uses the Zephyr chat template.

Training

It was trained on these using 1 epoch, sparse adam optimizer, and 32 batch size:

  • HuggingFaceTB/cosmopedia-20k
  • HuggingFaceTB/smol-smoltalk (first 23,000 rows)
  • HuggingFaceTB/everyday-conversations-llama3.1-2k

Limitations

The quality of this model needs to be better tested. It will also poorly handle non-English languages.

Downloads last month
22
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for qikp/gemma-3-110m-english-only-old

Finetuned
(423)
this model

Datasets used to train qikp/gemma-3-110m-english-only-old