Instructions to use JAlexis/bertFast_01 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JAlexis/bertFast_01 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="JAlexis/bertFast_01")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("JAlexis/bertFast_01") model = AutoModelForQuestionAnswering.from_pretrained("JAlexis/bertFast_01") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,7 +17,7 @@ This model was obtained by fine-tuning deepset/bert-base-cased-squad2 on Cord19
|
|
| 17 |
|
| 18 |
```python
|
| 19 |
from transformers.pipelines import pipeline
|
| 20 |
-
model_name = "JAlexis/
|
| 21 |
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
|
| 22 |
inputs = {
|
| 23 |
'question': 'How can I protect myself against covid-19?',
|
|
|
|
| 17 |
|
| 18 |
```python
|
| 19 |
from transformers.pipelines import pipeline
|
| 20 |
+
model_name = "JAlexis/bertFast_01"
|
| 21 |
nlp = pipeline('question-answering', model=model_name, tokenizer=model_name)
|
| 22 |
inputs = {
|
| 23 |
'question': 'How can I protect myself against covid-19?',
|