Add gemma 2 (#31659)
* inital commit * Add doc * protect? * fixup stuffs * update tests * fix build documentation * mmmmmmm config attributes * style * nit * uodate * nit * Fix docs * protect some stuff --------- Co-authored-by: Lysandre <lysandre@huggingface.co>
This commit is contained in:
@@ -41,6 +41,7 @@ SPECIAL_CASES_TO_ALLOW = {
|
||||
"expert_layer_offset",
|
||||
"expert_layer_period",
|
||||
],
|
||||
"Gemma2Config": ["tie_word_embeddings"],
|
||||
# used to compute the property `self.chunk_length`
|
||||
"EncodecConfig": ["overlap"],
|
||||
# used to compute the property `self.layers_block_type`
|
||||
|
||||
Reference in New Issue
Block a user