Downloads · 30 days
11
55% of all-time downloads
eswarankrishnamurthy/murli-assistant-distilgpt2-lite
murli-assistant-distilgpt2-lite is a machine learning model from eswarankrishnamurthy. 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 mit.
An ultra-lightweight spiritual AI assistant trained on Brahma Kumaris murli content. Perfect for free Colab and low-resource environments!
Downloads · 30 days
11
55% of all-time downloads
All-time downloads
20
Public
Repo size
917 KB
Likes
0
Public
Click a slice to open those files.
.json8.7 MB · 80%
From the Hugging Face model README
An ultra-lightweight spiritual AI assistant trained on Brahma Kumaris murli content. Perfect for free Colab and low-resource environments!
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
# Load base model
tokenizer = AutoTokenizer.from_pretrained("distilgpt2")
base_model = AutoModelForCausalLM.from_pretrained("distilgpt2")
# Load LoRA adapter
model = PeftModel.from_pretrained(base_model, "eswarankrishnamurthy/murli-assistant-distilgpt2-lite")
# Chat function
def chat(message):
prompt = f"Q: {message}\nA:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=150)
return tokenizer.decode(outputs[0], skip_special_tokens=True)
# Try it
response = chat("Om Shanti")
print(response)
See the full Colab notebook: murli-distilgpt2-colab.ipynb
| Model | Parameters | RAM | Inference | Colab Free |
|---|---|---|---|---|
| DistilGPT-2 (This) | 82M | ~1-2 GB | 0.5-1s | ✅ Perfect |
| Phi-2 | 2.7B | ~10 GB | 1-3s | ❌ Crashes |
| Phi-2 (4-bit) | 2.7B | ~3-4 GB | 1-3s | ⚠️ Tight fit |
✅ Ultra-Lightweight: 30x smaller than Phi-2 ✅ Low RAM: Only 1-2 GB needed ✅ Fast Training: 5-10 minutes ✅ Fast Inference: Sub-second responses ✅ Free Colab: Perfect fit, no crashes ✅ Easy Deployment: Simple integration ✅ Good Quality: Excellent for basic Q&A
[ "30x smaller than Phi-2", "Fits in free Colab RAM easily", "Fast training (5-10 min)", "Fast inference", "Good for basic Q&A" ]
Q: Om Shanti A: Om Shanti, sweet child! 🙏 I'm your Murli Helper. How can I guide you today?
Q: What is soul consciousness? A: Soul consciousness is experiencing yourself as an eternal, pure soul with peace, love, and purity. Om Shanti 🙏
Q: Who is Baba? A: Baba is the Supreme Soul, the Ocean of Knowledge who teaches Raja Yoga through Brahma. Om Shanti 🙏
MIT License - Free to use and modify
@misc{murli-distilgpt2-lite,
author = {eswarankrishnamurthy},
title = {Murli Assistant - DistilGPT-2 Ultra-Lite},
year = {2025},
publisher = {HuggingFace},
url = {https://huggingface.co/eswarankrishnamurthy/murli-assistant-distilgpt2-lite}
}
Om Shanti! 🙏