This is a
base (pretrained) model — trained purely for next-token prediction, with no instruction tuning or alignment of any kind. It serves as the foundation for fine-tuned variants such as
MiniBot-0.9M-Instruct.
Despite its small size, it preserves the core inductive biases of GPT-2, making it well-suited for experimentation and educational purposes.
The model was trained on a Portuguese conversational dataset focused on language pattern learning.
1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3model_name = "AxionLab-official/MiniBot-0.9M-Base"
4
5tokenizer = AutoTokenizer.from_pretrained(model_name)
6model = AutoModelForCausalLM.from_pretrained(model_name)
7
8prompt = "User: Me explique o que é gravidade\nBot:"
9inputs = tokenizer(prompt, return_tensors="pt")
10
11outputs = model.generate(
12 **inputs,
13 max_new_tokens=50,
14 temperature=0.8,
15 top_p=0.95,
16 do_sample=True,
17)
18
19print(tokenizer.decode(outputs[0], skip_special_tokens=True))