Instructions to use deepset/roberta-base-squad2-covid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepset/roberta-base-squad2-covid with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="deepset/roberta-base-squad2-covid")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("deepset/roberta-base-squad2-covid") model = AutoModelForQuestionAnswering.from_pretrained("deepset/roberta-base-squad2-covid", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
1f7b27b
1
Parent(s): 385436c
Update README.md
Browse files
README.md
CHANGED
|
@@ -35,10 +35,10 @@ license: cc-by-4.0
|
|
| 35 |
|
| 36 |
**Single EM-Scores:** [0.222, 0.123, 0.234, 0.159, 0.158]
|
| 37 |
**Single F1-Scores:** [0.476, 0.493, 0.599, 0.461, 0.465]
|
| 38 |
-
**Single top\_3\_recall Scores:** [0.827, 0.776, 0.860, 0.771, 0.777]
|
| 39 |
**XVAL EM:** 0.17890995260663506
|
| 40 |
**XVAL f1:** 0.49925444207319924
|
| 41 |
-
**XVAL top\_3\_recall:** 0.8021327014218009
|
| 42 |
|
| 43 |
This model is the model obtained from the **third** fold of the cross-validation.
|
| 44 |
|
|
@@ -106,8 +106,11 @@ Our focus: Industry specific language models & large scale QA systems.
|
|
| 106 |
|
| 107 |
Some of our work:
|
| 108 |
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
|
|
|
|
| 109 |
- [FARM](https://github.com/deepset-ai/FARM)
|
| 110 |
- [Haystack](https://github.com/deepset-ai/haystack/)
|
| 111 |
|
| 112 |
Get in touch:
|
| 113 |
-
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Website](https://deepset.ai)
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
**Single EM-Scores:** [0.222, 0.123, 0.234, 0.159, 0.158]
|
| 37 |
**Single F1-Scores:** [0.476, 0.493, 0.599, 0.461, 0.465]
|
| 38 |
+
**Single top\\_3\\_recall Scores:** [0.827, 0.776, 0.860, 0.771, 0.777]
|
| 39 |
**XVAL EM:** 0.17890995260663506
|
| 40 |
**XVAL f1:** 0.49925444207319924
|
| 41 |
+
**XVAL top\\_3\\_recall:** 0.8021327014218009
|
| 42 |
|
| 43 |
This model is the model obtained from the **third** fold of the cross-validation.
|
| 44 |
|
|
|
|
| 106 |
|
| 107 |
Some of our work:
|
| 108 |
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
|
| 109 |
+
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
|
| 110 |
- [FARM](https://github.com/deepset-ai/FARM)
|
| 111 |
- [Haystack](https://github.com/deepset-ai/haystack/)
|
| 112 |
|
| 113 |
Get in touch:
|
| 114 |
+
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Slack](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
|
| 115 |
+
|
| 116 |
+
By the way: [we're hiring!](https://apply.workable.com/deepset/)
|