Thuli Arunachala AI
AI tutor for engineering students
2 min read
This specialized fine-tune of the google/gemma-4-E4B-it language model (an open-weight model with 7.94 billion parameters) is built to help engineering students with their studies. It explains complex concepts in simple terms, writes and debugs code across multiple programming languages, and helps students prepare for university-style exams. The model supports English and a mix of English and Tamil (Tanglish). This release is useful for engineering students and educators looking for interactive learning tools.
Key features
- Explaining engineering concepts with real-world analogies and examples.
- Generating and debugging complete code in C, C++, Java, Python, Verilog, MATLAB, and SQL.
- Preparing university-style answers broken down into steps with point allocations.
- Supporting Tanglish (a mix of Tamil and English) for communicating in familiar slang.
What you can do
- Running the model locally via GGUF build to create a personal study assistant chatbot.
- Integrating the model into educational apps to generate quizzes and evaluate written student answers.
- Using it to help write code and fix syntax errors across various programming languages.
Example
from transformers import AutoProcessor, AutoModelForCausalLM
import torch
model = AutoModelForCausalLM.from_pretrained(
"arunchala/thuli-arunachala-ai", dtype=torch.bfloat16, device_map="auto")
proc = AutoProcessor.from_pretrained(
"arunchala/thuli-arunachala-ai")
tok = proc.tokenizer
msgs = [{"role": "user", "content": "Explain pointers in C with a real-life example."}]
text = tok.apply_chat_template(msgs, add_generation_prompt=True, tokenize=False)
ids = tok(text, return_tensors="pt", add_special_tokens=False).to(model.device)
out = model.generate(**ids, max_new_tokens=500, do_sample=False)
print(tok.decode(out[0][ids["input_ids"].shape[-1]:], skip_special_tokens=True))
Read more
DetailsBase model: google/gemma-4-E4B-it (7.94B)
Training method: QLoRA (4-bit, r=32, alpha=64), 2 epochs
Final evaluation loss: 0.561
Limitations: The model fetches course codes and curricula from an external database at runtime and does not replace official textbooks on its own. License: Apache 2.0.










Comments