Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
10
80
book_id
stringlengths
5
75
book_title
stringlengths
2
77
author
stringclasses
792 values
genres
listlengths
0
4
series
stringclasses
43 values
chapter_index
int64
1
6.34k
chapter_title
stringlengths
0
284
level
stringclasses
2 values
chars
int64
51
516k
source_url
stringlengths
42
240
text
stringlengths
51
516k
33250#0001
33250
The Bandit of Hell’s Bend
null
[ "english-books" ]
null
1
TOUGH LUCK
lesson
19,651
https://www.ebanglalibrary.com/lessons/34019/
Chapter 1 – TOUGH LUCK Chapter 1 TOUGH LUCK A HALF-dozen men sprawled comfortably in back-tilted chairs against the side of the Bar Y bunk-house at the home ranch. They were young men, lithe of limb, tanned of face and clear of eye. Their skins shone from recent ablutions and their slicked hair was still damp, for t...
33250#0002
33250
The Bandit of Hell’s Bend
null
[ "english-books" ]
null
2
THE HOLDUP
lesson
27,564
https://www.ebanglalibrary.com/lessons/34017/
Chapter 2 – THE HOLDUP Chapter 2 THE HOLDUP AFTER breakfast the following morning the men were saddling-up listlessly for the day’s work. There was no foreman now and they were hanging about waiting for the boss. Bull sat on the top rail of the corral, idle. He was out of a job. His fellows paid little or no attenti...
33250#0003
33250
The Bandit of Hell’s Bend
null
[ "english-books" ]
null
3
SUSPICIONS
lesson
18,247
https://www.ebanglalibrary.com/lessons/34015/
Chapter 3 – SUSPICIONS Chapter 3 SUSPICIONS AS THE stage swirled through the dusty street of Hendersville an hour later and drew up before The Donovan House the loiterers about the hotel and the saloons gathered about it for the news and the gossip from the outer world. Gum Smith, sheriff, was among them. “Stuck up...
33250#0004
33250
The Bandit of Hell’s Bend
null
[ "english-books" ]
null
4
“I LOVE YOU”
lesson
19,806
https://www.ebanglalibrary.com/lessons/34013/
Chapter 4 – “I LOVE YOU” Chapter 4 “I LOVE YOU” DIANA HENDERS was troubled. Ever since the holdup several days before she had not been able to expunge from her thoughts a recollection of the sinister circumstances that pointed an accusing finger at Bull. There had always been a deep-seated loyalty existing between t...
33250#0005
33250
The Bandit of Hell’s Bend
null
[ "english-books" ]
null
5
THE ROUND-UP
lesson
21,240
https://www.ebanglalibrary.com/lessons/34011/
Chapter 5 – THE ROUND-UP Chapter 5 THE ROUND-UP “I HAD a letter from Wainright in the mail today, Di,” said Elias Henders to his daughter about a week later. “He is after me again to put a price on the whole ‘shebang.'” “We could go East and live then, couldn’t we?” asked the girl. Henders looked at her keenly. Th...
33250#0006
33250
The Bandit of Hell’s Bend
null
[ "english-books" ]
null
6
THE RENEGADES
lesson
18,277
https://www.ebanglalibrary.com/lessons/34009/
Chapter 6 – THE RENEGADES Chapter 6 THE RENEGADES THE next morning Colby took Wainright with him. Deep in the foreman’s heart was a determination to ride hard over the roughest country he could find and if the “dude” got killed it wouldn’t be Colby’s fault-nor would it be Colby’s fault if he didn’t. But the foreman’...
33250#0007
33250
The Bandit of Hell’s Bend
null
[ "english-books" ]
null
7
EXIT WAINRIGHT
lesson
21,540
https://www.ebanglalibrary.com/lessons/34007/
Chapter 7 – EXIT WAINRIGHT Chapter 7 EXIT WAINRIGHT A WEEK or ten days after Elias Henders’ funeral the Wainright buckboard drew into the Bar Y ranch yard and the Wainrights, senior and junior, alighted and approached the house. They found Diana in the office working on the books, which she had kept for her father w...
33250#0008
33250
The Bandit of Hell’s Bend
null
[ "english-books" ]
null
8
“YOU DON’T DARE!”
lesson
20,516
https://www.ebanglalibrary.com/lessons/34005/
Chapter 8 – “YOU DON’T DARE!” Chapter 8 “YOU DON’T DARE!” THE stage lurched down the steep and tortuous gradient of Hell’s Bend Pass, bumped through the rutty gap at the bottom and swung onto the left fork just beyond. The right fork was the regular stage route to Hendersville. The left hand road led to town, too, b...
33250#0009
33250
The Bandit of Hell’s Bend
null
[ "english-books" ]
null
9
LILLIAN-MANILL
lesson
20,818
https://www.ebanglalibrary.com/lessons/34003/
"Chapter 9 – LILLIAN-MANILL\n\nChapter 9\n\nLILLIAN-MANILL\n\n“You sent fer me, Miss?” asked B(...TRUNCATED)
33250#0010
33250
The Bandit of Hell’s Bend
null
[ "english-books" ]
null
10
WILDCAT BOB GOES COURTING
lesson
12,663
https://www.ebanglalibrary.com/lessons/34001/
"Chapter 10 – WILDCAT BOB GOES COURTING\n\nChapter 10\n\nWILDCAT BOB GOES COURTING\n\nBULL sat in (...TRUNCATED)
End of preview. Expand in Data Studio

Bangla Literary Corpus - বাংলা সাহিত্য সংকলন

Bangla Literary Corpus is a large-scale, chapter-segmented Bengali literature dataset with over 3,200 books including classical novels (উপন্যাস), short stories (ছোটগল্প), essays (প্রবন্ধ), and poetry collections (কবিতা). Curated specifically for Bengali NLP and Indic language modeling, this corpus provides high-register, linguistically diverse Bangla text optimized for large language model (LLM) pretraining, continual pre-training (CPT), tokenizer vocabulary training, stylometry, and retrieval-augmented generation (RAG).

All texts are conservatively cleaned, chapter-indexed with source provenance, and distributed in sharded, Snappy-compressed Apache Parquet format for zero-overhead streaming and fast distributed training.

Dataset Summary

Metric Value
Total Books 3,261
Total Chapters 78,278
Total Characters 1,179,518,078 (~1.18 Billion)
Distinct Authors 792
Curated Series 43
Distinct Genres 30
Language Bengali (bn)
Format Apache Parquet (Snappy-compressed)
Script Verification >80% verified Bengali Unicode per document

Quick Start

1. Load via Hugging Face datasets

from datasets import load_dataset

chapters = load_dataset("0xmezbah/bangla-literary-corpus", "chapters", split="train")
print(chapters[0])

# Load full-length books (recommended for long-context LLMs >=32k)
books = load_dataset("0xmezbah/bangla-literary-corpus", "books", split="train")
print(books[0])

2. Streaming

from datasets import load_dataset

stream = load_dataset("0xmezbah/bangla-literary-corpus", "chapters", split="train", streaming=True)
for sample in stream:
    print(sample["book_title"], "—", sample["chapter_title"])
    break

3. Read directly with Polars or Pandas

import polars as pl

df = pl.read_parquet("data/chapters/train-00000-of-00040.parquet")
print(df.head())

Schemas

chapters

One record per chapter or sub-section.

Field Type Description
id string Unique chapter identifier (<book_id>#<index>)
book_id string Foreign key referencing the parent book
book_title string Full title of the book
author string Standardized author name
genres list[string] Assigned genre tags
series string / null Series or omnibus name (if applicable)
chapter_index int64 1-based sequential position in the book
chapter_title string Title of the chapter or poem
level string Structural level (lesson for chapter, topic for poem/sub-chapter)
chars int64 Character count of the text
source_url string Canonical source URL for provenance and auditing
text string Verbatim chapter body

books

One record per entire book.

Field Type Description
id string Unique book slug
title string Book title as published
author string Standardized author name
genres list[string] Assigned genre tags
series string / null Associated series name
n_chapters int64 Total chapters compiled into this work
chars int64 Total character count of full book
chapter_titles list[string] Ordered list of all chapter headers
source_url string Canonical source URL
text string Complete book text (chapters delimited by \n\n)

Corpus Distribution

Top Genres by Title Count

Genre Books Genre Books
বাংলা উপন্যাস 999 আত্মজীবনী ও স্মৃতিকথা 134
অনুবাদ বই 271 গোয়েন্দা-ডিটেকটিভ 122
প্রবন্ধ ও গবেষণা 270 ইতিহাস ও সংস্কৃতি 90
বাংলা গল্প 237 ভৌতিক 72
থ্রিলার / রহস্য 196 ইসলামিক সাহিত্য 64
কিশোর সাহিত্য 160 রচনাবলী / সংকলন 62
বাংলা কবিতা 156 ধর্ম ও দর্শন 53
সেবা প্রকাশনী 149 সায়েন্স ফিকশন 46

Prominent Authors

Author Books Author Books
হুমায়ূন আহমেদ 197 আশাপূর্ণা দেবী 39
রবীন্দ্রনাথ ঠাকুর 119 সমরেশ মজুমদার 36
সুনীল গঙ্গোপাধ্যায় 71 শরৎচন্দ্র চট্টোপাধ্যায় 29
সমরেশ বসু 59 বঙ্কিমচন্দ্র চট্টোপাধ্যায় 28
মুহম্মদ জাফর ইকবাল 58 সৈয়দ মুজতবা আলী 28
বুদ্ধদেব গুহ 53 বিভূতিভূষণ বন্দ্যোপাধ্যায় 22
কাজী আনোয়ার হোসেন 51 হুমায়ুন আজাদ 22
শীর্ষেন্দু মুখোপাধ্যায় 47 মানিক বন্দ্যোপাধ্যায় 21
সত্যজিৎ রায় 45 জীবনানন্দ দাশ 18
কাজী নজরুল ইসলাম 40 মাইকেল মধুসূদন দত্ত 14

Companion Catalog (catalog/)

The repository includes metadata tables in CSV/TXT format inside the catalog/ directory:

  • catalog.csv: Master index with metadata, URLs, character counts, and chapter counts.
  • authors.csv: Author rollups with book counts, total character volume, and genre associations.
  • series.csv: Index of all 43 literary series and franchises.
  • genres.csv: Breakdown of titles across all 30 genre taxonomies.
  • authors.txt & titles.txt: Flat newline-delimited lists for easy indexing and lookups.

Terms of Use & Fair Dealing Notice

This corpus is distributed strictly for educational, non-commercial linguistic research, academic benchmarking, and NLP model training.

  • Ownership: No copyright ownership is claimed over the literary contents. All proprietary rights remain with their respective authors, estates, and publishers.
  • Legal Context: Provided in accordance with Fair Dealing principles under Section 72 of the Bangladesh Copyright Act 2000 and Section 107 of the U.S. Copyright Act (Title 17).
  • Takedown Requests: If you are a copyright owner or authorized representative and request the exclusion of a specific text, please open a discussion ticket for prompt removal.

Citation

If you utilize this corpus in your research or applications, please cite it as:

@misc{bangla_literary_corpus_2026,
  author = {MD Mezbah Ul Islam},
  title = {Bangla Literary Corpus: A Large-Scale Open Dataset of Bengali Literature},
  year = {2026},
  publisher = {Hugging Face},
  journal = {Hugging Face Hub},
  howpublished = {\url{https://huggingface.co/datasets/0xmezbah/bangla-literary-corpus}}
}
Downloads last month
47