text_plain_output_1.png
import pandas as pd

import pathlib

ROOT_PATH = pathlib.Path('/kaggle/input/jigsaw-multilingual-toxic-comment-classification/')
MODEL = 'distilbert-base-multilingual-cased'
BATCH_SIZE = 32
EPOCHS = 1
MAX_DOC_LENGTH = 256

train_df = pd.read_csv(ROOT_PATH / 'jigsaw-toxic-comment-train.csv')
valid_df = pd.read_csv(ROOT_PATH / 'validation.csv')
test_df = pd.read_csv(ROOT_PATH / 'test.csv').rename(columns={'content': 'comment_text'})
train_df.sample(5)