def _load_sts(src_file_path):
    """Load datafile as dataframe

    Args:
        src_file_path (str): filepath to train/dev/test csv files.
    """
    with open(src_file_path, "r", encoding="utf-8") as f:
        sent_pairs = []
        for line in f:
            line = line.strip().split("\t")
            sent_pairs.append(
                [
                    line[0].strip(),
                    line[1].strip(),
                    line[2].strip(),
                    line[3].strip(),
                    float(line[4]),
                    line[5].strip(),
                    line[6].strip(),
                ]
            )

        sdf = pd.DataFrame(
            sent_pairs,
            columns=[
                "column_0",
                "column_1",
                "column_2",
                "column_3",
                "column_4",
                "column_5",
                "column_6",
            ],
        )
        return sdf
Load datafile as dataframe

    Args:
        src_file_path (str): filepath to train/dev/test csv files.
    
utils_nlp/dataset/stsbenchmark.py