Downloads · 30 days
9
17% of all-time downloads
Isuru0x01/xlm-roberta-sinhala-story-turbo
xlm-roberta-sinhala-story-turbo is a fill-mask model from Isuru0x01. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as unknown.
The Sinhala Story Generation Model is based on fine-tuning the XLM-RoBERTa base model on a dataset of Sinhala language stories. It is designed to generate coherent and contextually relevant Sinhala text based on story…
Downloads · 30 days
9
17% of all-time downloads
All-time downloads
53
Public
Parameters
278M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 98%
From the Hugging Face model README
The Sinhala Story Generation Model is based on fine-tuning the XLM-RoBERTa base model on a dataset of Sinhala language stories. It is designed to generate coherent and contextually relevant Sinhala text based on story beginnings.
The model is intended for generating creative Sinhala stories or text based on initial prompts. It can be used in applications requiring automated generation of Sinhala text, such as chatbots, content generation, or educational tools.
To use the model for inference via the Hugging Face Inference API, consider the following example Python code:
model_name = "your-username/model-name"
generator = pipeline("text-generation", model=model_name, tokenizer=model_name)
input_text = "අද සුන්දර දවසක්. හෙට ගැන සිතමින් මම පාර <mask>"
output = generator(input_text, max_length=150, num_return_sequences=1)
print(output[0]['generated_text'])```