Performing Text Extraction also known as Question-Answering using BERT,and serving it Via REST API.
- End to End NLP Text Extraction Probelm.
- The Kaggle dataset can be found Here Click Here
Steps to run the project Click Here
Each row contains the text of a tweet and a sentiment label. In the training set you are provided with a word or phrase drawn from the tweet (selected_text) that encapsulates the provided sentiment.
Make sure, when parsing the CSV, to remove the beginning / ending quotes from the text field, to ensure that you don't include them in your training.
You're attempting to predict the word or phrase from the tweet that exemplifies the provided sentiment. The word or phrase should include all characters within that span (i.e. including commas, spaces, etc.)
Let's say we have a sentence
- I am feeling good and the sentiment for this sentence is positive
- The word/phrase which exemplifies the provided sentiment in this case is good.
- So, the goal is to create a model which performs the above mentioned task.
- textID - unique ID for each piece of text
- text - the text of the tweet
- sentiment - the general sentiment of the tweet
- selected_text - [train only] the text that supports the tweet's sentiment
- Request sample
- Response Sample