second attempt
This commit is contained in:
parent
76fffb4848
commit
3e0857c6c7
594
dev-0/out.tsv
594
dev-0/out.tsv
File diff suppressed because it is too large
Load Diff
@ -55,9 +55,9 @@ test_x = [get_word2vec(document) for document in test_x]
|
||||
print('model training')
|
||||
network = MyNeuralNetwork(300, 600, 1)
|
||||
criterion = torch.nn.BCELoss()
|
||||
optimizer = torch.optim.SGD(network.parameters(), lr=0.1)
|
||||
epochs = 5
|
||||
batch_size = 5
|
||||
optimizer = torch.optim.SGD(network.parameters(), lr=0.02)
|
||||
epochs = 15
|
||||
batch_size = 15
|
||||
|
||||
for epoch in range(epochs):
|
||||
network.train()
|
||||
|
452
test-A/out.tsv
452
test-A/out.tsv
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user