MANAS-MFG
MANAS-MFG is a helpful AI assistant for engineering and manufacturing. It computes internally (arithmetic, formulas, math), recalls its own knowledge, thinks step-by-step, explains algorithms, writes code, and chats โ all without needing external tools.
Author: @k_k_kaundal on X
What it does
- ๐ฌ Natural conversation and question answering
- โ In-weights arithmetic โ solves math step-by-step internally (no calculator)
- ๐ Applies formulas โ percent, algebra, geometry, calculus, physics, engineering (feed rate, F=ma, Ohm's law, torque, โฆ)
- ๐ง Thinks & recalls โ reasons step-by-step and recalls what it knows (and says "I don't know" when it doesn't)
- ๐ญ Manufacturing knowledge โ dimensions, tolerances, fits (H7/g6), GD&T, threads, machining, G-code
- ๐งฎ Algorithms โ explains and applies DSA (sorting, searching, complexity)
- ๐ Writes code โ Python (and more)
- โ Self-corrects โ catches and fixes its own mistakes
Files
manas-mfg.ptโ the model weights (PyTorch checkpoint, 430M params)tokenizer.model/tokenizer.vocabโ the SentencePiece tokenizer
Usage
import torch
from huggingface_hub import hf_hub_download
# 1) download weights + tokenizer
model_path = hf_hub_download("kaundalvip/manas-mfg", "manas-mfg.pt")
tok_path = hf_hub_download("kaundalvip/manas-mfg", "tokenizer.model")
# 2) load the checkpoint
ckpt = torch.load(model_path, map_location="cpu")
# ckpt["model"] -> the model weights (state_dict)
# ckpt["cfg"] -> the model configuration
# 3) build your model from ckpt["cfg"], load ckpt["model"] weights,
# and generate text with the tokenizer (SentencePiece).
Examples
You: What is 931 * 49?
MANAS: 931*40 = 37240, 931*9 = 8379, sum = 45619. 931 * 49 = 45619.
You: A mass of 10 kg accelerates at 3 m/s^2. Force?
MANAS: Using F = m x a: the answer is 30 N.
You: RPM=8000, chip load 0.05 mm, 2 flutes. Feed rate?
MANAS: feed = RPM x chip load x flutes = 8000 x 0.05 x 2 = 800 mm/min.
You: What kind of fit is H7/g6?
MANAS: H7/g6 is a clearance/running fit: hole basis H7, shaft g6.
You: Explain binary search and its complexity.
MANAS: Binary search halves a sorted array each step. O(log n) time.
Notes
- 430M parameters, lightweight and efficient โ runs on a laptop.
- Best at short, direct questions in engineering, math, code, and everyday conversation.
Connect
Built by K K Kaundal โ follow on X: @k_k_kaundal