allennlp.pretrained¶
Pretrained models available in AllenNLP.
-
class
allennlp.pretrained.
PretrainedModel
(archive_file: str, predictor_name: str)[source]¶ Bases:
object
A pretrained model is determined by both an archive file (representing the trained model) and a choice of predictor.
-
allennlp.pretrained.
bert_srl_shi_2019
() → allennlp.predictors.semantic_role_labeler.SemanticRoleLabelerPredictor[source]¶
-
allennlp.pretrained.
biaffine_parser_stanford_dependencies_todzat_2017
() → allennlp.predictors.biaffine_dependency_parser.BiaffineDependencyParserPredictor[source]¶
-
allennlp.pretrained.
biaffine_parser_universal_dependencies_todzat_2017
() → allennlp.predictors.biaffine_dependency_parser.BiaffineDependencyParserPredictor[source]¶
-
allennlp.pretrained.
bidirectional_attention_flow_seo_2017
() → allennlp.predictors.bidaf.BidafPredictor[source]¶
-
allennlp.pretrained.
decomposable_attention_with_elmo_parikh_2017
() → allennlp.predictors.decomposable_attention.DecomposableAttentionPredictor[source]¶
-
allennlp.pretrained.
esim_nli_with_elmo_chen_2017
() → allennlp.predictors.decomposable_attention.DecomposableAttentionPredictor[source]¶
-
allennlp.pretrained.
fine_grained_named_entity_recognition_with_elmo_peters_2018
() → allennlp.predictors.sentence_tagger.SentenceTaggerPredictor[source]¶
-
allennlp.pretrained.
named_entity_recognition_with_elmo_peters_2018
() → allennlp.predictors.sentence_tagger.SentenceTaggerPredictor[source]¶
-
allennlp.pretrained.
neural_coreference_resolution_lee_2017
() → allennlp.predictors.coref.CorefPredictor[source]¶
-
allennlp.pretrained.
open_information_extraction_stanovsky_2018
() → allennlp.predictors.open_information_extraction.OpenIePredictor[source]¶