test_learning
This commit is contained in:
parent
a2e2dd4e23
commit
7a39f24359
@ -11,7 +11,8 @@ for file_name in os.listdir(translated_data_directory):
|
|||||||
if file_name.endswith('.tsv'):
|
if file_name.endswith('.tsv'):
|
||||||
file_path = os.path.join(translated_data_directory, file_name)
|
file_path = os.path.join(translated_data_directory, file_name)
|
||||||
df = pd.read_csv(file_path, sep='\t')
|
df = pd.read_csv(file_path, sep='\t')
|
||||||
dfs.append(df)
|
df_user = df[df['role'] == 'system'].drop('role', axis=1)
|
||||||
|
dfs.append(df_user)
|
||||||
combined_df = pd.concat(dfs, ignore_index=True)
|
combined_df = pd.concat(dfs, ignore_index=True)
|
||||||
|
|
||||||
# Przygotowanie zbioru danych do trenowania
|
# Przygotowanie zbioru danych do trenowania
|
||||||
|
Loading…
Reference in New Issue
Block a user