Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualize non-normalized scores #17

Merged
merged 1 commit into from
Aug 2, 2017
Merged

Visualize non-normalized scores #17

merged 1 commit into from
Aug 2, 2017

Conversation

ajfisch
Copy link
Contributor

@ajfisch ajfisch commented Aug 2, 2017

In response to #11

[afisch/~/github/DrQA]$ python scripts/reader/interactive.py --no-normalize
08/02/2017 04:12:31 PM: [ Running on CPU only. ]
08/02/2017 04:12:31 PM: [ Initializing model... ]
08/02/2017 04:12:31 PM: [ Loading model /Users/afisch/github/DrQA/data/reader/single.mdl ]
08/02/2017 04:12:32 PM: [ Initializing tokenizer... ]

DrQA Interactive Document Reader Module
>> process(document, question, candidates=None, top_n=1)
>> usage()

>>> process('My name is Adam.', 'What is my name?')
+------+------+---------+
| Rank | Span |  Score  |
+------+------+---------+
|  1   | Adam | 700.247 |
+------+------+---------+
Time: 0.2814
[afisch/~/github/DrQA]$ python scripts/reader/interactive.py
08/02/2017 04:13:15 PM: [ Running on CPU only. ]
08/02/2017 04:13:15 PM: [ Initializing model... ]
08/02/2017 04:13:15 PM: [ Loading model /Users/afisch/github/DrQA/data/reader/single.mdl ]
08/02/2017 04:13:17 PM: [ Initializing tokenizer... ]

DrQA Interactive Document Reader Module
>> process(document, question, candidates=None, top_n=1)
>> usage()

>>> process('My name is Adam.', 'What is my name?')
+------+------+----------+
| Rank | Span |  Score   |
+------+------+----------+
|  1   | Adam | 0.921679 |
+------+------+----------+
Time: 0.2317

@ajfisch ajfisch merged commit a69c464 into master Aug 2, 2017
@ajfisch ajfisch deleted the scores branch August 2, 2017 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants