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

feat: Add TransformersTextRouter component #7801

Merged
merged 12 commits into from
Jun 5, 2024
Merged

Conversation

sjrl
Copy link
Contributor

@sjrl sjrl commented Jun 4, 2024

Related Issues

Proposed Changes:

How did you test it?

Added unit tests and an integration test

Notes for the reviewer

Checklist

@sjrl sjrl requested review from a team as code owners June 4, 2024 11:37
@sjrl sjrl requested review from dfokina and julian-risch and removed request for a team June 4, 2024 11:37
@github-actions github-actions bot added topic:tests type:documentation Improvements on the docs labels Jun 4, 2024
@coveralls
Copy link
Collaborator

coveralls commented Jun 4, 2024

Pull Request Test Coverage Report for Build 9384370171

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 89.728%

Totals Coverage Status
Change from base Build 9370408614: 0.004%
Covered Lines: 6770
Relevant Lines: 7545

💛 - Coveralls

@sjrl
Copy link
Contributor Author

sjrl commented Jun 5, 2024

Hey @julian-risch this is ready for review!

Copy link
Member

@julian-risch julian-risch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks quite good to me already. I only have some minor comments and a question about the from_dict. The new component also needs to be added to docs/pydoc/config/routers_api.yml
Great that you asked about the warm_up before on Slack! 👍
Could you please sync with @dfokina regarding a documentation web page about this new component?

Copy link
Member

@julian-risch julian-risch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

@sjrl sjrl merged commit d815c78 into main Jun 5, 2024
23 checks passed
@sjrl sjrl deleted the feat-transformers-text-router branch June 5, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:tests type:documentation Improvements on the docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Create TransformersTextRouter based on HF TextClassification pipeline
3 participants