Text Generation
Transformers
Safetensors
English
thox_microprocessor
thox
tiny-language-model
edge-ai
custom-code
thoxos
meshstack
thoxmicro
local-first
from-scratch
tinystories
story-generation
custom_code
Instructions to use Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories
- SGLang
How to use Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories 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 "Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories with Docker Model Runner:
docker model run hf.co/Thox-ai/ThoxMicroprocessor-8M-Base-TinyStories
Commit History
Today
-
Rebuild model card to TXF-MP standard (exemplar anatomy): Files table rebuilt with verified SHA-256 from the repo tree, status callout added where missing, License before Provenance, Kickstarter banner and link lines removed
Verified signature5749511
4 days ago
-
Repair Highlights bullet cut mid-token in TXF-MP flattening (complete first block kept; duplicated run detail remains under Run it)
Verified signature61010ae -
Fix truncated License cell in Specifications table (TXF-MP sync)
Verified signature6e65e81 -
TXF-MP v1.0 presentation: hero, title lockup, badge table, highlights, specifications, platforms, citation (ThoxMicroprocessor-8M-Base-TinyStories)
Verified signaturea2453ef -
Add hero-family.png hero media (TXF-MP)
Verified signature1a54deb -
Track PNG images as LFS (TXF-MP hero media)
Verified signaturee65aa82 -
Conform model card to THOX Model Card Standard v1.0 (tags, header, files, sections, hygiene)
Verified signature9ab1c4c
5 days ago
-
Model card: apply THOX scrub standard
Verified signature9b7b5c9
12 days ago
-
docs(card): THOX model card standard + ThoxOS/MeshStack usage (Wren pass 2026-10-23)
Verified signatureREADME-only change. No weights touched.84b1eae
-
Upload folder using huggingface_hub
Verified signature7496ed2 -
initial commit
Verified signature2b390d9