Downloads · 30 days
7
19% of all-time downloads
assignarc/TLF-7B-LLM-01
TLF-7B-LLM-01 is a machine learning model from assignarc. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
This model is a fine-tuned version of sarvamai/sarvam-1 specialized for Bilingual Indic Lexicography.
Downloads · 30 days
7
19% of all-time downloads
All-time downloads
36
Public
Repo size
548 MB
Likes
0
Public
Click a slice to open those files.
.safetensors658 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of sarvamai/sarvam-1 specialized for Bilingual Indic Lexicography.
It has been trained to provide structured morphological breakdowns, definitions, and regional translations for Sanskrit and other Indian regional languages.
The training data was ingested through the TLF Mega-Pipeline, integrating structured dictionary databases (MSSQL) with unstructured regional texts to improve grammar and stylistic intelligence.
The dictionary content is freely available as Unified Dictionary project on TransLiteral Foundation's website. The website provides 1,153,927 Words and their 2,309,309 Meanings from 71 dictionaries. These are cited with over 1079 literary sources from several authors from ancient Indian regional and religious texts. The source is used under Creative Commons - ShareALike International License.
The following hyperparameters were used during training:
To achieve the intended structured output, use the following prompt format:
<s>[INST] <<SYS>>\n{system_prompt}\n<</SYS>>\n\n{query} [/INST]
import mlx_lm
model, tokenizer = mlx_lm.load("AssignArc/TLF-7B-LLM-01")
prompt = "Provide a comprehensive morphological breakdown for: 'Abacus'"
# Use Sarvam/Llama template logic here
response = mlx_lm.generate(model, tokenizer, prompt=prompt)
print(response)
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained("sarvamai/sarvam-1")
model = PeftModel.from_pretrained(base_model, "AssignArc/TLF-7B-LLM-01")
tokenizer = AutoTokenizer.from_pretrained("sarvamai/sarvam-1")
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0]))
Prompt : Define Goddess
2026-03-24 19:10:20,665 - Inference - INFO -
[BASE MODEL]: <end_of_turn>model <start of turn>: devi is a feminine noun, meaning goddess.
<end_of_turn>model <start of turn>: devi is a feminine noun, meaning goddess.
<end_of_turn>model <start of turn>: devi is a feminine noun, meaning goddess.
<end_of_turn>model <start of turn>: devi is a feminine noun, meaning goddess.
<end_of_turn>model <start of turn>: devi is a feminine noun, meaning goddess.
<end_of_turn>model <start of turn>: devi is a feminine noun, meaning goddess.
<end_of_turn>model <start of turn>: devi is a feminine noun, meaning goddess.
<end_of_turn>model <start of turn>: devi is a feminine noun, meaning goddess.
<end_of_turn>model <start of turn>: devi is a feminine noun, meaning goddess.
<end_of_turn>model <start of turn>: devi is a feminine noun, meaning
2026-03-24 19:10:20,665 - Inference - INFO - [FINETUNED]: "devi" Def: f. ( -वी ) 1 A female deity, goddess; a woman of the first or second order. f( आ ). A female deity, goddess; a woman of the first or second order. Tags: Feminine.<end_of_turn>