sjrhuschlee
commited on
Commit
•
09c14f0
1
Parent(s):
9d66e31
Update README.md
Browse files
README.md
CHANGED
@@ -52,7 +52,7 @@ qa_input = {
|
|
52 |
'context': 'My name is Sarah and I live in London'
|
53 |
}
|
54 |
res = nlp(qa_input)
|
55 |
-
# {'score': 0.
|
56 |
|
57 |
# b) Load model & tokenizer
|
58 |
model = AutoModelForQuestionAnswering.from_pretrained(model_name)
|
|
|
52 |
'context': 'My name is Sarah and I live in London'
|
53 |
}
|
54 |
res = nlp(qa_input)
|
55 |
+
# {'score': 0.980, 'start': 30, 'end': 37, 'answer': ' London'}
|
56 |
|
57 |
# b) Load model & tokenizer
|
58 |
model = AutoModelForQuestionAnswering.from_pretrained(model_name)
|