Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
9
9
title
stringlengths
1
110
author
stringlengths
0
995
content
stringlengths
24
8.16M
genres
listlengths
0
10
first_publish
stringdate
1492-01-01 00:00:00
2018-01-01 00:00:00
goodreads_id
stringlengths
8
71
goodreads_url
stringlengths
44
107
goodreads_rating
float64
0
5
goodreads_num_ratings
int64
0
1.95M
vn_000001
"The DIGITAL ECONOMY 20th Anniversary Edition Rethinking Promise and Peril in the Age of Networked I(...TRUNCATED)
Don Tapscott
"The DIGITAL ECONOMY 20th Anniversary Edition Rethinking Promise and Peril in the Age of Networked I(...TRUNCATED)
[ "Business", "Paradigm Shift" ]
2014
20722002-the-digital-economy
https://www.goodreads.com/book/show/20722002-the-digital-economy
4.1
29
vn_000008
THE TIBETAN BOOK OF LIVING AND DYING
Sogyal Rinpoche Edited by: Patrick Gaffney & Andrew Harvey
"THE TIBETAN BOOK OF LIVING AND DYING Author: Sogyal Rinpoche Edited by: Patrick Gaffney & Andrew Ha(...TRUNCATED)
["Buddhism","Classics","Death","Eastern Philosophy","Jamyang Khyentse Chökyi Lodrö","Non Fiction",(...TRUNCATED)
1992
40383078-the-tibetan-book-of-living-and-dying
https://www.goodreads.com/book/show/40383078-the-tibetan-book-of-living-and-dying
4.21
29,949
vn_000009
CHẤP NHẬN CUỘC ĐỜI
Luise Rinser Lược dịch: Nguyễn Hiến Lê
"CHẤP NHẬN CUỘC ĐỜI Tác giả: Luise Rinser Lược dịch: Nguyễn Hiến Lê * * * Đá(...TRUNCATED)
[]
null
26204138-ch-p-nh-n-cu-c-i
https://www.goodreads.com/book/show/26204138-ch-p-nh-n-cu-c-i
3.6
10
vn_000015
MỘNG ĐỜI BẤT TUYỆT
Nguyễn Tường Bách Được
"MỘNG ĐỜI BẤT TUYỆT Tác giả: Nguyễn Tường Bách Được xuất bản theo hợp đ(...TRUNCATED)
[]
2006
17971574-m-ng-i-b-t-tuy-t
https://www.goodreads.com/book/show/17971574-m-ng-i-b-t-tuy-t
3.88
85
vn_000019
BAD ENGLISH A HISTORY OF LINGUISTIC AGGRAVATION
Ammon Shea Penguin
"BAD ENGLISH A HISTORY OF LINGUISTIC AGGRAVATION Ammon Shea Penguin Group US * * * eBook created (08(...TRUNCATED)
["Adult","Audiobook","Education","History","Language","Linguistics","Non Fiction","Reference","Scien(...TRUNCATED)
2014
18693773-bad-english
https://www.goodreads.com/book/show/18693773-bad-english
3.66
656
vn_000021
SOFTWARE ENGINEERING
Ninth Edition
"SOFTWARE ENGINEERING Ninth Edition Author: Ian Sommerville Addison-Wesley Boston Columbus Indianapo(...TRUNCATED)
[]
2009
6892644-software-engineering
https://www.goodreads.com/book/show/6892644-software-engineering
4.35
43
vn_000022
TIẾNG ANH LÝ THÚ
Nguyễn Vạn Phú Những
"TIẾNG ANH LÝ THÚ Nguyễn Vạn Phú Những điều tinh tế trong tiếng Anh qua ngôn ng(...TRUNCATED)
[]
2013
21774346-ti-ng-anh-l-th
https://www.goodreads.com/book/show/21774346-ti-ng-anh-l-th
4.33
9
vn_000025
VIỆT NAM PHONG TỤC
Phan Kế Bính
"VIỆT NAM PHONG TỤC Tác giả: Phan Kế Bính Xuất bản: 1915. Nguồn: Yahoo – hocthuaph(...TRUNCATED)
[ "Cultural", "History", "Non Fiction" ]
1972
13156181-vi-t-nam-phong-t-c
https://www.goodreads.com/book/show/13156181-vi-t-nam-phong-t-c
4.09
189
vn_000030
A HISTORY OF THE WORLD
Andrew Marr
"A HISTORY OF THE WORLD by Andrew Marr First published 2012 by Macmillan This electronic edition pub(...TRUNCATED)
[]
2011
13828132-a-history-of-the-world
https://www.goodreads.com/book/show/13828132-a-history-of-the-world
5
1
vn_000038
TRIẾT HỌC NHẬP MÔN
Karl Jaspers Dịch
"TRIẾT HỌC NHẬP MÔN Karl Jaspers Dịch giả: Lê Tôn Nghiêm Trung tâm Học liệu Xuấ(...TRUNCATED)
[]
1961
35060106-tri-t-h-c-nh-p-m-n
https://www.goodreads.com/book/show/35060106-tri-t-h-c-nh-p-m-n
4.17
6
End of preview. Expand in Data Studio

UVB - Underthesea Vietnamese Books Dataset

A collection of 447 Vietnamese books with full text content and Goodreads metadata for NLP research.

Dataset Summary

UVB (Underthesea Vietnamese Books) is a dataset containing 447 Vietnamese books with full text content, mapped to Goodreads for metadata enrichment including genres, ratings, and publication years. The dataset is designed for Vietnamese language model training, text generation, and other NLP tasks.

Supported Tasks

  • Language Modeling: Pre-training or fine-tuning Vietnamese language models
  • Text Generation: Training models to generate Vietnamese text
  • Text Classification: Using genres as labels for classification tasks
  • Information Extraction: Extracting structured information from book texts

Languages

Vietnamese (vi)

Dataset Structure

Data Instances

{
  "id": "vn_000001",
  "title": "The DIGITAL ECONOMY 20th Anniversary Edition",
  "author": "Don Tapscott",
  "content": "The DIGITAL ECONOMY 20th Anniversary Edition Rethinking Promise and Peril...",
  "genres": ["Business", "Paradigm Shift"],
  "first_publish": "2014",
  "goodreads_id": "20722002-the-digital-economy",
  "goodreads_url": "https://www.goodreads.com/book/show/20722002-the-digital-economy",
  "goodreads_rating": 4.1,
  "goodreads_num_ratings": 29
}

Data Fields

Field Type Description
id string Unique identifier (e.g., vn_000001)
title string Book title
author string Author name
content string Full text content of the book
genres list[string] Book genres from Goodreads
first_publish string First publication year
goodreads_id string Goodreads book ID
goodreads_url string Goodreads URL
goodreads_rating float Goodreads rating (1-5)
goodreads_num_ratings int Number of ratings on Goodreads

Data Splits

Split Examples
train 447

Dataset Statistics

  • Total books: 447
  • Books with genres: 230 (51.5%)
  • Books with publication year: 421 (94.2%)
  • Total size: ~209 MB

Top Genres:

Genre Count
Non Fiction 76
Fiction 62
Romance 37
Classics 30
Novels 27
Philosophy 25
Self Help 25

Publication Year Distribution:

Period Count
Before 1900 6
1900-1950 12
1951-1980 38
1981-2000 82
2001-2010 134
2011+ 149

Dataset Creation

Source Data

Data Collection

  1. Vietnamese books were loaded from the source corpus
  2. Books were matched to Goodreads entries using fuzzy title/author matching
  3. Genres and publication years were scraped from Goodreads pages
  4. Data was merged into a single dataset with full text content

Processing Scripts

Processing scripts are included in the scripts/ directory:

  • map_goodreads.py - Map Vietnamese books to Goodreads entries
  • add_genres.py - Fetch genres from Goodreads
  • add_publish_date.py - Fetch first publication year
  • requirements.txt - Python dependencies

Usage

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("undertheseanlp/UVB-v0.1")

# Access the data
for item in dataset["train"]:
    print(f"Title: {item['title']}")
    print(f"Author: {item['author']}")
    print(f"Content: {item['content'][:200]}...")
    print(f"Genres: {item['genres']}")
    print(f"First publish: {item['first_publish']}")
    break

# Filter by genre
fiction_books = [item for item in dataset["train"] if "Fiction" in (item.get("genres") or [])]
print(f"Found {len(fiction_books)} fiction books")

Considerations for Using the Data

Social Impact

This dataset can help advance Vietnamese NLP research and applications, contributing to language technology for Vietnamese speakers.

Limitations

  • Book content may contain OCR errors from digitization
  • Genre and metadata coverage is not 100%
  • Some author names may include translator information

Additional Information

Licensing

Apache 2.0

Citation

@misc{uvb_dataset,
  title={UVB: Underthesea Vietnamese Books Dataset},
  author={Underthesea NLP},
  year={2026},
  publisher={HuggingFace},
  url={https://huggingface.co/datasets/undertheseanlp/UVB-v0.1}
}

Contributions

Thanks to @rain1024 for creating this dataset.

Downloads last month
17