-
Notifications
You must be signed in to change notification settings - Fork 27.3k
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
Add LUKE #11223
Merged
Merged
Add LUKE #11223
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
5222360
Rebase with master
NielsRogge 7a0437f
Minor bug fix in docs
NielsRogge b98b08a
Copy files from adding_luke_v2 and improve docs
NielsRogge 482c638
change the default value of use_entity_aware_attention to True
ikuyamada 99e267b
remove word_hidden_states
ikuyamada 1d14a2b
fix head models
ikuyamada 5100d31
fix tests
ikuyamada 5a4c551
fix the conversion script
ikuyamada b3e1f49
add integration tests for the pretrained large model
ikuyamada 5c783e2
improve docstring
ikuyamada 7ab6012
Improve docs, make style
NielsRogge f43e327
fix _init_weights for pytorch 1.8
ikuyamada 321564a
improve docs
ikuyamada 051e686
fix tokenizer to construct entity sequence with [MASK] entity when en…
ikuyamada ad5243d
Make fix-copies
NielsRogge 3684fd5
Make style & quality
NielsRogge d0dac04
Bug fixes
NielsRogge 080e7da
Add LukeTokenizer to init
NielsRogge b45c07d
Address most comments by @patil-suraj and @LysandreJik
NielsRogge affbb92
rename _compute_extended_attention_mask to get_extended_attention_mask
ikuyamada d0a2bb1
add comments to LukeSelfAttention
ikuyamada 39ed9da
fix the documentation of the tokenizer
ikuyamada a98adf9
address comments by @patil-suraj, @LysandreJik, and @sgugger
ikuyamada 9905d19
improve docs
ikuyamada d5243d9
Make style, quality and fix-copies
NielsRogge a0ded22
Improve docs
NielsRogge daf5fb0
fix docs
ikuyamada c44d161
add "entity_span_classification" task
ikuyamada 288f2c1
update example code for LukeForEntitySpanClassification
ikuyamada ecf091a
improve docs
ikuyamada af76646
improve docs
ikuyamada 01bcdc8
improve the code example in luke.rst
ikuyamada 96a6b55
rename the classification layer in LukeForEntityClassification from t…
ikuyamada b6a7ba7
add bias to the classifier in LukeForEntitySpanClassification
ikuyamada 11f72db
update docs to use fine-tuned hub models in code examples of the head…
ikuyamada 905b44b
update the example sentences
ikuyamada 2e87f6a
Make style & quality
NielsRogge 36dba81
Add require_torch to tokenizer tests
NielsRogge c29e2f9
Add require_torch to tokenizer tests
NielsRogge eecfa6f
Address comments by @sgugger and add community notebooks
NielsRogge 9f727b5
Make fix-copies
NielsRogge 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 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 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 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool notebooks!