final solution
This commit is contained in:
parent
f4c7c9497b
commit
6a8a2627b0
20844
dev-0/out.tsv
20844
dev-0/out.tsv
File diff suppressed because it is too large
Load Diff
4
run.py
4
run.py
@ -28,8 +28,8 @@ class Model():
|
||||
self.vocab.add(w3)
|
||||
self.probs[(w1, w3)][w2] += 1
|
||||
# limit number of data rows used for training
|
||||
if index > 10000:
|
||||
break
|
||||
# if index > 10000:
|
||||
# break
|
||||
|
||||
for w1_w3 in self.probs:
|
||||
total_count = float(sum(self.probs[w1_w3].values()))
|
||||
|
14372
test-A/out.tsv
14372
test-A/out.tsv
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user