/elmo_from_conll

Scripts to collect ELMo layer outputs for sentences from a CoNLL treebank.

Primary LanguageShellMIT LicenseMIT

ELMo from ConLL

Scripts to collect ELMo layer outputs for sentences from a CoNLL treebank.

Setup

Run pipenv install to install the required dependencies.

Switch to the virtual environment using pipenv shell.

Usage

Run elmo_from_conll.bash your_treebank.conll sentence_weights.hdf5.

Options like custom models etc. can be adapted in the script.