Instructions to use sultan/BioM-ELECTRA-Base-SQuAD2-BioASQ8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sultan/BioM-ELECTRA-Base-SQuAD2-BioASQ8B 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="sultan/BioM-ELECTRA-Base-SQuAD2-BioASQ8B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("sultan/BioM-ELECTRA-Base-SQuAD2-BioASQ8B") model = AutoModelForQuestionAnswering.from_pretrained("sultan/BioM-ELECTRA-Base-SQuAD2-BioASQ8B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -31,7 +31,7 @@ models.
|
|
| 31 |
| Model | Exact Match (EM) | F1 Score |
|
| 32 |
| --- | --- | --- |
|
| 33 |
| ELECTRA-Base-SQuAD2 | 61.89 | 74.39 |
|
| 34 |
-
| BioM-ELECTRA-Base-SQuAD2-BioASQ8B | 70.31 | 80.90 |
|
| 35 |
| ELECTRA-Large-SQuAD2 | 67.36 | 78.90 |
|
| 36 |
| BioM-ELECTRA-Large-SQuAD2-BioASQ8B | 74.31 | 84.72 |
|
| 37 |
|
|
|
|
| 31 |
| Model | Exact Match (EM) | F1 Score |
|
| 32 |
| --- | --- | --- |
|
| 33 |
| ELECTRA-Base-SQuAD2 | 61.89 | 74.39 |
|
| 34 |
+
| **BioM-ELECTRA-Base-SQuAD2-BioASQ8B** | **70.31** | **80.90** |
|
| 35 |
| ELECTRA-Large-SQuAD2 | 67.36 | 78.90 |
|
| 36 |
| BioM-ELECTRA-Large-SQuAD2-BioASQ8B | 74.31 | 84.72 |
|
| 37 |
|