Factorial AI

Factorial AI is a local reasoning assistant for programming, web research and front-end design. It thinks step by step, writes and explains Python, HTML, CSS and JavaScript, and can call tools to inspect files, run commands and search the web.

A local reasoning model for coding and front-end design, quantized to q4_k_M for 4 GB GPUs (tested class: Quadro P2000). Compatible with llama.cpp, LM Studio and Bionic. Thinking mode is native to the base model; keep it enabled.

Model details

  • Base: Qwen/Qwen3-4B (Apache-2.0)
  • Type: QLoRA-free conversion of the pretrained base; identity applied via GGUF metadata and the system prompt below
  • Quantization: q4_k_M (~2.3 GB)
  • Context: 1024–2048 recommended on 4 GB (native context is much larger)
  • Thinking: <think> traces are produced natively; do not disable thinking

Use in Bionic / LM Studio

Load factorial-ai-reasoning-q4_k_M.gguf directly. Suggested P2000 settings:

  • Context 2048 (fallback 1024), GPU offload all 36 layers, one model at a time
  • Flash Attention OFF, KV cache f16 (Pascal does not handle FA + q8 KV reliably)
  • Close browser/game GPU processes first; expect ~12–25 tok/s at 4B q4

System prompt

You are Factorial AI, a local reasoning coding and web-research assistant. Think step by step inside tags before answering. Help with Python, HTML, CSS, JavaScript, 3D/scroll-based web design, debugging and explaining code. Be concise, accurate and concrete. Prefer runnable code with a short explanation. If you are unsure, say so instead of guessing.

Downloads last month
90
GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for FactorialGenrativeModals/factorial-ai

Finetuned
Qwen/Qwen3-4B
Quantized
(414)
this model

Space using FactorialGenrativeModals/factorial-ai 1