Skip to content

QuestionAnsweringOutput does not return start/end index #1245

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

Open
sleep9 opened this issue Mar 18, 2025 · 0 comments
Open

QuestionAnsweringOutput does not return start/end index #1245

sleep9 opened this issue Mar 18, 2025 · 0 comments
Labels
question Further information is requested

Comments

@sleep9
Copy link

sleep9 commented Mar 18, 2025

Question

Question/Answering pipeline does not seem to return start/end index.

console output example

{ answer: 'anywhere', score: 0.8719829671013909 }

source code in pipeline.js

class QuestionAnsweringPipeline ...

// TODO add start and end?
// NOTE: HF returns character index
                toReturn.push({
                    answer, score
                });```
@sleep9 sleep9 added the question Further information is requested label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant