Instructions to use Rakib/roberta-base-on-cuad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rakib/roberta-base-on-cuad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Rakib/roberta-base-on-cuad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Rakib/roberta-base-on-cuad") model = AutoModelForQuestionAnswering.from_pretrained("Rakib/roberta-base-on-cuad", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
model documentation
#3
by nazneen - opened
README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Model Card for roberta-base-on-cuad
|
| 2 |
|
| 3 |
# Model Details
|
|
@@ -162,6 +166,7 @@ Use the code below to get started with the model.
|
|
| 162 |
|
| 163 |
<details>
|
| 164 |
<summary> Click to expand </summary>
|
|
|
|
| 165 |
```python
|
| 166 |
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
|
| 167 |
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
---
|
| 5 |
# Model Card for roberta-base-on-cuad
|
| 6 |
|
| 7 |
# Model Details
|
|
|
|
| 166 |
|
| 167 |
<details>
|
| 168 |
<summary> Click to expand </summary>
|
| 169 |
+
|
| 170 |
```python
|
| 171 |
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
|
| 172 |
|