Update README.md
Browse files
README.md
CHANGED
@@ -5,6 +5,8 @@ datasets:
|
|
5 |
tags:
|
6 |
- qa
|
7 |
- Question Answering
|
|
|
|
|
8 |
|
9 |
---
|
10 |
|
@@ -36,7 +38,7 @@ Sample
|
|
36 |
{
|
37 |
"Question": "who is the tallest host?",
|
38 |
"Answer": ["sam bee","sam bee"],
|
39 |
-
"Tweet": "Don't believe @ConanOBrien's height lies. Sam Bee is the tallest host in late night. #alternativefacts
|
40 |
"qid": "3554ee17d86b678be34c4dc2c04e334f"
|
41 |
}
|
42 |
```
|
@@ -77,7 +79,7 @@ def get_answer(question, context):
|
|
77 |
return tokenizer.decode(output[0], skip_special_tokens=True)
|
78 |
|
79 |
|
80 |
-
context = "Don't believe @ConanOBrien's height lies. Sam Bee is the tallest host in late night. #alternativefacts
|
81 |
question = "who is the tallest host?"
|
82 |
|
83 |
get_answer(question, context)
|
|
|
5 |
tags:
|
6 |
- qa
|
7 |
- Question Answering
|
8 |
+
widget:
|
9 |
+
- text: "question: how far away was the putt context: GET THE CIGAR READY! Miguel aces the 15th from 174 yards, and celebrates as only he knows how! The European Tour (@EuropeanTour) January, 15 2015"
|
10 |
|
11 |
---
|
12 |
|
|
|
38 |
{
|
39 |
"Question": "who is the tallest host?",
|
40 |
"Answer": ["sam bee","sam bee"],
|
41 |
+
"Tweet": "Don't believe @ConanOBrien's height lies. Sam Bee is the tallest host in late night. #alternativefacts\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\u2014 Full Frontal (@FullFrontalSamB) January 22, 2017",
|
42 |
"qid": "3554ee17d86b678be34c4dc2c04e334f"
|
43 |
}
|
44 |
```
|
|
|
79 |
return tokenizer.decode(output[0], skip_special_tokens=True)
|
80 |
|
81 |
|
82 |
+
context = "Don't believe @ConanOBrien's height lies. Sam Bee is the tallest host in late night. #alternativefacts\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\u2014 Full Frontal (@FullFrontalSamB) January 22, 2017"
|
83 |
question = "who is the tallest host?"
|
84 |
|
85 |
get_answer(question, context)
|