File size: 962 Bytes
ac0ceeb
 
af0a4b2
 
 
 
 
 
 
66b9afd
 
ac0ceeb
af0a4b2
 
 
a2f66d5
af0a4b2
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
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)
```