TransformerCVAE
Transformer-based Conditional Variational Autoencoder for Controllable Story Generation
Install / Use
/learn @fangleai/TransformerCVAEREADME
TransformerCVAE
This repository contains source code for paper Transformer-based Conditional Variational Autoencoder for Controllable Story Generation:
@article{fang2021transformer,
title={Transformer-based Conditional Variational Autoencoder for Controllable Story Generation},
author={Fang, Le and Zeng, Tao and Liu, Chaochun and Bo, Liefeng and Dong, Wen and Chen, Changyou},
journal={arXiv preprint arXiv:2101.00828},
year={2021}
}
- get source data (Arxiv, Yelp, WritingPrompts, WikiPlots).
- data pre-processing (data/).
- training (choose from several different implementations on parallelism and precision: train.py, train_dist.py, train_dist_half.py).
- generation, evaluation and analysis (generate.py/generate_prefix.py, eval_ppl.py/eval_ppl_prefix.py, tsne_plot.py).
Contact: lefang@buffalo.edu
Update on 2022: If you encounter package version issue, sorry for that I don't have a requirements.txt with exact versions. I used this package: https://github.com/nvidia/apex and an old pytorch version compatible with it at that time, say pytorch=0.4 (not 100% sure).
Related Skills
node-connect
347.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
