Close Zamba2Config code block (#35914)
* close zamba2 code block * Add Zamba2 to toctree
This commit is contained in:
@@ -626,6 +626,8 @@
|
|||||||
title: YOSO
|
title: YOSO
|
||||||
- local: model_doc/zamba
|
- local: model_doc/zamba
|
||||||
title: Zamba
|
title: Zamba
|
||||||
|
- local: model_doc/zamba2
|
||||||
|
title: Zamba2
|
||||||
title: Text models
|
title: Text models
|
||||||
- isExpanded: false
|
- isExpanded: false
|
||||||
sections:
|
sections:
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ class Zamba2Config(PretrainedConfig):
|
|||||||
>>> model = Zamba2Model(configuration)
|
>>> model = Zamba2Model(configuration)
|
||||||
>>> # Accessing the model configuration
|
>>> # Accessing the model configuration
|
||||||
>>> configuration = model.config
|
>>> configuration = model.config
|
||||||
"""
|
```"""
|
||||||
|
|
||||||
model_type = "zamba2"
|
model_type = "zamba2"
|
||||||
keys_to_ignore_at_inference = ["past_key_values"]
|
keys_to_ignore_at_inference = ["past_key_values"]
|
||||||
|
|||||||
Reference in New Issue
Block a user