Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
f2715519d1 | |||
a3c459281d | |||
b13b56a8c8 |
21038
dev-0/out.tsv
21038
dev-0/out.tsv
File diff suppressed because one or more lines are too long
18
gonito.yaml
Normal file
18
gonito.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
description: Trigram Neural Network Solution
|
||||
tags:
|
||||
- neural-network
|
||||
- right-right
|
||||
params:
|
||||
vocab_size: 20000
|
||||
embed_size: 200
|
||||
batch_size: 5000
|
||||
hidden_size: 100
|
||||
context_size: 2
|
||||
learning-rate: 2e-3
|
||||
epochs: 2
|
||||
top_k: 200
|
||||
unwanted-params:
|
||||
- model-file
|
||||
- vocab-file
|
||||
param-files:
|
||||
- "*.yaml"
|
13
lm0.py
13
lm0.py
@ -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
model_neural_network_trigrams_right_context_batch_1000.bin
Normal file
BIN
model_neural_network_trigrams_right_context_batch_1000.bin
Normal file
Binary file not shown.
7414
test-A/out.tsv
Normal file
7414
test-A/out.tsv
Normal file
File diff suppressed because one or more lines are too long
BIN
vocabulary_neural_network_trigrams_batch_1000.pickle
Normal file
BIN
vocabulary_neural_network_trigrams_batch_1000.pickle
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user