Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Refactor Text pair handling#713

Merged
Timoeller merged 2 commits intomasterfrom
textpair_refactor
Feb 11, 2021
Merged

Refactor Text pair handling#713
Timoeller merged 2 commits intomasterfrom
textpair_refactor

Conversation

@Timoeller
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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