mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
minor bug fixes (#207)
* fixed path arg for create_dataset_csvs() * updated assign_check() to remove user warning
This commit is contained in:
@@ -117,7 +117,7 @@ def random_split(df, train_frac, validation_frac):
|
||||
return train_df, validation_df, test_df
|
||||
|
||||
|
||||
def create_dataset_csvs(data_file_path):
|
||||
def create_dataset_csvs(new_file_path):
|
||||
df = pd.read_csv(new_file_path, sep="\t", header=None, names=["Label", "Text"])
|
||||
|
||||
# Create balanced dataset
|
||||
|
||||
Reference in New Issue
Block a user