Timegravity

Research

We build small language models that run where the people are. Efficient, sovereign, and open enough to inspect.

Our first model

tamil-lm-2b is Qwen/Qwen3.5-2B-Base adapted to Tamil by continued pretraining, a Tamil tokenizer extension and instruction tuning. It is a 2B-parameter model for everyday Tamil, Tanglish (romanised and code-mixed Tamil) and Tamil-English translation, built to run offline on a phone. It is weak at English reasoning and does not know recent events.

Release
0.1.0-preview, September 2026
Size
2B parameters
Base model
Qwen/Qwen3.5-2B-Base (Apache License 2.0)
Languages
Tamil, Tanglish, English
Licence
Apache License 2.0
Trained on
a single 48 GB GPU, bf16 weights
Repositories
tamil-lm-2b-base (continued pretraining only) and tamil-lm-2b-instruct (instruction tuned)

The model runs offline in our Android app: Timegravity Tamil for Android.

A tokenizer that fits Tamil

We added 22,222 Tamil pieces to the base model's vocabulary, for 270,299 tokens in all. On 10,000 Tamil Wikipedia sentences, Tamil text costs 1.92 tokens per word instead of 6.49. A 4,096-token context now holds about 2,100 Tamil words instead of about 630.

How it was trained

  1. Embedding warmup. The new Tamil embedding rows were initialised from the mean of their old subword rows and trained alone for 200M tokens.
  2. Main run. 1.47B tokens with LoRA adapters and the new embedding rows. Mix by tokens: Tamil web 60%, literature 15%, Tamil-English parallel text 10%, Tanglish 10%, English replay 5%. 7,206 documents that overlapped benchmark test items were removed before sharding.
  3. Top-up. 150M further tokens with more English and arithmetic. The adapters were then merged; this is the released base model.
  4. Instruction tuning. LoRA fine-tuning on the released base model, loss on assistant tokens only. The training file has 50,857 rows: 46,158 benign completions and 4,699 refusal or abstention rows.

What the experiments found

Before the main run, 21 short experiments on a 100M-token subset chose the recipe. The tokenizer extension cut Tamil bits per character by 14%. Learning-rate changes, full MLP fine-tuning, other sequence lengths, the Lion optimizer, more synthetic Tanglish and larger literature or replay shares did not help. A literature gain seen in the short experiments did not survive full-scale training.

Results

Every number comes from the evaluation harness in the GitHub repository (eval/suite.py). The dev split is used for every tuning decision; the test split runs exactly once per model stage, and these are test results. No benchmark data is trained on, and a 13-gram overlap check removed overlapping documents before training.

BenchmarkMetricTest itemsQwen3.5-2B-Base, before any Tamil trainingtamil-lm-2b-basetamil-lm-2b-instruct
Tamil understanding
belebele_taaccuracy7200.2180.2640.272
include_taaccuracy4480.2340.2830.319
indiccopa_taaccuracy4000.4770.5680.568
indicmmlu_pro_taNo stated licence; reported for reference only.accuracy12,0320.1170.1210.120
indicqa_taNot contamination-free for this model.F11,0220.0420.1410.167
indicsentiment_taaccuracy9980.4810.5800.511
indicxnli_taaccuracy5,0100.3330.3480.340
milu_taaccuracy6,3720.2670.2810.292
xlsum_taROUGE-L2,0270.3590.2920.305
Translation
flores_en_tachrF++1,0123.26743.91047.925
flores_en_taBLEU1,0120.07910.41311.241
flores_ta_enchrF++1,01211.88154.02251.521
flores_ta_enBLEU1,0121.49128.86326.949
in22gen_en_tachrF++8203.91338.89241.117
in22gen_en_taBLEU8200.0675.6036.125
in22gen_ta_enchrF++82011.62551.96149.497
in22gen_ta_enBLEU8202.03726.13525.029
Tanglish text (bits per character, lower is better)
tanglish_heldoutbpc2,7403.2533.0403.024
English retention
mmlu_enaccuracy4000.5520.3230.338
gsm8k_enaccuracy1600.6370.0500.069

English regressed: MMLU fell from 0.552 to 0.338 and GSM8K from 0.637 to 0.069. This is the cost of the Tamil training. The serving stack answers arithmetic through a calculator route, not the weights.

IndicQA is not contamination-free for this model: 1022 of 1022 test contexts overlap the training text, because the contexts are Tamil Wikipedia passages and Tamil Wikipedia is in the pretraining data.

Literature recall: not met

The in-weights literature source-identification gate was NOT met: on the 190-item held-out probe (4-way choice, chance 0.25) the released base model scores 0.305. Verbatim quotations of Thirukkural and the other canon works come through the serving stack, which looks the requested unit up in a structured knowledge base and quotes it byte-exactly; the bare weights will paraphrase or misquote. A 74-step checkpoint reached 0.468 on the same gate, but that level did not survive full-scale training in two independent runs (1.26B and 1.47B tokens).

Safety

Every safety gate has two numbers: the bare weights, and the reference serving stack (serve.py: an input and output guard, abstention on office-holder and election questions, self-harm routing to verified helplines, verbatim literature quotes). The release gates are met by the serving stack. The bare weights are not.

GateBare weightsServing stack
Political safety, 100 promptsFAIL, 89 of 100PASS, 100 of 100
Red-team, 366 promptsFAIL, 86 unsafePASS, 0 unsafe
Benign prompts refused2%5%

Child and teen red-team through the serving path, 200 prompts in Tamil, Tanglish and English: 0 failures. The Android app runs with the family-safe filter on by default.

The bare weights carry only light safety tuning. Anyone deploying them without the serving stack must add their own moderation and grounding.

Comparison with other open models

in testing The comparison with other open models under 8B is still running. The model card makes no comparison claim until every model has finished, and neither does this page.

Limitations

  • The weights do not recall verbatim literature or reliably identify sources. Exact quotes come only from the knowledge base through the serving stack.
  • English reasoning regressed badly relative to the base model.
  • The weights state outdated facts as current. Training data predates the 2026 Tamil Nadu election and other 2025-2026 events.
  • The bare weights fail the political-safety and red-team gates on their own.
  • Hosted frontier models are well ahead of this model on reasoning and on most translation directions.

Licence and data

The weights of tamil-lm-2b-base and tamil-lm-2b-instruct are released under the Apache License 2.0, matching the base model Qwen/Qwen3.5-2B-Base (Alibaba Cloud, Apache 2.0). Knowledge packs built from Wikipedia, Wiktionary and Wikibooks are licensed CC BY-SA 4.0 as to their content. Every training source, with its licence, is listed in the data card and the licence register. This is an independent research project; no legal review has been performed on data licensing.

Data card. Licence register.

Report a problem

Report unsafe outputs, data or licensing concerns, or errors to contact@timegravity.ai. Include the prompt, the response and the model version.

Every number on this page is from the model card, read on 15 September 2026.

Research at Timegravity Labs Private Limited, Coimbatore, Tamil Nadu, India.