{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "Download from: https://www.kaggle.com/lakshmi25npathi/imdb-dataset-of-50k-movie-reviews" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import string\n", "import pandas as pd\n", "from tqdm import tqdm\n", "import transformers\n", "import pandas as pd\n", "import json\n", "import seaborn" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | review | \n", "sentiment | \n", "
---|---|---|
0 | \n", "One of the other reviewers has mentioned that ... | \n", "positive | \n", "
1 | \n", "A wonderful little production. <br /><br />The... | \n", "positive | \n", "
2 | \n", "I thought this was a wonderful way to spend ti... | \n", "positive | \n", "
3 | \n", "Basically there's a family where a little boy ... | \n", "negative | \n", "
4 | \n", "Petter Mattei's \"Love in the Time of Money\" is... | \n", "positive | \n", "