This commit is contained in:
mkozlowskiAzimuthe 2022-05-19 17:00:13 +02:00
parent ab3072e91a
commit 2f7aca2ebf
2 changed files with 5449 additions and 2 deletions

4
run.py
View File

@ -13,7 +13,7 @@ def read_train_data():
def read_pred_data():
print('Load pred data')
x_p = []
with open("dev-0/in.tsv", encoding='utf-8') as f:
with open("test-A/in.tsv", encoding='utf-8') as f:
for line in f:
x_p.append(line)
return x_p
@ -37,4 +37,4 @@ def get_result():
x, x_p = vectorize(x, x_p)
return calc_score(x, y, x_p)
pd.DataFrame(get_result()).to_csv("dev-0/out.tsv", header=False, index=None)
pd.DataFrame(get_result()).to_csv("test-A/out.tsv", header=False, index=None)

5447
test-A/out.tsv Normal file

File diff suppressed because it is too large Load Diff