├── .gitignore ├── README.md ├── data ├── README.md ├── caption_data │ ├── MSCOCO_train_val_Korean.json │ ├── data_download.sh │ ├── dataset_coco_kor.json │ ├── train2014 │ │ └── COCO_train2014_000000000009.jpg │ └── valid2014 │ │ └── COCO_val2014_000000000042.jpg └── poem_data │ ├── crawl │ ├── crawl.py │ └── poem_crawler │ │ ├── data_crawl.sh │ │ ├── poem_crawler │ │ ├── __init__.py │ │ ├── items.py │ │ ├── middlewares.py │ │ ├── pipelines.py │ │ ├── settings.py │ │ └── spiders │ │ │ ├── __init__.py │ │ │ └── spider.py │ │ └── scrapy.cfg │ ├── preprocess_data │ ├── poem.csv │ ├── preprocess(extract_keyword).ipynb │ └── preprocess_poems.ipynb │ └── raw_data │ └── raw.txt ├── evaluation ├── scoring_with_bert │ ├── __pycache__ │ │ ├── arguments.cpython-37.pyc │ │ ├── arguments.cpython-39.pyc │ │ ├── model.cpython-39.pyc │ │ ├── train.cpython-39.pyc │ │ └── utils.cpython-39.pyc │ ├── arguments.py │ ├── demo.ipynb │ ├── main.py │ ├── model.py │ ├── train.py │ └── utils.py └── sentencebert │ ├── arguments.py │ ├── demo.ipynb │ ├── main.py │ ├── model.py │ └── train.py ├── model ├── caption_model │ ├── utils.py │ └── vit_gpt2 │ │ ├── dataset.py │ │ ├── run_train.py │ │ ├── tt │ │ └── utils.py ├── gpt2_base_train.py ├── poem_model │ ├── gpt2_base │ │ ├── dataset.py │ │ ├── run_train.py │ │ ├── t │ │ └── utils.py │ ├── gpt2_trinity │ │ ├── arguments.py │ │ ├── t │ │ ├── train.py │ │ └── utils.py │ └── utils.py └── vit_gpt2_train.py ├── requirements.txt ├── show_attend_and_tell ├── README.md ├── caption.py ├── create_input_files.py ├── datasets.py ├── eval.py ├── model.py ├── requirements.txt ├── train.py └── utils.py └── web ├── app.py ├── db_utils.py ├── package-lock.json ├── utils.py └── web ├── assets └── images │ └── profile.jpeg └── templates ├── about.html ├── js.js ├── layout.html └── responsive.html /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/README.md -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/README.md -------------------------------------------------------------------------------- /data/caption_data/MSCOCO_train_val_Korean.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/caption_data/data_download.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/caption_data/data_download.sh -------------------------------------------------------------------------------- /data/caption_data/dataset_coco_kor.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/caption_data/train2014/COCO_train2014_000000000009.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/caption_data/train2014/COCO_train2014_000000000009.jpg -------------------------------------------------------------------------------- /data/caption_data/valid2014/COCO_val2014_000000000042.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/caption_data/valid2014/COCO_val2014_000000000042.jpg -------------------------------------------------------------------------------- /data/poem_data/crawl/crawl.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/poem_data/crawl/poem_crawler/data_crawl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/crawl/poem_crawler/data_crawl.sh -------------------------------------------------------------------------------- /data/poem_data/crawl/poem_crawler/poem_crawler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/poem_data/crawl/poem_crawler/poem_crawler/items.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/crawl/poem_crawler/poem_crawler/items.py -------------------------------------------------------------------------------- /data/poem_data/crawl/poem_crawler/poem_crawler/middlewares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/crawl/poem_crawler/poem_crawler/middlewares.py -------------------------------------------------------------------------------- /data/poem_data/crawl/poem_crawler/poem_crawler/pipelines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/crawl/poem_crawler/poem_crawler/pipelines.py -------------------------------------------------------------------------------- /data/poem_data/crawl/poem_crawler/poem_crawler/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/crawl/poem_crawler/poem_crawler/settings.py -------------------------------------------------------------------------------- /data/poem_data/crawl/poem_crawler/poem_crawler/spiders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/crawl/poem_crawler/poem_crawler/spiders/__init__.py -------------------------------------------------------------------------------- /data/poem_data/crawl/poem_crawler/poem_crawler/spiders/spider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/crawl/poem_crawler/poem_crawler/spiders/spider.py -------------------------------------------------------------------------------- /data/poem_data/crawl/poem_crawler/scrapy.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/crawl/poem_crawler/scrapy.cfg -------------------------------------------------------------------------------- /data/poem_data/preprocess_data/poem.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/preprocess_data/poem.csv -------------------------------------------------------------------------------- /data/poem_data/preprocess_data/preprocess(extract_keyword).ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/preprocess_data/preprocess(extract_keyword).ipynb -------------------------------------------------------------------------------- /data/poem_data/preprocess_data/preprocess_poems.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/data/poem_data/preprocess_data/preprocess_poems.ipynb -------------------------------------------------------------------------------- /data/poem_data/raw_data/raw.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/__pycache__/arguments.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/__pycache__/arguments.cpython-37.pyc -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/__pycache__/arguments.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/__pycache__/arguments.cpython-39.pyc -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/__pycache__/model.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/__pycache__/model.cpython-39.pyc -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/__pycache__/train.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/__pycache__/train.cpython-39.pyc -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/__pycache__/utils.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/__pycache__/utils.cpython-39.pyc -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/arguments.py -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/demo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/demo.ipynb -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/main.py -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/model.py -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/train.py -------------------------------------------------------------------------------- /evaluation/scoring_with_bert/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/scoring_with_bert/utils.py -------------------------------------------------------------------------------- /evaluation/sentencebert/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/sentencebert/arguments.py -------------------------------------------------------------------------------- /evaluation/sentencebert/demo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/sentencebert/demo.ipynb -------------------------------------------------------------------------------- /evaluation/sentencebert/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/sentencebert/main.py -------------------------------------------------------------------------------- /evaluation/sentencebert/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/sentencebert/model.py -------------------------------------------------------------------------------- /evaluation/sentencebert/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/evaluation/sentencebert/train.py -------------------------------------------------------------------------------- /model/caption_model/utils.py: -------------------------------------------------------------------------------- 1 | ## 2 | -------------------------------------------------------------------------------- /model/caption_model/vit_gpt2/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/caption_model/vit_gpt2/dataset.py -------------------------------------------------------------------------------- /model/caption_model/vit_gpt2/run_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/caption_model/vit_gpt2/run_train.py -------------------------------------------------------------------------------- /model/caption_model/vit_gpt2/tt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /model/caption_model/vit_gpt2/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/caption_model/vit_gpt2/utils.py -------------------------------------------------------------------------------- /model/gpt2_base_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/gpt2_base_train.py -------------------------------------------------------------------------------- /model/poem_model/gpt2_base/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/poem_model/gpt2_base/dataset.py -------------------------------------------------------------------------------- /model/poem_model/gpt2_base/run_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/poem_model/gpt2_base/run_train.py -------------------------------------------------------------------------------- /model/poem_model/gpt2_base/t: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /model/poem_model/gpt2_base/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/poem_model/gpt2_base/utils.py -------------------------------------------------------------------------------- /model/poem_model/gpt2_trinity/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/poem_model/gpt2_trinity/arguments.py -------------------------------------------------------------------------------- /model/poem_model/gpt2_trinity/t: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /model/poem_model/gpt2_trinity/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/poem_model/gpt2_trinity/train.py -------------------------------------------------------------------------------- /model/poem_model/gpt2_trinity/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/poem_model/gpt2_trinity/utils.py -------------------------------------------------------------------------------- /model/poem_model/utils.py: -------------------------------------------------------------------------------- 1 | ## 2 | -------------------------------------------------------------------------------- /model/vit_gpt2_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/model/vit_gpt2_train.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/requirements.txt -------------------------------------------------------------------------------- /show_attend_and_tell/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/show_attend_and_tell/README.md -------------------------------------------------------------------------------- /show_attend_and_tell/caption.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/show_attend_and_tell/caption.py -------------------------------------------------------------------------------- /show_attend_and_tell/create_input_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/show_attend_and_tell/create_input_files.py -------------------------------------------------------------------------------- /show_attend_and_tell/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/show_attend_and_tell/datasets.py -------------------------------------------------------------------------------- /show_attend_and_tell/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/show_attend_and_tell/eval.py -------------------------------------------------------------------------------- /show_attend_and_tell/model.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /show_attend_and_tell/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/show_attend_and_tell/requirements.txt -------------------------------------------------------------------------------- /show_attend_and_tell/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/show_attend_and_tell/train.py -------------------------------------------------------------------------------- /show_attend_and_tell/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/show_attend_and_tell/utils.py -------------------------------------------------------------------------------- /web/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/web/app.py -------------------------------------------------------------------------------- /web/db_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/web/db_utils.py -------------------------------------------------------------------------------- /web/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/web/package-lock.json -------------------------------------------------------------------------------- /web/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/web/utils.py -------------------------------------------------------------------------------- /web/web/assets/images/profile.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/web/web/assets/images/profile.jpeg -------------------------------------------------------------------------------- /web/web/templates/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/web/web/templates/about.html -------------------------------------------------------------------------------- /web/web/templates/js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/web/web/templates/js.js -------------------------------------------------------------------------------- /web/web/templates/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/web/web/templates/layout.html -------------------------------------------------------------------------------- /web/web/templates/responsive.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boostcampaitech2/final-project-level3-nlp-08/HEAD/web/web/templates/responsive.html --------------------------------------------------------------------------------