Downloads · 30 days
302
60% of all-time downloads
dvitvaai/pothana-sp-base-300M
pothana-sp-base-300M is a text generation model from dvitvaai. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A 387M parameter LLaMA-style language model trained from scratch on Telugu text.
Downloads · 30 days
302
60% of all-time downloads
All-time downloads
500
Public
Parameters
726M
2.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.9 GB · 100%
From the Hugging Face model README
A 387M parameter LLaMA-style language model trained from scratch on Telugu text.
Named after Bammera Pothana, the celebrated 15th-century Telugu poet who authored the Andhra Maha Bhagavatamu.
Developed by Dvitva AI.
| Model | pothana-base-300M |
| Architecture | LLaMA (RoPE + SwiGLU + RMSNorm + GQA) |
| Parameters | 387M (unique) |
| Hidden size | 1024 |
| Layers | 30 unique (60 effective via weight sharing) |
| Attention heads | 16 Q / 4 KV (Grouped Query Attention) |
| Intermediate size | 2816 |
| Context length | 2048 |
| Vocab size | 48,000 |
| Tokenizer | SentencePiece Unigram (48K) |
| Training | Single GPU, bf16 mixed precision |
| Developed by | Dvitva AI |
from transformers import pipeline
pipe = pipeline("text-generation", model="dvitvaai/pothana-base-300M", trust_remote_code=True)
result = pipe("తెలుగు భాష", max_new_tokens=50, do_sample=True, temperature=0.8)
print(result[0]["generated_text"])
Note:
trust_remote_code=Trueis required for the custom tokenizer that cleans up SentencePiece word boundary markers for readable output.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained("dvitvaai/pothana-base-300M")
tokenizer = AutoTokenizer.from_pretrained("dvitvaai/pothana-base-300M", trust_remote_code=True)
text = "తెలుగు భాష చాలా అందమైనది"
inputs = tokenizer(text, return_tensors="pt")
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=100,
temperature=0.8,
top_k=50,
do_sample=True,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model uses a SentencePiece Unigram tokenizer with a 48K vocabulary, trained directly on Telugu text.
Key features:
Apache 2.0
If you use this model, please cite:
@misc{pothana-base-300M,
title={Pothana Base 300M: A Telugu Language Model},
author={Dvitva AI},
year={2025},
url={https://huggingface.co/dvitvaai/pothana-base-300M}
}