Instructions to use barddoo/futo-keyboard-ptbr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use barddoo/futo-keyboard-ptbr with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf barddoo/futo-keyboard-ptbr:F32 # Run inference directly in the terminal: llama cli -hf barddoo/futo-keyboard-ptbr:F32
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf barddoo/futo-keyboard-ptbr:F32 # Run inference directly in the terminal: llama cli -hf barddoo/futo-keyboard-ptbr:F32
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf barddoo/futo-keyboard-ptbr:F32 # Run inference directly in the terminal: ./llama-cli -hf barddoo/futo-keyboard-ptbr:F32
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf barddoo/futo-keyboard-ptbr:F32 # Run inference directly in the terminal: ./build/bin/llama-cli -hf barddoo/futo-keyboard-ptbr:F32
Use Docker
docker model run hf.co/barddoo/futo-keyboard-ptbr:F32
- LM Studio
- Jan
- Ollama
How to use barddoo/futo-keyboard-ptbr with Ollama:
ollama run hf.co/barddoo/futo-keyboard-ptbr:F32
- Unsloth Desktop
- Docker Model Runner
How to use barddoo/futo-keyboard-ptbr with Docker Model Runner:
docker model run hf.co/barddoo/futo-keyboard-ptbr:F32
- Lemonade
How to use barddoo/futo-keyboard-ptbr with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull barddoo/futo-keyboard-ptbr:F32
Run and chat with the model
lemonade run user.futo-keyboard-ptbr-F32
List all available models
lemonade list
- Atomic Chat
futo-keyboard-ptbr
A privacy-respecting, on-device keyboard language model for Brazilian Portuguese (pt-BR), built for FUTO Keyboard.
This is a small decoder-only GPT (~42M params, llama GGUF architecture) that
runs entirely on-device in FUTO Keyboard for next-word prediction, with the
vocabulary conventions (and optional autocorrect/swipe training data) that
FUTO's runtime expects.
Files
| File | Quantization | Size | Use |
|---|---|---|---|
pt_br_keyboard_q6k.gguf |
Q6_K | ~40 MB | Recommended for FUTO Keyboard |
pt_br_keyboard_f32.gguf |
F32 | ~191 MB | Full precision, for further quantization |
Model details
| Property | Value |
|---|---|
| Architecture | llama (RMSNorm, RoPE ฮธ=10000, SiLU-gated FFN, tied lm_head) |
| Parameters | ~42M |
| Embedding dim | 512 |
| Layers / heads | 8 / 8 |
| Context length | 256 tokens |
| Vocabulary | 16,000 (SentencePiece BPE, inverted space, byte fallback) |
| Tokenizer | sentencepiece (embedded in keyboardlm.ext_tokenizer_data) |
| Features | base_v1 inverted_space xbu_char_autocorrect_v1 xc0_swipe_typing_v1 char_embed_mixing_v1 |
Install in FUTO Keyboard
- Download
pt_br_keyboard_q6k.gguf. - In FUTO Keyboard, go to Settings โ Keyboard models โ Import and select
the
.gguffile.
Training
- Data: cleaned pt-BR corpora (MADRAS1 corpus-ptbr real subset, Wikipedia pt, Pt-Corpus-Instruct) โ see the source repo for the full pipeline.
- Objective: causal next-token over
[BOS] + encode(line + " "), mirroring FUTO's runtime tokenization. - Hardware: NVIDIA CUDA, AMD ROCm, or Apple MPS.
The keyboardlm.finetuning_count is 0 โ this is a from-scratch model, not a
fine-tune.
License
Weights are released under Apache-2.0. Note: the underlying corpora each carry their own licenses โ review them before redistributing training data or derived models.
- Downloads last month
- -
32-bit