Menu

Uploading the Dataset

Uploading the Dataset

To begin working with the data, we first upload the dataset into Google Colab. The uploaded CSV file contains review text and labels indicating whether each review is fake or genuine.

Dataset link: Fake Review Detection

Code

from google.colab import files
uploaded = files.upload()

Expected Output

A file upload dialog will appear.

Select the dataset file:

fake_reviews_dataset.csv

Once uploaded successfully, Google Colab will display:

Saving fake_reviews_dataset.csv to fake_reviews_dataset.csv