News On Tips is a Web Application created on the base of Natural Language Processing (Hugging Face)- I have used Facebook's BART Large CNN model.
The model asks users to Input any type of News Article and also the range of the output they would want, and summarizes it into a short concise paragraph. The range of the output is from 30 words to 700 words.
Input | Output |
---|---|
BART model pre-trained on English language, and fine-tuned on CNN Daily Mail. It was introduced in the paper BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension by Lewis et al. and first released in (https://github.com/pytorch/fairseq/tree/master/examples/bart).
Html, Css, Python-NLP, Flask, Deployment on Heroku.
- Clone or download this repository to your local machine.
- Install all the libraries mentioned in the requirements.txt file with the command
pip install -r requirements.txt
- Open your terminal/command prompt from your project directory and run the file
app.py
by executing the commandpython app.py
- Go to your browser and type
http://127.0.0.1:5000/
in the address bar. - And, there you go!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.