Skip to content

ImKeTT/ucas_nlp_project-stega

Repository files navigation

UCAS NLP Project Stega: Generative Liguisitic Steganography

首先创建环境,从终端进入在本目录,执行

pip install -r requirements.txt

RNN和VAE模型的权重文件在百度网盘,密码4avb,分别下载文件夹vaernn中的models文件夹,分别放到作业对应的vaernn文件夹下面

接着在终端运行

python app.py

在默认游览器的 localhost:8080可以使用网页。

文件分布

.
|____arithmetic.py
|____requirements.txt
|____main_func.py
|______init__.py
|____huffman.py
|____readme.md
|____utils.py
|____app.py
|____templates
| |____index.html
| |____extract.html
| |____static
| |____hide.html
|_____data
| |____movie2020.txt_vocab.txt
| |____tweet2020.txt_vocab.txt
| |____news2020.txt_vocab.txt
|____Huffman_Encoding.py
|____rnn
| |____config.json
| |____models
| | |____tweet.pkl
| |____utils.py
| |____lm.py
|____vae
| |____config.json
| |____textvae.py
| |____models
| | |____tweet.pkl
| |____utils.py
|____gpt_2
| |____arithmetic.py
| |____config.json
| |____huffman.py
| |____utils.py
| |____run_single.py
| |____sample.py
| |____huffman_baseline.py

About

[Tool] Team homework of NLP, Fall, 2021, UCAS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published