├── .gitignore ├── LICENSE.txt ├── README.md ├── config ├── bertserini-ds │ └── bertserini-ds-new-ranker.yaml ├── bertserini │ └── bertserini.yaml ├── multipassage-bert │ └── multipassage-bert.yaml └── sparta │ ├── cmrc2018-sparta-rbt.yaml │ ├── drcd-dev-sparta-rbt.yaml │ ├── nq-dev-sparta-spanbert.yaml │ ├── nq-test-sparta-spanbert.yaml │ ├── online-eval-zh-cmrc2018-sparta-rbt.yaml │ └── squad-sparta-spanbert.yaml ├── demo.py ├── example.py ├── imgs ├── demo.gif └── logo.png ├── reports ├── bertserini-ds-new-ranker.txt ├── bertserini.txt ├── cmrc2018-sparta-rbt.txt ├── drcd-dev-sparta-rbt.txt ├── multipassage-bert.txt ├── nq-dev-sparta-spanbert.txt ├── nq-test-sparta-spanbert.txt ├── online-eval-zh-cmrc2018-sparta-rbt.txt └── squad-sparta-spanbert.txt ├── requirements.txt └── soco_openqa ├── __init__.py ├── cloud_bucket.py ├── config.py ├── demo ├── __init__.py ├── helper.py ├── qa.py ├── ranker.py └── reader.py ├── evaluation.py ├── helper.py ├── pipeline.py ├── ranker.py ├── reader.py └── soco_mrc ├── models └── bert_model.py ├── mrc_model.py └── util.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/README.md -------------------------------------------------------------------------------- /config/bertserini-ds/bertserini-ds-new-ranker.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/config/bertserini-ds/bertserini-ds-new-ranker.yaml -------------------------------------------------------------------------------- /config/bertserini/bertserini.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/config/bertserini/bertserini.yaml -------------------------------------------------------------------------------- /config/multipassage-bert/multipassage-bert.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/config/multipassage-bert/multipassage-bert.yaml -------------------------------------------------------------------------------- /config/sparta/cmrc2018-sparta-rbt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/config/sparta/cmrc2018-sparta-rbt.yaml -------------------------------------------------------------------------------- /config/sparta/drcd-dev-sparta-rbt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/config/sparta/drcd-dev-sparta-rbt.yaml -------------------------------------------------------------------------------- /config/sparta/nq-dev-sparta-spanbert.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/config/sparta/nq-dev-sparta-spanbert.yaml -------------------------------------------------------------------------------- /config/sparta/nq-test-sparta-spanbert.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/config/sparta/nq-test-sparta-spanbert.yaml -------------------------------------------------------------------------------- /config/sparta/online-eval-zh-cmrc2018-sparta-rbt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/config/sparta/online-eval-zh-cmrc2018-sparta-rbt.yaml -------------------------------------------------------------------------------- /config/sparta/squad-sparta-spanbert.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/config/sparta/squad-sparta-spanbert.yaml -------------------------------------------------------------------------------- /demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/demo.py -------------------------------------------------------------------------------- /example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/example.py -------------------------------------------------------------------------------- /imgs/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/imgs/demo.gif -------------------------------------------------------------------------------- /imgs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/imgs/logo.png -------------------------------------------------------------------------------- /reports/bertserini-ds-new-ranker.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/reports/bertserini-ds-new-ranker.txt -------------------------------------------------------------------------------- /reports/bertserini.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/reports/bertserini.txt -------------------------------------------------------------------------------- /reports/cmrc2018-sparta-rbt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/reports/cmrc2018-sparta-rbt.txt -------------------------------------------------------------------------------- /reports/drcd-dev-sparta-rbt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/reports/drcd-dev-sparta-rbt.txt -------------------------------------------------------------------------------- /reports/multipassage-bert.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/reports/multipassage-bert.txt -------------------------------------------------------------------------------- /reports/nq-dev-sparta-spanbert.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/reports/nq-dev-sparta-spanbert.txt -------------------------------------------------------------------------------- /reports/nq-test-sparta-spanbert.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/reports/nq-test-sparta-spanbert.txt -------------------------------------------------------------------------------- /reports/online-eval-zh-cmrc2018-sparta-rbt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/reports/online-eval-zh-cmrc2018-sparta-rbt.txt -------------------------------------------------------------------------------- /reports/squad-sparta-spanbert.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/reports/squad-sparta-spanbert.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/requirements.txt -------------------------------------------------------------------------------- /soco_openqa/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /soco_openqa/cloud_bucket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/cloud_bucket.py -------------------------------------------------------------------------------- /soco_openqa/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/config.py -------------------------------------------------------------------------------- /soco_openqa/demo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/demo/__init__.py -------------------------------------------------------------------------------- /soco_openqa/demo/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/demo/helper.py -------------------------------------------------------------------------------- /soco_openqa/demo/qa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/demo/qa.py -------------------------------------------------------------------------------- /soco_openqa/demo/ranker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/demo/ranker.py -------------------------------------------------------------------------------- /soco_openqa/demo/reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/demo/reader.py -------------------------------------------------------------------------------- /soco_openqa/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/evaluation.py -------------------------------------------------------------------------------- /soco_openqa/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/helper.py -------------------------------------------------------------------------------- /soco_openqa/pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/pipeline.py -------------------------------------------------------------------------------- /soco_openqa/ranker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/ranker.py -------------------------------------------------------------------------------- /soco_openqa/reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/reader.py -------------------------------------------------------------------------------- /soco_openqa/soco_mrc/models/bert_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/soco_mrc/models/bert_model.py -------------------------------------------------------------------------------- /soco_openqa/soco_mrc/mrc_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/soco_mrc/mrc_model.py -------------------------------------------------------------------------------- /soco_openqa/soco_mrc/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soco-ai/SF-QA/HEAD/soco_openqa/soco_mrc/util.py --------------------------------------------------------------------------------