Update README.md
Browse files
README.md
CHANGED
|
@@ -60,7 +60,7 @@ You can try the model with the following code:
|
|
| 60 |
```python
|
| 61 |
from transformers import pipeline
|
| 62 |
|
| 63 |
-
qa_pipeline = pipeline("question-answering", model="
|
| 64 |
result = qa_pipeline({
|
| 65 |
"context": "Hugging Face is creating a tool that democratizes AI.",
|
| 66 |
"question": "What is Hugging Face creating?"
|
|
|
|
| 60 |
```python
|
| 61 |
from transformers import pipeline
|
| 62 |
|
| 63 |
+
qa_pipeline = pipeline("question-answering", model="peeyush01/bert-squad-v2")
|
| 64 |
result = qa_pipeline({
|
| 65 |
"context": "Hugging Face is creating a tool that democratizes AI.",
|
| 66 |
"question": "What is Hugging Face creating?"
|