Ahmadzei's picture
added 3 more tables for large emb model
5fa1a76
The original implementation did not include token type embeddings; this implementation adds support for these, with the option controlled by MegaConfig.add_token_type_embeddings
MegaConfig
[[autodoc]] MegaConfig
MegaModel
[[autodoc]] MegaModel
- forward
MegaForCausalLM
[[autodoc]] MegaForCausalLM
- forward
MegaForMaskedLM
[[autodoc]] MegaForMaskedLM
- forward
MegaForSequenceClassification
[[autodoc]] MegaForSequenceClassification
- forward
MegaForMultipleChoice
[[autodoc]] MegaForMultipleChoice
- forward
MegaForTokenClassification
[[autodoc]] MegaForTokenClassification
- forward
MegaForQuestionAnswering
[[autodoc]] MegaForQuestionAnswering
- forward