This commit is contained in:
Kamila Bobkowska 2023-03-29 11:28:26 +02:00
parent fc11609f0d
commit 67b7c54e41
18 changed files with 1342477 additions and 1 deletions

8
.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
*~
*.swp
*.bak
*.pyc
*.o
.DS_Store
.token

View File

@ -1,2 +1,9 @@
# challenging-america-word-gap-prediction
Challenging America word-gap prediction
===================================
Guess a word in a gap.
Evaluation metric
-----------------
LikelihoodHashed is the metric

1
config.txt Normal file
View File

@ -0,0 +1 @@
--metric PerplexityHashed --precision 2 --in-header in-header.tsv --out-header out-header.tsv

10519
dev-0/expected.tsv Normal file

File diff suppressed because it is too large Load Diff

10519
dev-0/hate-speech-info.tsv Normal file

File diff suppressed because it is too large Load Diff

BIN
dev-0/in.tsv.xz Normal file

Binary file not shown.

10519
dev-0/out.tsv Normal file

File diff suppressed because it is too large Load Diff

BIN
geval Normal file

Binary file not shown.

1
in-header.tsv Normal file
View File

@ -0,0 +1 @@
FileId Year LeftContext RightContext
1 FileId Year LeftContext RightContext

1
out-header.tsv Normal file
View File

@ -0,0 +1 @@
Word
1 Word

7
run.py Normal file
View File

@ -0,0 +1,7 @@
#!/usr/bin/python3
import sys
for line in sys.stdin:
if "United" in line:
print('States:0.2 Kingdom:0.2 :0.6')
else:
print('the:0.2 be:0.2 to:0.2 and:0.1 :0.3')

7414
test-A/hate-speech-info.tsv Normal file

File diff suppressed because it is too large Load Diff

BIN
test-A/in.tsv.xz Normal file

Binary file not shown.

7414
test-A/out.tsv Normal file

File diff suppressed because it is too large Load Diff

432022
train/expected.tsv Normal file

File diff suppressed because it is too large Load Diff

432022
train/hate-speech-info.tsv Normal file

File diff suppressed because it is too large Load Diff

BIN
train/in.tsv.xz Normal file

Binary file not shown.

432022
train/out.tsv Normal file

File diff suppressed because it is too large Load Diff