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

Support more model outputs for BERT/ERNIE/RoBERTa #2665

Merged
merged 20 commits into from
Jul 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e621c73
Support more model outputs for BERT.
guoshengCS Jun 20, 2022
b0989f4
Make more task classed support more outputs.
guoshengCS Jun 20, 2022
0e32be6
Convert list to tuple automatically in ModelOutput.
guoshengCS Jun 21, 2022
e698eb3
Support more model outputs for ERNIE.
guoshengCS Jun 21, 2022
500c7d1
Support more model outputs for Roberta.
guoshengCS Jun 22, 2022
7e4e150
Add embedding output to all hidden states.
guoshengCS Jun 24, 2022
51f0b7c
Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i…
guoshengCS Jun 24, 2022
8489fe2
Clean import in model_output.py
guoshengCS Jun 24, 2022
444691a
Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i…
guoshengCS Jun 28, 2022
1cf2a34
Make output of BERT/ERNIE/RoBerta be tensor instead of tuple when the…
guoshengCS Jun 28, 2022
5579d83
Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i…
guoshengCS Jun 28, 2022
c04430c
Make monkey patches for forward of PretrainedModel compatible with th…
guoshengCS Jun 29, 2022
6d62b10
Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i…
guoshengCS Jun 29, 2022
b68593b
Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i…
guoshengCS Jun 29, 2022
1df93c2
Add compatibility for patches of paddle.nn.Transformer
guoshengCS Jul 4, 2022
d6c53fb
Fix dygraph to static graph with more outputs.
guoshengCS Jul 4, 2022
f6f2382
Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i…
guoshengCS Jul 5, 2022
0879f96
Fix setattr for subclass of TransformerEncoder such as Electra.
guoshengCS Jul 5, 2022
02c75a9
Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleNLP i…
guoshengCS Jul 5, 2022
8d35003
Merge branch 'develop' into bert-output-attn-new
guoshengCS Jul 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion paddlenlp/transformers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@
if is_faster_tokenizer_available():
from .bert.faster_tokenizer import *
from .ernie.faster_tokenizer import *
from .tinybert.faster_tokenizer import *
from .tinybert.faster_tokenizer import *
Loading