# webAI Releases TwIL-LM: A 1.7B and 3B Formal-Logic Model Family for Autoformalization on Local Hardware

> Source: <https://www.marktechpost.com/2026/08/10/webai-releases-twil-lm-a-1-7b-and-3b-formal-logic-model-family-for-autoformalization-on-local-hardware/>
> Published: 2026-08-11 06:20:09+00:00

webAI has released [TwIL-LM](https://huggingface.co/webAI-Official/TwIL-LM), a [two-model family of formal-logic reasoners at 1.7B and 3B parameters](https://www.webai.com/blog/webai-releases-twil-lm-a-family-of-formal-logic-models-that-outreason-a-120b-model-and-run-on-an-iphone). The 3B member, [TwIL-LM3](https://huggingface.co/webAI-Official/TwIL-LM3), is a merged fine-tune of [SmolLM3-3B](https://huggingface.co/HuggingFaceTB/SmolLM3-3B); the 1.7B member is a PEFT LoRA adapter for [SmolLM2-1.7B-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct). Both target [autoformalization](https://arxiv.org/abs/2205.12615): translating English into first-order logic and checking whether a conclusion follows from its premises. Both run locally, with a 1.06 GB quantized build for the 1.7B and a 1.78 GiB `Q4_K_M`

GGUF for the 3B. webAI’s [announcement](https://www.webai.com/blog/webai-releases-twil-lm-a-family-of-formal-logic-models-that-outreason-a-120b-model-and-run-on-an-iphone) frames the release around beating gpt-oss-120b on four of five formal-reasoning lanes.

**Is it deployable?**

**Partially**. Non-commercial use only, as of now.

Both checkpoints ship under the [webAI Non-Commercial License ver. 1.0](https://huggingface.co/webAI-Official/TwIL-LM3). Revenue-generating deployment requires a separate agreement with webAI.

**Company level:** any size. The 3B`Q4_K_M`

GGUF is 1.78 GiB and runs on CPU or 4 GB of VRAM. The 1.7B`Q4_K_M`

is 1.06 GB.**Industries:** compliance and RegTech, financial services, healthcare and pharma, legal and contract operations, formal-methods research. webAI positions local execution for environments where data cannot leave the device.**Applications:** first-order logic (FOL) translation, entailment classification over premise sets, natural language to structured query,[Lean](https://lean-lang.org/)formalization drafting and critique, and a verifier layer that checks a larger model’s output.

**How TwIL-LM3 was built?**

Four stages sit on top of the base model. LoRA supervised fine-tuning on a synthetic formal-logic corpus. Checkpoint fusion, averaging intermediate SFT checkpoints in parameter space. WiSE-FT interpolation back toward the pretrained base at **λ = 0.25**. Then MGPO, an entropy-weighted [GRPO](https://arxiv.org/abs/2402.03300) stage run against a programmatic verifier. The published checkpoint is step 2071.

That λ is load-bearing: only a quarter of the fine-tuned delta is retained. A sibling arm that skipped the interpolation scored higher in-domain, at macro gate 0.515, but gave back roughly twelve points of held-out capability. webAI did not publish that arm.

**Performance**

webAI's announcement lists 96.4 on rule induction, 87.6 on semantic parsing, 64.6 on Lean formalization, 52.0 on exact-format answering, and 68.7 on entailment labeling.

It reports two tracks. On Track A, in-domain formal logic, TwIL-LM3 scores 0.4488 on the six-lane average and 0.4218 on the macro gate, the metric the training pipeline gates on. It leads every arm up to and including LFM2.5-8B-A1B on all six objective lanes, at 0.4218 against 0.3757 with a third of the parameters. It does not lead the two largest arms. [Qwen3-8B](https://huggingface.co/Qwen/Qwen3-8B) takes the gate 0.5336 to 0.4218, but most of that is loose-match credit; under strict-7 the two sit at 0.2093 and 0.1971. [gpt-oss-120b](https://huggingface.co/openai/gpt-oss-120b) takes the six-lane average 0.5192 to 0.4488.

Efficiency is where the model card is unambiguous. TwIL-LM3 produces the shortest generations of any arm, 482 tokens on Track B, and consequently the most answers per second at 32.9 against the 120B's 4.2.

**Held-out transfer**

TwIL-LM3 improves in-domain by +26% relative, macro gate 0.336 to 0.422, while also gaining +0.022 on the held-out core average. The model card calls it the only arm in the project that gains on both tracks. LogicBench moves to 0.7167 from 0.6467. GSM8K slips slightly to 0.8733 from 0.8833, and IFEval regresses to 0.6433 from 0.6767.

The 1.7B is a different trade. Its macro-primary score is 0.361 against 0.185 for the unadapted base. Out-of-distribution results are mixed: LogicBench BQA improves to 0.590 from 0.563, while GSM8K falls to 0.380 from 0.413 and ARC-C chain-of-thought falls to 0.463 from 0.587.

**Key Takeaways**

- TwIL-LM3 (3B) and TwIL-LM (1.7B) target formal logic, both under a non-commercial license.
- Shipping TwIL-LM3 trails gpt-oss-120b on the six-lane average, 0.4488 to 0.5192.
- Its real edge is efficiency: 32.9 answers/sec from 482-token generations.
- WiSE-FT at λ = 0.25 is why in-domain gains do not collapse held-out performance.

Check out the** Model weights **and

**.**

[Technical details](https://www.webai.com/blog/webai-releases-twil-lm-a-family-of-formal-logic-models-that-outreason-a-120b-model-and-run-on-an-iphone)**Also, feel free to follow us on**

**and don’t forget to join our**[Twitter](https://x.com/intent/follow?screen_name=marktechpost)

**and Subscribe to**

[150k+ML SubReddit](https://www.reddit.com/r/machinelearningnews/)**. Wait! are you on telegram?**

[our Newsletter](https://magic.beehiiv.com/v1/f5e63dd4-5653-4f09-83e2-321a8b1ba526?email={{email}})

[now you can join us on telegram as well.](https://t.me/machinelearningresearchnews)Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? [Connect with us](https://forms.gle/wbash1wF6efRj8G58)

Michal Sutter is a data science professional with a Master of Science in Data Science from the University of Padova. With a solid foundation in statistical analysis, machine learning, and data engineering, Michal excels at transforming complex datasets into actionable insights.
