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

Nlp #232

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Nlp #232

wants to merge 2 commits into from

Conversation

dolgopolov-d
Copy link
Contributor

I have a question: we need to interpret output of our net as floats which indicate indices needed to form an answer, right?

@dkurt
Copy link
Owner

dkurt commented Jul 16, 2020

I have a question: we need to interpret output of our net as floats which indicate indices needed to form an answer, right?

@dolgopolov-d, have you read a guide?

Network produces two outputs - both have 1x128 shape and indicate start and end token of answer in input sequence.

@dolgopolov-d
Copy link
Contributor Author

@dkurt yes, but I don't know how to separate start and end token of answer, if i understood this correctly

@dkurt
Copy link
Owner

dkurt commented Jul 16, 2020

Start token id is from first input and end token id from a second one

@dolgopolov-d
Copy link
Contributor Author

So we need to set Blob and run Infer twice?

@dkurt
Copy link
Owner

dkurt commented Jul 16, 2020

No, just a single Infer but two GetBlob

@dolgopolov-d
Copy link
Contributor Author

Oh, I see. Thanks

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