import os, sys
from os.path import dirname as d
from os.path import abspath, join
root_dir = d(d(d(abspath(file))))
sys.path.append(root_dir)
base_path = os.path.join(root_dir, “datasets/TextClassification”)
import os, sys
from os.path import dirname as d
from os.path import abspath, join
root_dir = d(d(d(abspath(file))))
sys.path.append(root_dir)
base_path = os.path.join(root_dir, “datasets/TextClassification”)