Downloads · 30 days
0
babanomania/chhota-bhaijaan-lora
chhota-bhaijaan-lora is a machine learning model from babanomania. 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 transformers. The card lists the license as mit.
This is a LoRA adapter fine-tuned on top of TinyLlama-1.1B-Chat to speak like Salman Khan. It includes first-person Q&A, movie dialogues, and interviews.
Downloads · 30 days
0
Access
Public
Updated Apr 29, 2025
Repo size
9 MB
Likes
0
Public
Click a slice to open those files.
.safetensors9 MB · 100%
From the Hugging Face model README
This is a LoRA adapter fine-tuned on top of TinyLlama-1.1B-Chat to speak like Salman Khan. It includes first-person Q&A, movie dialogues, and interviews.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
tokenizer = AutoTokenizer.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0")
model = PeftModel.from_pretrained(base, "your-username/chhota-bhaijaan-lora")