thox-micro-125m

License Params Format

Your AI. Your Data. Your Rules.

From-scratch 123M Llama-architecture base/completion model for edge and on-device use.

What this is

  • Trained from scratch (THOX-owned) — Apache-2.0.
  • Base/completion model, not an instruction-tuned assistant.
  • Best validation loss 2.6099 (internal eval).

Architecture (from config)

Field Value
Architecture LlamaForCausalLM
Layers 12
Hidden size 768
Attention heads 12
KV heads 12 (full MHA, no GQA)
FFN / intermediate 2048
Vocab 50,304 (GPT-2 r50k)
Max context 1024
Tied embeddings yes
dtype float16

Intended use

On-device / edge text generation within the THOX stack. Not a safety-aligned public assistant unless deployed behind THOX guardrails.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("Thox-ai/thox-micro-125m")
model = AutoModelForCausalLM.from_pretrained("Thox-ai/thox-micro-125m")

Links


THOX.ai LLC — Your AI. Your Data. Your Rules. · On-device and private by design.

Temporary demo Space: tommytracx/thox-micro-125m-Space (org Space paused on quota).

Files

File Size SHA-256
model.safetensors 247.19 MB (247,186,856 B) d0a7cbd9bd2ca32e7150bb6b61ed78d935b64b0de046baca2ed036c86461cc49
thox-micro-125m.Q4_0.gguf 81.32 MB (81,318,848 B) cbd9d0ff263140a7c11c85b7a5689d7f9e83b9ddc3f82130f5c8dc4706a3a503
thox-micro-125m.Q4_K_M.gguf 84.66 MB (84,664,256 B) 51e3442728ae2ce339416f8afc745c00da6b65f278d20f85bcea98d7fc8c6bbb
thox-micro-125m.f16.gguf 248.99 MB (248,987,840 B) 1fa8b56e5e338e4bce48deabc8cbd63a7462620764e9d52976671cd2ebddda2f

Use with ThoxOS

Download the file once and run it fully offline on a ThoxOS host (or any Linux/macOS/Windows machine):

pip install -U "huggingface_hub[cli]"
hf download Thox-ai/thox-micro-125m thox-micro-125m.Q4_K_M.gguf --local-dir ./thox-micro-125m
llama-cli -m ./thox-micro-125m/thox-micro-125m.Q4_K_M.gguf -p "Hello" -n 128

Ollama (pulls straight from the Hub):

ollama run hf.co/Thox-ai/thox-micro-125m:Q4_K_M

LM Studio: search Thox-ai/thox-micro-125m in the model browser (or lms get Thox-ai/thox-micro-125m), pick thox-micro-125m.Q4_K_M.gguf, and load it.

Use with MeshStack

Serve the model as an OpenAI-compatible endpoint on any MeshStack node, then register that endpoint with your MeshStack coordinator (protocol openai, base URL http://<node-ip>:8080/v1; or protocol ollama at http://<node-ip>:11434 if you serve it with Ollama).

llama-server -m ./thox-micro-125m/thox-micro-125m.Q4_K_M.gguf --host 0.0.0.0 --port 8080 -c 4096
curl http://<node-ip>:8080/v1/chat/completions -H 'Content-Type: application/json' \
  -d '{"messages":[{"role":"user","content":"Hello"}]}'

Device fit (by file size only)

  • thox-micro-125m.Q4_0.gguf (81.32 MB): Small (<600 MB): single-board computers with ≥1 GB RAM, phones, any laptop/desktop.
  • thox-micro-125m.Q4_K_M.gguf (84.66 MB): Small (<600 MB): single-board computers with ≥1 GB RAM, phones, any laptop/desktop.
  • thox-micro-125m.f16.gguf (248.99 MB): Small (<600 MB): single-board computers with ≥1 GB RAM, phones, any laptop/desktop.

RAM needed ≈ file size + context (KV cache) + runtime overhead. These tiers are derived from file size alone; no throughput, TOPS or battery figures are claimed here.

Licence and attribution

Trained from scratch by THOX.ai LLC; Apache-2.0.

Out of scope

  • Medical, legal, financial, safety-critical or other high-stakes decisions without human review.
  • Unattended control of physical devices or actuators without a confirmation step.
  • Any use prohibited by the upstream licence or acceptable-use policy.

Limitations and bias

  • Small and quantized models make factual mistakes and can produce confident but wrong output; verify important answers.
  • Behaviour and bias reflect the training data, which is mostly English web/instruction text; quality in other languages is lower unless stated above.
  • Quantization trades accuracy for size; lower-bit files degrade more.

THOX.ai LLC — Your AI. Your Data. Your Rules.™ · thox.ai · Contact: tommy@thox.ai

Downloads last month
429
Safetensors
Model size
0.1B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Thox-ai/thox-micro-125m

Finetunes
1 model
Quantizations
2 models

Spaces using Thox-ai/thox-micro-125m 2

Collection including Thox-ai/thox-micro-125m