资源算法allennlp-bert-qa-wrapper

allennlp-bert-qa-wrapper

2019-12-25 | |  48 |   0 |   0

allennlp-bert-qa-wrapper

This is a simple wrapper on top of pretrained BERT based QA models from pytorch-pretrained-bert to make AllenNLP model archives, so that you can serve demos from AllenNLP.

Docker

To run this with Docker, first build an image.

docker build -t allennlp-bert-qa .

Then you can run the image.  The cache directory is mounted so you can re-use the cache across multiple Docker commands.

mkdir -p $HOME/.allennlp/
docker run -p 8000:8000 -v $HOME/.allennlp:/root/.allennlp allennlp-bert-qa


上一篇:allennlp-website

下一篇:pytorch-kaldi

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...