TwIL-LM3
webAI's reasoning and formal-logic tuned SmolLM3 model.
Working when we checked on .
What is TwIL-LM3?
TwIL-LM3 is a 3.08B-parameter reasoning language model specialized in formal logic tasks, built from HuggingFaceTB/SmolLM3-3B via LoRA fine-tuning, checkpoint fusion, WiSE-FT interpolation, and GRPO reinforcement learning. It targets researchers and developers working on FOL translation, entailment, semantic parsing, and Lean formalization or proof critique. It improves in-domain formal-logic performance by +26% relative over its base model (macro gate 0.336 to 0.422) while also gaining on held-out benchmarks. It emits a <think>...</think> reasoning block, runs in about 4 GB of VRAM (Q4_K_M GGUF at 1.78 GiB), and carries a 65,536-token context window.
TwIL-LM3 pricing
Pricing model: Free
Free open weights download under webAI Non-Commercial License ver. 1.0
TwIL-LM3 pros
- Improves both in-domain formal logic (+26% relative) and held-out benchmark performance
- Beats models up to LFM2.5-8B-A1B on all six Track A lanes and all four summary rows
- Most efficient arm measured: 32.9 completed answers per second in Track B
- Runs on CPU or 4 GB VRAM via 1.78 GiB Q4_K_M GGUF quantization
- Lowest math-corpus perplexity (3.8229) of any released arm in the table
- Produces structured formal outputs: FOL translations, entailment labels, semantic parses, Lean statements
TwIL-LM3 cons
- Not a general assistant: no safety or preference tuning beyond what SmolLM3 carries
- Instruction following regressed slightly after fine-tuning
- Long-context performance beyond 8,192 tokens is inherited from the base model, not validated
- Non-commercial license restricts usage; no pricing or support plans documented
Frequently asked questions about TwIL-LM3
What is TwIL-LM3?
TwIL-LM3 is a 3B reasoning model for formal logic tasks, built from HuggingFaceTB/SmolLM3-3B through LoRA supervised fine-tuning, checkpoint fusion, WiSE-FT weight interpolation, and entropy-weighted GRPO reinforcement learning.
What tasks is TwIL-LM3 specialized in?
It is tuned for formal logic: FOL translation, entailment labeling, semantic parsing, Lean formalisation, and Lean proof critique.
How much does TwIL-LM3 cost?
The model weights are freely available on Hugging Face under the webAI Non-Commercial License ver. 1.0, which restricts usage to non-commercial purposes.
What hardware is needed to run it?
It has 3.08B parameters in bf16 (5.73 GiB). The Q4_K_M GGUF build is 1.78 GiB and runs on CPU or with 4 GB of VRAM.
What is the context window?
The model carries the base model's 65,536-token context window unchanged, though all published scores were measured within an 8,192-token window and longer contexts were not validated.
Who is TwIL-LM3 for?
It is aimed at researchers and developers working on formal logic tasks such as first-order logic translation, entailment, semantic parsing, and Lean theorem formalisation, not general assistant use.
How does it reason?
It emits a <think>...</think> reasoning block before the answer, and was evaluated with greedy decoding, 2048 new tokens, and max_seq_len 8192.
How does it compare to larger models?
It beats every arm up to and including LFM2.5-8B-A1B (roughly three times its parameter count) on all six Track A objective lanes, and on strict-7 scoring sits only 0.012 behind Qwen3-8B at 2.6x fewer parameters.
Are there limitations?
It is not a general assistant: there is no safety or preference tuning beyond what SmolLM3 carries, and instruction following regressed slightly after fine-tuning.
Is there a newer version of the model?
Yes. The creators recommend TwIL-LM3-Pro, a 3.66B-parameter version, and a TwIL-LM3* variant with better benchmark results whose weights will be released soon.