DocNNRepresentation.ConfigΒΆ
Component: DocNNRepresentation
-
class
DocNNRepresentation.
Config
[source] Bases:
RepresentationBase.Config
All Attributes (including base classes)
Default JSON
{
"load_path": null,
"save_path": null,
"freeze": false,
"shared_module_key": null,
"dropout": 0.4,
"cnn": {
"kernel_num": 100,
"kernel_sizes": [
3,
4
],
"weight_norm": false,
"dilated": false,
"causal": false
},
"pooling": "max"
}