Projets
Voir sur GitHub
wb14123/couplet-dataset
À propos
Jeu de données de distiques. Base de données contenant 700 000 distiques.
Données et analyseProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original对联数据集。
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.
Explorer des projets similaires
Chargement…