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

Refactor Text pair handling #713

Merged
merged 2 commits into from
Feb 11, 2021
Merged

Refactor Text pair handling #713

merged 2 commits into from
Feb 11, 2021

Conversation

Timoeller
Copy link
Contributor

@Timoeller Timoeller commented Feb 10, 2021

PR fixes Text Pair classification by combining text and text_b in the proper way.

PR also adds text pair regression and accompanying tests.

fixes #701
fixes #688

@Timoeller Timoeller requested a review from tholor February 10, 2021 13:57
@Timoeller Timoeller changed the title Add support for text pair regression Refactor Text pair handling Feb 10, 2021
@Timoeller
Copy link
Contributor Author

@overlookcurl please have a look at this PR. There is also a new test for how to do TextpairRegression. I have tested it and it should work, at least the MSE went done rather splendidly.

We will merge this soon, if you do not want to wait you could test it out on this branch already :D

Copy link
Member

@tholor tholor left a comment

Choose a reason for hiding this comment

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

Nice one! Just left one suggestion for a further test case...

farm/data_handler/processor.py Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

Examples scripts using the TextPairClassificationProcessor are not working SentencePair Regression
2 participants