osanseviero HF staff commited on
Commit
2687d12
1 Parent(s): 1bd5f31

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -4,7 +4,7 @@ datasets:
4
  - tweet_qa
5
  tags:
6
  - qa
7
- - question-answering
8
 
9
  ---
10
 
@@ -36,7 +36,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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\u2014 Full Frontal (@FullFrontalSamB) January 22, 2017",
40
  "qid": "3554ee17d86b678be34c4dc2c04e334f"
41
  }
42
  ```
@@ -77,7 +77,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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\u2014 Full Frontal (@FullFrontalSamB) January 22, 2017"
81
  question = "who is the tallest host?"
82
 
83
  get_answer(question, context)
 
4
  - tweet_qa
5
  tags:
6
  - qa
7
+ - Question Answering
8
 
9
  ---
10
 
 
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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\u2014 Full Frontal (@FullFrontalSamB) January 22, 2017",
40
  "qid": "3554ee17d86b678be34c4dc2c04e334f"
41
  }
42
  ```
 
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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\u2014 Full Frontal (@FullFrontalSamB) January 22, 2017"
81
  question = "who is the tallest host?"
82
 
83
  get_answer(question, context)