This commit is contained in:
Adi 2022-05-11 01:02:31 +02:00
parent 6c3ca75b83
commit 97572efbcf
4 changed files with 1098 additions and 1088 deletions

View File

@ -7,7 +7,7 @@ from sklearn.metrics import accuracy_score
df = pd.read_csv("train/train.tsv", sep="\t", header=None, error_bad_lines=False)
df = df.head(1000)
dev_x = pd.read_csv("dev-0/in.tsv", sep="\t", header=None, error_bad_lines=False)
@ -42,3 +42,8 @@ with open('test-A/out.tsv', 'wt') as file:
for pred in pred_test:
file.write(str(pred)+'\n')

File diff suppressed because it is too large Load Diff

7
run.py
View File

@ -7,7 +7,7 @@ from sklearn.metrics import accuracy_score
df = pd.read_csv("train/train.tsv", sep="\t", header=None, error_bad_lines=False)
df = df.head(1000)
dev_x = pd.read_csv("dev-0/in.tsv", sep="\t", header=None, error_bad_lines=False)
@ -42,3 +42,8 @@ with open('test-A/out.tsv', 'wt') as file:
for pred in pred_test:
file.write(str(pred)+'\n')

File diff suppressed because it is too large Load Diff