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

Update return type for call method example pipeline for text_classification #280

Open
davanstrien opened this issue May 24, 2023 · 2 comments
Assignees

Comments

@davanstrien
Copy link
Member

Currently doc string types for text_classification pipeline in docker_image/commmon have

A :obj:`list`:. The object returned should be a list of one list like [[{"label": 0.9939950108528137}]] containing:

It should be

A :obj:`list`:. The object returned should be a list of one list like [[{"label": "blah", "score": 0.9939950108528137}]] containing:

see #276 (comment)

@osanseviero
Copy link
Contributor

Indeed. Would you like to open a PR for this?

@davanstrien davanstrien self-assigned this May 24, 2023
@davanstrien
Copy link
Member Author

Indeed. Would you like to open a PR for this?

will do :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants