Downloads · 30 days
10
10% of all-time downloads
xxrickyxx/Ailo152m-x3
Ailo152m-x3 is a text generation model from xxrickyxx. Use it when you need the model to write or continue text. The card lists the license as cc-by-nc-sa-4.0.
Same 152M weights as AILO-152M-v2, a different way of answering. Instead of a single forward pass, x3 runs the network in a short internal loop: it drafts an answer, re-reads its own answer, then continues and adds an…
Downloads · 30 days
10
10% of all-time downloads
All-time downloads
96
Public
Repo size
1.2 GB
Likes
0
Public
Click a slice to open those files.
.bin607 MB · 100%
From the Hugging Face model README
Same 152M weights as AILO-152M-v2, a
different way of answering. Instead of a single forward pass, x3 runs the network
in a short internal loop: it drafts an answer, re-reads its own answer, then
continues and adds another aspect — for n_passes rounds. The result is a longer,
more exhaustive answer than a 152M model produces in one shot.
Everything happens inside the model: identical weights to v2, only the generation procedure is looped. No external orchestration.
generate.x3 widens the answer, it does not turn a 152M into a 1B.from transformers import AutoModelForCausalLM, GPT2TokenizerFast
import huggingface_hub as hh
d = hh.snapshot_download("xxrickyxx/Ailo152m-x3")
tok = GPT2TokenizerFast(vocab_file=f"{d}/vocab.json", merges_file=f"{d}/merges.txt")
model = AutoModelForCausalLM.from_pretrained(d, trust_remote_code=True).eval()
print(model.chat("What is a black hole?", tok, n_passes=3, tokens_per_pass=140))
chat() applies the chat template and runs the loop. Knobs: n_passes (loop rounds),
tokens_per_pass, temperature (0.3), top_k (20), top_p (0.9),
repeat_penalty (1.3).
A 152M model cannot write reliable code token-by-token — and this one refuses to
hallucinate pseudo-code. Instead, it ships with a library of complete, tested
programs (code_templates/): ask for code and the model understands the request
and hands you the right full program; ask for something outside the library and it
honestly says so, listing what it has.
print(model.chat("write a python script to manage a library with a GUI", tok))
# -> complete, working Tkinter+SQLite Library Manager (add/search/loan/return)
Current library: Library Manager (Tkinter+SQLite), To-Do List (Tkinter+JSON), Calculator (Tkinter, safe eval). Every program is verified and runs as-is. Knowledge on disk, understanding in the network.
<|user|>\n{q}\n<|assistant|>\n.GGUF + llama.cpp run plain autoregressive generation and cannot execute the Python
loop. An Ollama build exists as a thorough single-pass approximation (high
num_predict + repeat penalty) — not the real loop:
ollama run Alieno/ailo-152m-x3
The true multi-pass loop is a Transformers (trust_remote_code) feature of this repo.