Run this model with HF Jobs
Run WithinUsAI/GOD.Agent.147m on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/WithinUsAI/GOD.Agent.147m. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/WithinUsAI/GOD.Agent.147m on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/WithinUsAI/GOD.Agent.147m. Ask me which benchmark to run, then save the scores and the per-example results to a new private dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/WithinUsAI/GOD.Agent.147m. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use WithinUsAI/GOD.Agent.147m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WithinUsAI/GOD.Agent.147m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WithinUsAI/GOD.Agent.147m") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("WithinUsAI/GOD.Agent.147m") model = AutoModelForCausalLM.from_pretrained("WithinUsAI/GOD.Agent.147m", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use WithinUsAI/GOD.Agent.147m with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WithinUsAI/GOD.Agent.147m" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/GOD.Agent.147m", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/WithinUsAI/GOD.Agent.147m
- SGLang
How to use WithinUsAI/GOD.Agent.147m with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "WithinUsAI/GOD.Agent.147m" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/GOD.Agent.147m", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "WithinUsAI/GOD.Agent.147m" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WithinUsAI/GOD.Agent.147m", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use WithinUsAI/GOD.Agent.147m with Docker Model Runner:
docker model run hf.co/WithinUsAI/GOD.Agent.147m
pipeline_tag: text-generation
GOD.Agent.147m
147 million parameter dense decoder-only NLP agent built on the Granite architecture.
Tokenizer, special token IDs, and vocabulary are professionally synchronized with
ibm-granite/granite-4.2-30b.
Designed for multi-step chain-of-thought + tool calling with four explicit thinking intensity modes.
Architecture
| Component | Value |
|---|---|
| Parameters | ~147 M |
| Hidden size | 640 |
| Layers | 14 |
| Attention heads | 10 |
| KV heads (GQA) | 2 |
| Intermediate size | 2560 |
| Vocab size | 100 352 (Granite) |
| Context | 8 192 |
| Activation | SiLU (SwiGLU) |
| Norm | RMSNorm |
| Embeddings | Tied |
| RoPE ฮธ | 1 000 000 |
Agent Protocol (exact format)
The model is trained/prompted as an agent that emits exactly one block per turn:
THOUGHT: <brief reasoning about what to do next>
ACTION: {"tool": "<tool_name>", "args": {<json arguments>}}
or, when the goal is achieved:
FINAL: <the final answer>
The environment answers each ACTION with:
OBSERVATION: <tool output>
Tool schemas are provided in the system block as JSON (the default GODAgent tool
set: read_lines, search_lines, calc_expr, store_fact, delegate_subtask,
finish). Prompts use the following layout:
<|system|>
You are GOD.Agent.147m โ a Granite-based autonomous agent.
THINK MODE: <LOW | MED | HYPER | GOD> (effort level <0..3>/3).
TOOLS (call by emitting one ACTION block per turn):
<tool schema JSON>
RECALLED EPISODIC MEMORY:
- <ranked episodic memories>
<|user|>
GOAL: <user goal>
CONTEXT: <optional bounded context>
<|assistant|>
Think modes
| Mode | Effort | Temperature | top_p | max_new_tokens | Behaviour |
|---|---|---|---|---|---|
| LOW | 0 | 0.2 | 0.90 | 512 | fast path, no memory write-back |
| MED | 1 | 0.6 | 0.92 | 1024 | memory recall + outcome write-back |
| HYPER | 2 | 0.9 | 0.95 | 1536 | automatic deeper retry on failure |
| GOD | 3 | 1.0 | 0.95 | 2048 | external re-verification + full lineage + model retrospective |
Tool calling
Arguments are strict JSON in the ACTION block; unknown tools return an error observation; every tool call is sandboxed with wall-clock timeouts and argument validation, mirroring the SandboxedToolRuntime in the agent source.
From-scratch training
Weights are initialized randomly (clean seed) with the official Granite tokenizer; intended for continued pre-training + agent-behavior fine-tuning on multi-step tool-use traces (THOUGHT/ACTION/OBSERVATION loops).
Intended use & limitations
- Single-file reference agent:
GOD.Agent.147m.py(self-debugging, self-rewriting, meta-evolution, self-modification, episodic memory, autonomous tool harness). - Small 147M model: weak at open-domain knowledge, strong at protocol-following after fine-tuning; always run behind the immutable verifier gates.
Usage
from transformers import pipeline
pipe = pipeline("text-generation", model="11-47/GOD.Agent.147m")
print(pipe("THOUGHT: plan then solve\nGOAL: compute net PAID revenue", max_new_tokens=256))
License: WithInUsAI Non-Commercial Research License
You may freely use, experiment with, pre-train, fine-tune, and train this model for personal and non-commercial research.
If you release or share any modified version, you must:
- Clearly tag it with WithInUsAI
- Include a link back to the original model WithinUsAI/GOD.Agent.147m
You may not sell it, claim it as your own original work, or rebrand it.
Developer: WithInUsAI
Model ID: GOD.Agent.147m
Original Design: Guy E. DuGan II
Release Date: December 5, 2026
Tokenizer is under Apache 2.0 (sourced from ibm-granite/granite-4.2-30b)
- Downloads last month
- -
Model tree for WithinUsAI/GOD.Agent.147m
Unable to build the model tree, the base model loops to the model itself. Learn more.