A collection of Korean Text Datasets ready to use using Tensorflow-Datasets.
Project description
tfds-korean
A collection of Korean Text Datasets ready to use using Tensorflow-Datasets.
TensorFlow-Datasets를 이용한 한국어/한글 데이터셋 모음입니다.
Dataset Catalog | pypi | CONTRIBUTING.md
Usage
Installation
pip install tfds-korean
Loading dataset
import tensorflow_datasets as tfds
import tfds_korean.nsmc # register nsmc dataset
ds = tfds.load('nsmc')
train_ds = ds['train'].batch(32)
test_ds = ds['test'].batch(128)
# define model
# ....
# ....
model.fit(train_ds)
model.evaluate(test_ds)
See Dataset Catalog page for dataset list and details of each dataset.
Examples
Licenses
The license for this repository and licenses for datasets are applied separately. It is recommended to use each dataset after checking the dataset's website.
본 레포지토리의 라이선스와 데이터셋의 라이선스는 별도로 적용됩니다. 데이터셋을 사용하기 전 각 데이터셋의 라이선스와 웹 사이트를 확인 후 사용하시길 권해드리며, 본 라이브러리는 데이터셋을 호스팅하거나 배포하지 않는 점을 참고부탁드립니다.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tfds-korean-0.3.1.tar.gz
.
File metadata
- Download URL: tfds-korean-0.3.1.tar.gz
- Upload date:
- Size: 120.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14f3afa5a7e4f94fcc61baac798397bc9bc0de2acecd07780adbb26b207b485c |
|
MD5 | bf66b2a8d9a8f705592e5642a09582bd |
|
BLAKE2b-256 | 90aa5f9a86794a7ba0a3eee8e95920f29d3511dbe955c96da23ece5cfc20fc87 |
File details
Details for the file tfds_korean-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: tfds_korean-0.3.1-py3-none-any.whl
- Upload date:
- Size: 161.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fd6dcfc347e51cbbc5e862d57ea8a590b6f9aba4ce64f696f3c068ed19feb78 |
|
MD5 | e3b684e1e3fa4a5121aecaab0345f5c4 |
|
BLAKE2b-256 | 1d854200a939e3586c309bc9327006000767397caa257f1f636b69ef9ac5642b |