-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Tf longformer for sequence classification #8231
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
Merged
LysandreJik
merged 33 commits into
huggingface:master
from
elk-cloner:TFLongformerForSequenceClassification
Nov 19, 2020
Merged
Changes from 28 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
36b8a67
working on LongformerForSequenceClassification
elk-cloner d6d0a45
add TFLongformerForMultipleChoice
elk-cloner fb18c1c
add TFLongformerForTokenClassification
elk-cloner e272b7e
use add_start_docstrings_to_model_forward
elk-cloner 2a17445
test TFLongformerForSequenceClassification
elk-cloner d6ec9a5
test TFLongformerForMultipleChoice
elk-cloner 218d8b0
test TFLongformerForTokenClassification
elk-cloner 4af4f5b
remove test from repo
elk-cloner e361cc9
add test and doc for TFLongformerForSequenceClassification, TFLongfor…
elk-cloner a73256e
add requested classes to modeling_tf_auto.py
elk-cloner a4b7f99
pass all tests except test_inputs_embeds
elk-cloner 59a6fdd
sync with upstream
elk-cloner f4d6395
sync with master
elk-cloner 28ab848
pass all tests except test_inputs_embeds
elk-cloner 60d8b69
pass all tests
elk-cloner c334b18
sync
elk-cloner 81748d0
pass all tests
elk-cloner ec5c41f
work on test_inputs_embeds
elk-cloner 07c09ca
fix style and quality
elk-cloner def4c83
make multi choice work
patrickvonplaten 6ccae82
Merge branch 'master' into TFLongformerForSequenceClassification
elk-cloner 1754beb
fix TFLongformerForTokenClassification signature
elk-cloner 10e77e4
fix TFLongformerForMultipleChoice, TFLongformerForSequenceClassificat…
elk-cloner 9030ff3
Merge branch 'master' into TFLongformerForSequenceClassification
elk-cloner 7e3fc11
Merge branch 'master' into TFLongformerForSequenceClassification
elk-cloner 79a5414
finish PR
patrickvonplaten 0347a71
fix mult choice
patrickvonplaten 2e8728c
fix mc hint
patrickvonplaten fac437f
fix input embeds
patrickvonplaten 1f5eeb8
fix input embeds
patrickvonplaten c95c099
refactor input embeds
patrickvonplaten 6da6c55
fix copy issue
patrickvonplaten 434f514
apply sylvains changes and clean more
patrickvonplaten File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
555 changes: 549 additions & 6 deletions
555
src/transformers/models/longformer/modeling_tf_longformer.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.