Eternity-AI-4B
Agentic language model for operating systems
2 min readupdated
The Eternity-AI-4B model is a fine-tuned version of the Qwen/Qwen3.5-4B base (featuring a native 262,144-token context), built to serve as an intelligent operating system core. It combines a hybrid Gated DeltaNet and Full Attention architecture, delivering high accuracy in programming and tool-calling tasks. The fine-tuning was performed using 16-Bit BF16 LoRA (a lightweight adaptation layer over the base model) without quantization loss, allowing the model to run on consumer graphics cards with 4 GB of VRAM.
Key features
- Pure 16-bit BF16 LoRA: adaptation of all layers without quality loss for comfortable local execution.
- Balanced training: utilization of the OpenThoughts, OpenR1-Math, Tulu-3, and OS anatomy datasets.
- Strict tool-calling discipline: reliable work with XML tools and multi-step error recovery.
- Bilingualism: native support for English and Tamil has been preserved.
What you can do
- CLI agent integration: use the model as a local assistant for operating system management and script execution.
- Tool development: apply it to tasks requiring strict adherence to XML formats and structured function calls.
- Long context analysis: process large documents and codebases thanks to native long-context support.
Example
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "Muthu88/Eternity-AI-4B"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map='auto')
Read more
DetailsBenchmarks: 100.0% on the internal Eternity AGI & Long-Context test (62/62).
Hardware: tested on an RTX 5080 (16 GiB) and locally on a 4 GB VRAM GPU.
Training: Multi-Stage SFT on AGI and Sovereign OS datasets, LoRA parameters r=32, alpha=64.










Comments