|
--- |
|
license: mit |
|
widget: |
|
- text: බාහිර බැටරි |
|
- text: පිරිසිදු පානීය ජලය |
|
- text: පරික්ෂණය භාවිතා කරන විද්යාඥයන් |
|
language: |
|
- si |
|
pipeline_tag: text-generation |
|
datasets: |
|
- wikipedia |
|
--- |
|
|
|
### Fine tuned GPT Neo 125M with Sinhala Wikipedia Dataset |
|
|
|
This model is fine tuned with acrticles from Sinhala Wikipedia [Dataset](https://dumps.wikimedia.org/siwiki/20230201/) for Sinhala text generation. Only the articles with word count in between 60 and 500 were used here. |
|
|
|
### How to use |
|
|
|
You can use this model directly with a pipeline for text generation. This example generates a different sequence each time it's run: |
|
|
|
```py |
|
>>> from transformers import pipeline |
|
>>> generator = pipeline('text-generation', model='Suchinthana/sinhala-gpt-neo-siwiki') |
|
>>> generator("නිර්මාණය කිරීම සඳහා ", do_sample=True, max_length=500) |
|
``` |