项目
在 GitHub 查看
wb14123/couplet-dataset
关于
对联数据集,包含 70 万条对联。
数据与分析实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文对联数据集。
Also available on HuggingFace.
This is a project to fetch couplets from 冯重朴_梨味斋散叶_的博客
This dataset contains more than 700,000 couplets.
Run the spider:
scrapy runspider sina_spider.py
It will store the data into ./output/.
Download the data
There is an already fetched and cleaned dataset that can be used directly with the seq2seq model. You can download it at here.
The downloaded data contains 5 files:
train/in.txt: The input of the couplets. Each line is an input. Each word is split by space.train/out.txt: The output of the couplets. Each line is the output for the same line in thein.txt. Each word is split by space.test/in.txt: Same astrain/in.txtbut with less data.test/out.txt: Same astrain/out.txtbut with less data.vocabs: Vocabs file. Add<s>and<\s>as the first vocabs, which will be used to train in the seq2seq mode.
探索相关项目
加载中…