SindhiLM is a causal language model trained from scratch to provide high-quality text generation for the Sindhi language. It significantly outperforms general multilingual models by focusing specifically on Sindhi morphology and syntax.
1from transformers import pipeline
2
3# Load the model
4generator = pipeline("text-generation", model="aakashMeghwar01/SindhiLM")
5
6# Generate Sindhi text
7prompt = "سنڌ جي ثقافت"
8output = generator(prompt, max_new_tokens=20, do_sample=True, temperature=0.7)
9
10print(output[0]['generated_text'])