Datasets:
Manthila Mallawa commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,65 +1,44 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: style
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: length_class
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: ps_L
|
| 21 |
-
dtype: float64
|
| 22 |
-
- name: ps_avg
|
| 23 |
-
dtype: float64
|
| 24 |
-
- name: ps_median
|
| 25 |
-
dtype: float64
|
| 26 |
-
- name: ps_p90
|
| 27 |
-
dtype: float64
|
| 28 |
-
- name: ps_stdev
|
| 29 |
-
dtype: float64
|
| 30 |
-
- name: ps_short
|
| 31 |
-
dtype: float64
|
| 32 |
-
- name: ps_fullstop
|
| 33 |
-
dtype: float64
|
| 34 |
-
- name: ps_rhymeish
|
| 35 |
-
dtype: float64
|
| 36 |
-
- name: ps_stanzas
|
| 37 |
-
dtype: float64
|
| 38 |
-
- name: ps_long_ratio
|
| 39 |
-
dtype: float64
|
| 40 |
-
- name: ps_latin_frac
|
| 41 |
-
dtype: float64
|
| 42 |
-
- name: ps_sent_like
|
| 43 |
-
dtype: float64
|
| 44 |
-
- name: ps_list_ratio
|
| 45 |
-
dtype: float64
|
| 46 |
-
- name: ps_caption_hit
|
| 47 |
-
dtype: float64
|
| 48 |
-
- name: ps_dup_line_ratio
|
| 49 |
-
dtype: float64
|
| 50 |
-
- name: ps_music_hit
|
| 51 |
-
dtype: float64
|
| 52 |
-
- name: ps_title_junk_top
|
| 53 |
-
dtype: float64
|
| 54 |
-
splits:
|
| 55 |
-
- name: train
|
| 56 |
-
num_bytes: 3369633.806776384
|
| 57 |
-
num_examples: 206
|
| 58 |
-
download_size: 328909
|
| 59 |
-
dataset_size: 3369633.806776384
|
| 60 |
-
configs:
|
| 61 |
-
- config_name: default
|
| 62 |
-
data_files:
|
| 63 |
-
- split: train
|
| 64 |
-
path: data/train-*
|
| 65 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- si
|
| 4 |
+
task_categories:
|
| 5 |
+
- text-generation
|
| 6 |
+
license: cc-by-4.0
|
| 7 |
+
pretty_name: Sinhala Poems (Blogspot/WordPress) Filtered
|
| 8 |
+
size_categories:
|
| 9 |
+
- n<1K
|
| 10 |
+
tags:
|
| 11 |
+
- poetry
|
| 12 |
+
- sinhala
|
| 13 |
+
- filtering
|
| 14 |
+
- weak-supervision
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# Sinhala Poems (Filtered)
|
| 18 |
+
|
| 19 |
+
Curated Sinhala poem blocks extracted from web blogs using a verse-shaped heuristic (v3.4) with weak attributes (theme/mood/style) and stats.
|
| 20 |
+
|
| 21 |
+
## Columns
|
| 22 |
+
- `text`: full original block (cleaned)
|
| 23 |
+
- `snippet`: first stanza or 8 lines
|
| 24 |
+
- `url`: source URL
|
| 25 |
+
- `subtype`: poem | song_like | promo_like | unknown
|
| 26 |
+
- `keep`: boolean accepted by filter
|
| 27 |
+
- `theme`, `mood`, `style`, `length_class`: weak labels
|
| 28 |
+
- `ps_*`: structure stats (floats)
|
| 29 |
+
|
| 30 |
+
## Filtering summary
|
| 31 |
+
- Boilerplate/HTML stripped, list/caption/music/brand guards
|
| 32 |
+
- Verse-shape: short-line %, stanza count, suffix rhyme-ish, low sentence-like rate
|
| 33 |
+
- Non-poem subtypes dropped
|
| 34 |
+
|
| 35 |
+
## Intended use
|
| 36 |
+
- SFT for Sinhala poem generation
|
| 37 |
+
- Binary/tri-class “poem vs not-poem” training
|
| 38 |
+
- Style/mood conditioning
|
| 39 |
+
|
| 40 |
+
### Load
|
| 41 |
+
```python
|
| 42 |
+
from datasets import load_dataset
|
| 43 |
+
ds = load_dataset("your-username/sinhala-poems-blogspot-v1")
|
| 44 |
+
print(ds)
|