Add missing close brace, standardize indentation in ELMo howto
first code block was missing a `}`, and i took the opportunity to make the spacing for all of them uniform.
@@ -88,6 +88,7 @@ To add ELMo, there are three relevant changes. First, modify the `text_field_em
"do_layer_norm": false,
"dropout": 0.5
}
+}
```
Second, add an `elmo` section to the `dataset_reader` to convert raw text to ELMo character id sequences in addition to GloVe ids:
@@ -119,7 +120,7 @@ ELMo provides a 1024 dimension representation so the new `input_size` is 1224.
"num_layers": 8,
"recurrent_dropout_probability": 0.1,
"use_highway": true
- },
+}
```
## Recommended hyper-parameter settings for `Elmo` class
