Last active
March 14, 2020 09:23
-
-
Save aravindpai/f404cdd48f1953e30b294d3f6da77c87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#importing libraries | |
import pandas as pd | |
import numpy as np | |
#reading csv files | |
train = pd.read_csv('Train.csv') | |
valid = pd.read_csv('Valid.csv') | |
#train_test split | |
x_tr, y_tr = train['text'].values, train['label'].values | |
x_val, y_val = valid['text'].values, valid['label'].values |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment