Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@EntilZha
Created December 16, 2019 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EntilZha/dce35a2b533a1ddea74f8c40092ba599 to your computer and use it in GitHub Desktop.
Save EntilZha/dce35a2b533a1ddea74f8c40092ba599 to your computer and use it in GitHub Desktop.
Example of AllenNLP Logging
$ allennlp make-vocab --include-package zero -s /tmp/stuff config/manual/qanta/ai2.jsonnet (zero)
Better speed can be achieved with apex installed from https://www.github.com/nvidia/apex.
2019-12-16 18:11:49,080 - INFO - allennlp.common.params - random_seed = 13370
2019-12-16 18:11:49,081 - INFO - allennlp.common.params - numpy_seed = 1337
2019-12-16 18:11:49,081 - INFO - allennlp.common.params - pytorch_seed = 133
2019-12-16 18:11:49,182 - INFO - allennlp.common.checks - Pytorch version: 1.0.1
2019-12-16 18:11:49,185 - INFO - allennlp.common.from_params - instantiating class <class 'allennlp.data.dataset_readers.dataset_reader.DatasetReader'> from params {'evidence': True, 'lazy': False, 'type': 'qanta_rc'} and extras {}
2019-12-16 18:11:49,185 - INFO - allennlp.common.params - dataset_reader.type = qanta_rc
2019-12-16 18:11:49,186 - INFO - allennlp.common.from_params - instantiating class <class 'zero.datasets.qanta.QantaRcReader'> from params {'evidence': True, 'lazy': False} and extras {}
2019-12-16 18:11:49,186 - INFO - allennlp.common.params - dataset_reader.lazy = False
2019-12-16 18:11:49,186 - INFO - allennlp.common.params - dataset_reader.evidence = True
2019-12-16 18:11:49,186 - INFO - allennlp.common.params - dataset_reader.token_indexers = <allennlp.common.params.Params object at 0x7f86ba99bba8>
2019-12-16 18:11:49,187 - INFO - allennlp.common.params - dataset_reader.entity_indexers = <allennlp.common.params.Params object at 0x7f86ba99bba8>
2019-12-16 18:11:49,982 - INFO - allennlp.common.params - validation_dataset_reader = None
2019-12-16 18:11:49,982 - INFO - allennlp.common.params - train_data_path = data/qanta.train.rc_*.pickle
2019-12-16 18:11:49,982 - INFO - allennlp.training.util - Reading training data from data/qanta.train.rc_*.pickle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment