Skip to content

Zero-shot Classification of News Title - Final Project for IRTM NTU 2018

License

Notifications You must be signed in to change notification settings

adamlin120/Zero-shot_Classification_of_News_Title

Repository files navigation

Zero-shot Classification of News Title

Getting Started

Prerequisites

GPU enabled environment is required.

numpy
PyTorch >= 1.0
pytorch_pretrained_bert

tqdm
redis
flask

Running the tests

User can get the prediction result by sending request to server.

Send Request

python3 send_request [--title TITLE] [--tags TAGS [TAGS ...]] [--api_url API_URL]

Deployment With

  • Flask - The python web framework used
  • Redis - In-memory cache

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

Zero-shot Classification of News Title - Final Project for IRTM NTU 2018

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published