Update README.md
Browse files
README.md
CHANGED
|
@@ -1,42 +1,42 @@
|
|
| 1 |
-
---
|
| 2 |
-
language: en
|
| 3 |
-
license: mit
|
| 4 |
-
library_name: transformers
|
| 5 |
-
pipeline_tag: question-answering
|
| 6 |
-
tags:
|
| 7 |
-
- question-answering
|
| 8 |
-
- roberta
|
| 9 |
-
- squad2
|
| 10 |
-
- deepset
|
| 11 |
-
dataset:
|
| 12 |
-
- squad2
|
| 13 |
-
---
|
| 14 |
-
|
| 15 |
-
# CTION-QA:
|
| 16 |
-
|
| 17 |
-
## Model Description
|
| 18 |
-
|
| 19 |
-
It is fine-tuned on the **SQuAD 2.0** dataset for extractive question answering.
|
| 20 |
-
|
| 21 |
-
## Performance
|
| 22 |
-
| Metric | Score |
|
| 23 |
-
|------|------|
|
| 24 |
-
| Exact Match | 76.9 |
|
| 25 |
-
| F1 Score | 79.8 |
|
| 26 |
-
| Context Length | 512 |
|
| 27 |
-
|
| 28 |
-
## Usage
|
| 29 |
-
```python
|
| 30 |
-
from transformers import pipeline
|
| 31 |
-
|
| 32 |
-
qa = pipeline(
|
| 33 |
-
"question-answering",
|
| 34 |
-
model="hariprabhakaran45/CTION-QA"
|
| 35 |
-
)
|
| 36 |
-
|
| 37 |
-
result = qa(
|
| 38 |
-
question="Who is the Eiffel Tower named after?",
|
| 39 |
-
context="The Eiffel Tower is named after Gustave Eiffel."
|
| 40 |
-
)
|
| 41 |
-
|
| 42 |
-
print(result["answer"])
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: mit
|
| 4 |
+
library_name: transformers
|
| 5 |
+
pipeline_tag: question-answering
|
| 6 |
+
tags:
|
| 7 |
+
- question-answering
|
| 8 |
+
- roberta
|
| 9 |
+
- squad2
|
| 10 |
+
- deepset
|
| 11 |
+
dataset:
|
| 12 |
+
- squad2
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# CTION-QA: Question Answering Model
|
| 16 |
+
|
| 17 |
+
## Model Description
|
| 18 |
+
A Question Answering (Q&A) model is a transformer-based NLP model trained to understand a given context and accurately extract or generate answers to user questions from that text.
|
| 19 |
+
It is fine-tuned on the **SQuAD 2.0** dataset for extractive question answering.
|
| 20 |
+
|
| 21 |
+
## Performance
|
| 22 |
+
| Metric | Score |
|
| 23 |
+
|------|------|
|
| 24 |
+
| Exact Match | 76.9 |
|
| 25 |
+
| F1 Score | 79.8 |
|
| 26 |
+
| Context Length | 512 |
|
| 27 |
+
|
| 28 |
+
## Usage
|
| 29 |
+
```python
|
| 30 |
+
from transformers import pipeline
|
| 31 |
+
|
| 32 |
+
qa = pipeline(
|
| 33 |
+
"question-answering",
|
| 34 |
+
model="hariprabhakaran45/CTION-QA"
|
| 35 |
+
)
|
| 36 |
+
|
| 37 |
+
result = qa(
|
| 38 |
+
question="Who is the Eiffel Tower named after?",
|
| 39 |
+
context="The Eiffel Tower is named after Gustave Eiffel."
|
| 40 |
+
)
|
| 41 |
+
|
| 42 |
+
print(result["answer"])
|