Downloads · 30 days
2.9K
32% of all-time downloads
tardellirs/aac-board-generator-770m-ptbr
aac-board-generator-770m-ptbr is a text generation model from tardellirs. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
[](https://huggingface.co/tardellirs/aac-board-generator-770m-ptbr-GGUF) [](https://ai.google.dev/gemma/terms)
Downloads · 30 days
2.9K
32% of all-time downloads
All-time downloads
9.2K
Public
Parameters
772M
4.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.5 GB · 100%
From the Hugging Face model README
A compact Brazilian-Portuguese model for Augmentative and Alternative Communication (AAC). It is multi-function: it drafts whole communication boards from a theme and follows in-assistant instructions to edit them — add or remove a pictogram, generate a couple of extra pictograms, adjust a board on request. Given "monta uma prancha de brincar no parquinho" it produces the board; given "apaga o pictograma 'escorregador'" or "gera mais 2 pictogramas sobre segurança" it performs the edit. It was designed for the AAC assistant in Papuguinho, a tool for building pictogram communication boards (integration in progress).
llama.cpp: aac-board-generator-770m-ptbr-GGUF.| Resource | Description |
|---|---|
| 🧠 aac-board-generator-770m-ptbr | This model — board generation, 771.6M, CPU |
| ⚡ aac-board-generator-770m-ptbr-GGUF | GGUF quants for llama.cpp (Q4/Q5/Q6/Q8/f16) |
| 🐤 aac-board-generator-140m-ptbr | Smaller, faster sibling (~140M, lower quality) |
| 🔎 aac-pictogram-retriever-ptbr | Companion retriever — maps each word to a pictogram |
In the Papuguinho pipeline these are complementary: this model drafts the words for a board; the retriever then finds the ARASAAC pictogram for each word.
The model supports the full board-authoring assistant loop in pt-BR:
Output format. One item per line, word|type|synonyms:
quero|v|querer,desejar
parquinho|l|parque,playground
escorregador|s|escorrega
balançar|v|balanço,gangorra
amigo|s|colega,amiguinho
...
type is a short grammatical/semantic tag used by the app (v verb, s noun, a adjective, e expression,
l place, p pronoun). The synonyms help the downstream retriever pick the right pictogram.
Intended use: drafting pictogram-board word lists from pt-BR themes and following board-editing instructions, inside AAC authoring tools like Papuguinho. Not intended for: general-purpose chat, languages other than Brazilian Portuguese, or as a source of factual answers — it is a task-specific AAC assistant, not an open-domain model.
The model was trained with the Gemma chat format, with the board-drafting instruction and the request in the
user turn. On CPU, the GGUF build with llama.cpp is the recommended path.
llama.cpp (recommended)# from tardellirs/aac-board-generator-770m-ptbr-GGUF
llama-server -m aac-board-generator-770m-ptbr-Q8_0.gguf -t 4 -c 2048 --host 127.0.0.1 --port 8080
Build the prompt yourself and call /completion (Gemma has no system role — put the instruction in the user turn):
import requests
INSTR = ("Você monta pranchas de CAA (pictogramas, pt-BR). Para o PEDIDO, liste ~12 itens concretos e relevantes, "
"um por linha, no formato palavra|tipo|sinônimos (tipo: v/s/a/e/l/p). Só a lista.")
pedido = "monta uma prancha de brincar no parquinho"
prompt = f"<start_of_turn>user\n{INSTR}\n\nPEDIDO: {pedido}<end_of_turn>\n<start_of_turn>model\n"
r = requests.post("http://127.0.0.1:8080/completion",
json={"prompt": prompt, "temperature": 0, "n_predict": 320})
print(r.json()["content"])
transformersfrom transformers import AutoModelForCausalLM, AutoTokenizer
import torch
tok = AutoTokenizer.from_pretrained("tardellirs/aac-board-generator-770m-ptbr")
model = AutoModelForCausalLM.from_pretrained("tardellirs/aac-board-generator-770m-ptbr", dtype=torch.float32)
INSTR = "Você monta pranchas de CAA (pictogramas, pt-BR). ... (same instruction as above)"
msgs = [{"role": "user", "content": INSTR + "\n\nPEDIDO: monta uma prancha de brincar no parquinho"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt")
out = model.generate(ids, max_new_tokens=320, do_sample=False)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
The exact production instruction is part of the Papuguinho pipeline; the snippet above is a faithful, self-contained example of the format the model expects.
gemma3_text) decoder — unchanged from the base, except the vocabulary/embedding.On an internal held-out set of board requests, boards were scored 0–2 for overall quality by an LLM judge. The trimmed model matches its untrimmed Gemma-3-1B parent exactly (judge 1.92 = 1.92) while running 1.34× faster (≈ 25.8 → 34.7 tok/s on 4 CPU threads). In other words, the speed-up is free — the vocabulary trim removes only tokens that never occur in pt-BR AAC boards.
For higher throughput at a real quality cost, see the smaller 140M sibling (≈ 1.72× faster than its parent, but a weaker base model).
Developed for Papuguinho (integration in progress) — www.papuguinho.com.
@software{aac_board_generator_770m_ptbr,
title = {AAC Board Generator 770M (pt-BR)},
author = {Stekel, Tardelli R. C.},
year = {2026},
url = {https://huggingface.co/tardellirs/aac-board-generator-770m-ptbr},
publisher = {Hugging Face},
note = {A CPU-friendly Brazilian-Portuguese model for generating AAC pictogram-board word lists, built for Papuguinho (www.papuguinho.com). Vocabulary-trimmed derivative of Gemma 3 1B.}
}