-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.ini
31 lines (23 loc) 路 865 Bytes
/
config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[DEFAULT]
# Output is either a single sigmoid neuron (True)
# or a softmax layer with two neurons (False)
SingleOutput = False
# Loss function must be compatible with output layer (cf. SingleOutput)
# Refer to https://pytorch.org/docs/stable/nn.html#loss-functions
LossFunction = CrossEntropyLoss
# Typically SGD or Adam
# Refer to https://pytorch.org/docs/stable/optim.html#algorithms
Optimizer = SGD
# Epochs per unit of training data (will be used as a multiplier)
EpochScale = 1
# Learning rate for the optimizer
LearningRate = 0.0005
# Number of hidden layers and units per layer
HiddenLayers = 2
HiddenUnits = 512
# Regularization through dropout to prevent overfitting (set 0 to disable)
Dropout = 0.2
# Enable quantization-aware training and quantized model exchange
Quantize = False
# Number of results to return on each query
NumberOfResults = 9