Where I can find official pretrained weights of SOP in Albert and NSP in Bert?
See original GitHub issueHi Guys,
I was checking for the pre-trained weights ( 2 layer classifier ) of SOP
in Albert
and NSP
in Bert
.
Seems like it is initializing randomly every time.
Can we have the official weights loaded here or is it not available from official models? Can anyone clarify please.
Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
ALBERT Model for Self-Supervised Learning - Analytics Vidhya
Like BERT, ALBERT was pre-trained on the English Wikipedia and Book CORPUS datasets containing 16 GB of uncompressed data. Due to the parametric ......
Read more >ALBERT: A Lite BERT for Self-supervised Learning of ...
A new pretraining method that establishes new state-of-the-art results on the GLUE, RACE, and SQuAD benchmarks while having fewer parameters compared to ...
Read more >BERT: Pre-training of Deep Bidirectional Transformers for ...
In this deep dive of BERT, we explore the powerful NLP model's history, break down the approach and architecture behind the model, and...
Read more >is SOP(sentence order prediction) implemented? · Issue #2671
I can find NSP(Next Sentence Prediction) implementation from modeling_from src/transformers/modeling_bert.py. Is SOP inherited from here with ...
Read more >Meet ALBERT: a new 'Lite BERT' from Google & Toyota with ...
Training changes — SOP, or Sentence Order Prediction: ALBERT does use MLM (Masked Language Modeling), just like BERT, using up to 3 word...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @s4sarath, sorry for the delayed response. If the checkpoints on the hub do not satisfy you (I see the SOP/NSP layers are indeed lacking), conversion scripts are available for each model:
convert_*
scriptsI confirm this successfully exports the full model, including the NSP/SOP weights:
ALBERT
BERT
Same for BERT:
Hope that helps.
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.