Downloads · 30 days
37
14% of all-time downloads
Ekansh16/hinglish-song-generator-gguf
hinglish-song-generator-gguf is a text generation model from Ekansh16. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A quantized GGUF version of the fine-tuned Mistral 7B Hinglish Song Generator. Runs locally on CPU or GPU using Ollama, LM Studio, or llama.cpp. No internet required after download.
Downloads · 30 days
37
14% of all-time downloads
All-time downloads
269
Public
Repo size
4.4 GB
Likes
0
Public
Click a slice to open those files.
.gguf4.4 GB · 100%
From the Hugging Face model README
A quantized GGUF version of the fine-tuned Mistral 7B Hinglish Song Generator. Runs locally on CPU or GPU using Ollama, LM Studio, or llama.cpp. No internet required after download.
Give it any context — brand launch, wedding, festival, motivation — and it generates a complete Hinglish song with verse, chorus, and outro.
# Pull and run directly
ollama run hf.co/Ekansh16/hinglish-song-generator-gguf
# Or create a custom Modelfile for best results
Recommended Modelfile for Ollama:
FROM hf.co/Ekansh16/hinglish-song-generator-gguf
PARAMETER temperature 0.8
PARAMETER top_p 0.92
PARAMETER top_k 50
PARAMETER repeat_penalty 1.2
PARAMETER num_predict 400
SYSTEM "You are an expert Hinglish song lyricist. Write songs mixing English grammar with Hindi/Urdu words naturally. Always use Verse 1, Chorus, Verse 2, Outro structure."
ollama create hinglish-generator -f Modelfile
ollama run hinglish-generator
Ekansh16/hinglish-song-generator-gguf in the model browserhinglish-q4_k_m.gguf./llama-cli \
-m hinglish-q4_k_m.gguf \
-p "<s>[INST] A startup called ZapCart launching electric scooters for young Indians on August 1st. Energetic vibe. [/INST]" \
--temp 0.8 \
--top-p 0.92 \
--top-k 50 \
--repeat-penalty 1.2 \
-n 400
from llama_cpp import Llama
llm = Llama(
model_path="hinglish-q4_k_m.gguf",
n_ctx=1024,
n_threads=4,
)
context = """
A startup called ZapCart is launching their electric scooter on August 1st.
Target audience is young Indians aged 18-30.
Vibe should be energetic and aspirational.
"""
result = llm(
f"<s>[INST] {context} [/INST]",
max_tokens=400,
temperature=0.8,
top_p=0.92,
top_k=50,
repeat_penalty=1.2,
stop=["</s>", "[INST]"],
echo=False,
)
print(result["choices"][0]["text"])
Prompt: "A new clothing brand called DesiThreads launching their festive Diwali collection on October 20th for young Indians aged 18-35."
Verse 1:
Lights glow kar rahi hain har gali aur bazaar,
DesiThreads leke aaya naya fashion ka tyohaar.
October 20th ko khulega humne apna darwaaza,
Pura India karenge hum style ke hi baahaar.
Chorus:
Yeh desi vibes, yeh modern swag apna,
Festive season mein pura magic dikha apna.
Dil ki hai yaari aur sapnon ki udan,
Let's celebrate Diwali with DesiThreads ki shaan.
Verse 2:
Traditional designs ka naya twist laaye hain yaar,
Cuts hain trendy aur fit hai ekdum tight,
Zindagi ke safar mein ab look tera bright.
Outro:
Hausla buland hai aur dil mein hai josh,
DesiThreads ke sang aaj manao ye josh.
| File | Quantization | Size | Use case |
|---|---|---|---|
hinglish-q4_k_m.gguf | Q4_K_M | ~4.5 GB | Best balance of quality and speed — recommended |
Q4_K_M retains ~99% of original model quality at 31% of the original size (down from 14.5GB). Recommended for all local inference use cases.
This model uses Mistral instruction format. Always wrap your context in [INST] tags:
<s>[INST] your context here [/INST]
Write rich prompts for best results. Include:
Good:
A wedding sangeet ceremony. Groom from Delhi, bride from Jaipur.
Fun, filmy, and emotional Bollywood style.
Too vague:
Make a wedding song
| Hardware | Inference speed | Time for full song (400 tokens) |
|---|---|---|
| Apple M2 | ~25 tokens/sec | ~16 seconds |
| RTX 3080 (GPU) | ~60 tokens/sec | ~7 seconds |
| Intel i7 CPU | ~8 tokens/sec | ~50 seconds |
| Free HF CPU Space | ~2 tokens/sec | ~3-5 minutes |
The model generates Hinglish — English sentence structure with Hindi/Urdu words woven in naturally:
Chal udd chalo yaar, it's time to fly high ← natural Hinglish
ZapCart pe ride kar, life ho gayi clean ← brand + Hinglish
Mehnat aur hausla, tera mera ye style ← Hindi emotional words
Common Hindi/Urdu words used: yaar, dil, zindagi, sapna, apna, mehnat, hausla, manzil, safar, pyaar, dosti, khushi
| Detail | Value |
|---|---|
| Base model | Mistral 7B Instruct v0.2 |
| Fine-tuning method | QLoRA (LoRA rank 16, alpha 32) |
| Training examples | 5,952 |
| Dataset | Bollywood lyrics + synthetic promotional data |
| Training GPU | Kaggle T4 |
| Training time | 11 hours 20 minutes |
| Final val loss | 0.6069 |
| Epochs | 3 |
If you need the full model for further fine-tuning or high-precision inference:
👉 Ekansh16/hinglish-song-generator-merged — 14.5GB, transformers-compatible