-
Notifications
You must be signed in to change notification settings - Fork 0
/
arch.yaml
34 lines (26 loc) · 1.12 KB
/
arch.yaml
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
32
33
34
---
name: model_architecture_config
date: 2019-03-03
paper: https://arxiv.org/pdf/1408.5882.pdf
arch:
cnn:
units: 100 # Number of convNets in each layers
min_filter: 3 # Minimum size of the filter
max_filter: 5 # Maximum size of the filter
kernel_l2_reg: 0 # L2 regularisation for each kernel in conv layer
layers:
dropout: 0.5 # Dropout rate in the layer
fit:
device: cuda # Device to build the model
epochs: 6 # Number of epochs
batch_size: 50 # Number of datapoint in the batch
optimizer: adam # Optimizer to use
backend: tensorflow # Neural Network Framework used
learning_rate: 0.01 # The initial learning rate
data:
root_path: ./data/ # Root data path
vocab_size: 15000 # Vocabulary size
embedding: 300 # Size of the embedding output
initialisation:
embedding: False # Use pretrained embedding for initialisation
bin_path: ./data/GoogleNews-vectors-negative300.bin