couplet-dataset

Dataset for couplets. 70万条对联数据库。

  • 所有者: wb14123/couplet-dataset
  • 平台:
  • 许可证: GNU Affero General Public License v3.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

对联数据集。

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:

  1. train/in.txt: The input of the couplets. Each line is an input. Each word is split by space.
  2. train/out.txt: The output of the couplets. Each line is the output for the same line in the in.txt. Each word is split by space.
  3. test/in.txt: Same as train/in.txt but with less data.
  4. test/out.txt: Same as train/out.txt but with less data.
  5. vocabs: Vocabs file. Add <s> and <\s> as the first vocabs, which will be used to train in the seq2seq mode.

主要指标

概览
名称与所有者wb14123/couplet-dataset
主编程语言Python
编程语言Python (语言数: 1)
平台
许可证GNU Affero General Public License v3.0
所有者活动
创建于2018-02-24 02:31:39
推送于2025-02-05 02:28:19
最后一次提交2025-02-04 21:28:18
发布数1
最新版本名称1.0 (发布于 )
第一版名称1.0 (发布于 )
用户参与
星数739
关注者数18
派生数221
提交数11
已启用问题?
问题数3
打开的问题数3
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?