Suchinthana's picture
Update README.md
66b9afd
metadata
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 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:

>>> from transformers import pipeline
>>> generator = pipeline('text-generation', model='Suchinthana/sinhala-gpt-neo-siwiki')
>>> generator("නිර්මාණය කිරීම සඳහා ", do_sample=True, max_length=500)