Compare commits

...

10 Commits

Author SHA1 Message Date
Jakub Eichner 623d5dbcee Bigram .gitignore geval correction 2023-05-24 10:23:32 +02:00
Jakub Eichner d751e9a5e5 Bigram solution 2023-05-24 10:22:07 +02:00
Jakub Eichner e27047f254 comas fix 2023-04-27 19:07:20 +02:00
Jakub Eichner 64a495fe2b comas fix 2023-04-27 19:04:21 +02:00
Jakub Eichner e268f082ed comas fix 2023-04-27 18:52:04 +02:00
Jakub Eichner 3a42d96ca5 Prześlij pliki do '' 2023-04-19 22:39:45 +02:00
Jakub Eichner beb68f1e6e reglog 2023-04-19 22:38:29 +02:00
Jakub Eichner 5e2293a4f2 reglog 2023-04-19 22:37:48 +02:00
Jakub 4368b9db0b RegLog simple solution 2023-04-19 20:27:04 +00:00
s478874 bd95f79414 RegLog check 2023-04-19 10:12:31 +02:00
8 changed files with 17943 additions and 10532 deletions

2
.gitignore vendored
View File

@ -6,3 +6,5 @@
*.o
.DS_Store
.token
geval

File diff suppressed because it is too large Load Diff

8
gonito.yaml Normal file
View File

@ -0,0 +1,8 @@
description: Bigram simple solution
tags:
- challenging-america
- bigram
params:
unwanted-params:
param-files:
links:

13
lm0.py
View File

@ -1,13 +0,0 @@
#!/usr/bin/python3
import sys
for i, line in enumerate(sys.stdin):
if(line.split('\t')[6].endswith('\n')):
print('hence:0.95 :0.05')
elif(line.split('\t')[6].endswith('ot')):
print('be:0.6 a:0.35 :0.05')
elif(line.split('\t')[6].endswith('.')):
print('but:0.85 :0.15')
elif([l.split(' ') for l in line.split('\t')][5][0].endswith('ing')):
print('this:0.88 :0.12')
else:
print('the:0.5 a:0.3 :0.2')

BIN
model1.bin Normal file

Binary file not shown.

BIN
geval → test-A/in.tsv Executable file → Normal file

Binary file not shown.
Can't render this file because it is too large.

Binary file not shown.

7414
test-A/out.tsv Normal file

File diff suppressed because it is too large Load Diff