From 4e1522d65ac5ff5a4a90dc2a223fc20078a85744 Mon Sep 17 00:00:00 2001 From: Daniel Levenson Date: Tue, 25 Apr 2023 17:58:45 -0400 Subject: [PATCH] Fix typo in mega.mdx (#22998) MegaConfiig -> MegaConfig --- docs/source/en/model_doc/mega.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/model_doc/mega.mdx b/docs/source/en/model_doc/mega.mdx index bfde22a5b6..2a6fa1e330 100644 --- a/docs/source/en/model_doc/mega.mdx +++ b/docs/source/en/model_doc/mega.mdx @@ -27,7 +27,7 @@ The abstract from the paper is the following: Tips: - MEGA can perform quite well with relatively few parameters. See Appendix D in the MEGA paper for examples of architectural specs which perform well in various settings. If using MEGA as a decoder, be sure to set `bidirectional=False` to avoid errors with default bidirectional. -- Mega-chunk is a variant of mega that reduces time and spaces complexity from quadratic to linear. Utilize chunking with MegaConfiig.use_chunking and control chunk size with MegaConfig.chunk_size +- Mega-chunk is a variant of mega that reduces time and spaces complexity from quadratic to linear. Utilize chunking with MegaConfig.use_chunking and control chunk size with MegaConfig.chunk_size This model was contributed by [mnaylor](https://huggingface.co/mnaylor). The original code can be found [here](https://github.com/facebookresearch/mega).