├── .gitignore ├── LICENSE ├── README.md ├── architecture.png ├── baseline.py ├── main.py ├── models ├── .DS_Store ├── UTransformer.py ├── __init__.py ├── common_layer.py ├── discriminator.py ├── gru.py ├── hier_atten_model.py └── lstm.py ├── plot ├── HKUST.jpg └── pytorch-logo-dark.png ├── process_data_for_bert_training.py ├── run_lm_finetuning.py └── utils ├── .DS_Store ├── __init__.py ├── constant.py ├── data_analysis.py ├── data_prepare.py ├── data_reader_online.py ├── data_utils.py ├── feature_utils.py ├── gen_topic_pkl.py ├── main_utils.py ├── preprocessing.py ├── topic_analysis.py └── topic_feature.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/README.md -------------------------------------------------------------------------------- /architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/architecture.png -------------------------------------------------------------------------------- /baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/baseline.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/main.py -------------------------------------------------------------------------------- /models/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/models/.DS_Store -------------------------------------------------------------------------------- /models/UTransformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/models/UTransformer.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/common_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/models/common_layer.py -------------------------------------------------------------------------------- /models/discriminator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/models/discriminator.py -------------------------------------------------------------------------------- /models/gru.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/models/gru.py -------------------------------------------------------------------------------- /models/hier_atten_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/models/hier_atten_model.py -------------------------------------------------------------------------------- /models/lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/models/lstm.py -------------------------------------------------------------------------------- /plot/HKUST.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/plot/HKUST.jpg -------------------------------------------------------------------------------- /plot/pytorch-logo-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/plot/pytorch-logo-dark.png -------------------------------------------------------------------------------- /process_data_for_bert_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/process_data_for_bert_training.py -------------------------------------------------------------------------------- /run_lm_finetuning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/run_lm_finetuning.py -------------------------------------------------------------------------------- /utils/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/.DS_Store -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/constant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/constant.py -------------------------------------------------------------------------------- /utils/data_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/data_analysis.py -------------------------------------------------------------------------------- /utils/data_prepare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/data_prepare.py -------------------------------------------------------------------------------- /utils/data_reader_online.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/data_reader_online.py -------------------------------------------------------------------------------- /utils/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/data_utils.py -------------------------------------------------------------------------------- /utils/feature_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/feature_utils.py -------------------------------------------------------------------------------- /utils/gen_topic_pkl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/gen_topic_pkl.py -------------------------------------------------------------------------------- /utils/main_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/main_utils.py -------------------------------------------------------------------------------- /utils/preprocessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/preprocessing.py -------------------------------------------------------------------------------- /utils/topic_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/topic_analysis.py -------------------------------------------------------------------------------- /utils/topic_feature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HLTCHKUST/hyperpartisan-news-detection/HEAD/utils/topic_feature.py --------------------------------------------------------------------------------