Flexible and Extensible Question Answering Platform
SQuARE is a flexible and extensible Question Answering (QA) platform to enable users to easily implement, manage and share their custom QA pipelines (aka Skills in SQuARE). Two ways are supported to use SQuARE: 1. 🌐 Get access to the existing QA Skills (and even deploy your Skill!) via our [demo page](https://square.ukp-lab.de/); 2. 💾 Or clone and install SQuARE to host services on a local machine. ## Why SQuARE? Recent advances in NLP and information retrieval have given rise to a diverse set of question answering tasks that are of different formats (e.g., extractive, abstractive), require different model architectures (e.g., generative, discriminative) and setups (e.g., with or without retrieval). Despite having a large number of powerful, specialized QA pipelines (a.k.a., Skills) that consider a single domain, model or setup, there exists no framework where users can easily explore and compare such pipelines and can extend them according to their needs. To address this issue, we present SQuARE, an extensible online QA platform for researchers which allows users to query and analyze a large collection of modern Skills via a user-friendly web interface and integrated behavioural tests. In addition, QA researchers can develop, manage and share their custom Skills using our microservices that support a wide range of models (Transformers, Adapters, ONNX), datastores and retrieval techniques (e.g., sparse and dense). Find out more about the project on [UKPs Website](https://www.informatik.tu-darmstadt.de/ukp/research_ukp/ukp_research_projects/ukp_project_square/ukp_project_square_details.en.jsp). ## Get Started 👉 If you want to use the SQuARE public service online, you can refer to [Online Service](#Online-Service) for using the existing skills and refer to [Add New Skills](#Add-New-Skills) for adding new skills. 👉 If you want to deploy SQuARE locally yourself, please refer to [Local Installation](#Local-Installation). 👉 For illustration of the architecture, please refer to [Architecture](#Architecture). 👉 And welcome to [contact us](#Contact). ## Online Service Try out the on-the-go skills on the [demo page](https://square.ukp-lab.de/)! The existing skills include span-extraction, abstractive, multi-choice QA with contexts or without contexts (open QA based on retrieval).
## Contact The current main contributors of this repository are: - [Tim Baumgärtner](https://github.com/timbmg), [Kexin Wang](https://github.com/kwang2049), [Rachneet Singh Sachdeva](https://github.com/Rachneet), [Haritz Puerto](https://github.com/HaritzPuerto), [Hao Zhang](https://github.com/HaoZ-Work), [Sewin Tariverdian](https://github.com/SevenDaysDA) Contact person: [Haritz Puerto](mailto:puerto@ukp.informatik.tu-darmstadt.de) (UI and general questions), [Tim Baumgärtner](mailto:baumgaertner@ukp.informatik.tu-darmstadt.de) (Skills), [Kexin Wang](mailto:kexin.wang.2049@gmail.com) (Datastores), [Rachneet Singh Sachdeva](mailto:sachdeva@ukp.informatik.tu-darmstadt.de) (Models), Previous contributors: - [Max Eichler](https://github.com/maexe), [Gregor Geigle](https://github.com/gregor-ge), [Clifton Poth](https://github.com/calpt), [Hannah Sterz](https://github.com/hSterz) [https://www.ukp.tu-darmstadt.de/](https://www.ukp.tu-darmstadt.de/) Don't hesitate to send us an e-mail or report an issue, if something is broken (and it shouldn't be) or if you have further questions. ## Citation If you find our work useful, please consider citing our ACL and AACL papers. [SQuARE v1@ACL 2022 Demo Track](https://aclanthology.org/2022.acl-demo.2/). ```bibtex @inproceedings{baumgartner-etal-2022-ukp, title = "{UKP}-{SQ}u{ARE}: An Online Platform for Question Answering Research", author = {Baumg{\"a}rtner, Tim and Wang, Kexin and Sachdeva, Rachneet and Geigle, Gregor and Eichler, Max and Poth, Clifton and Sterz, Hannah and Puerto, Haritz and Ribeiro, Leonardo F. R. and Pfeiffer, Jonas and Reimers, Nils and {\c{S}}ahin, G{\"o}zde and Gurevych, Iryna}, booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: System Demonstrations", month = may, year = "2022", address = "Dublin, Ireland", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2022.acl-demo.2", doi = "10.18653/v1/2022.acl-demo.2", pages = "9--22", } ``` [SQuARE v2@AACL 2022 Demo Track](https://aclanthology.org/2022.aacl-demo.4/). ```bibtex @inproceedings{sachdeva-etal-2022-ukp, title = "{UKP}-{SQ}u{ARE} v2: Explainability and Adversarial Attacks for Trustworthy {QA}", author = {Sachdeva, Rachneet and Puerto, Haritz and Baumg{\"a}rtner, Tim and Tariverdian, Sewin and Zhang, Hao and Wang, Kexin and Saadi, Hossain Shaikh and Ribeiro, Leonardo F. R. and Gurevych, Iryna}, booktitle = "Proceedings of the 2nd Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 12th International Joint Conference on Natural Language Processing: System Demonstrations", month = nov, year = "2022", address = "Taipei, Taiwan", publisher = "Association for Computational Linguistics", url = "https://aclanthology.org/2022.aacl-demo.4", pages = "28--38", } ``` > This repository contains experimental software and is published for the sole purpose of giving additional background details on the respective publication. We are not held responsible for errors, false, or offensive content generated by the deployed models.