Instructions to use z-uo/bert-qasper with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use z-uo/bert-qasper with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="z-uo/bert-qasper")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("z-uo/bert-qasper") model = AutoModelForQuestionAnswering.from_pretrained("z-uo/bert-qasper", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ datasets:
|
|
| 5 |
---
|
| 6 |
|
| 7 |
# bert-base for QA with qasper
|
| 8 |
-
Train from
|
| 9 |
|
| 10 |
How to use by python code:
|
| 11 |
```python
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
# bert-base for QA with qasper
|
| 8 |
+
Train from bert-base-uncased.
|
| 9 |
|
| 10 |
How to use by python code:
|
| 11 |
```python
|