gm.nn.Gemma3_27B#
- class gemma.gm.nn.Gemma3_27B(
- config: transformer.TransformerConfig = None,
- return_last_only: bool | None = None,
- dtype: jnp.dtype = <class 'jax.numpy.bfloat16'>,
- tokens: kontext.Key = '__KEY_REQUIRED__',
- images: kontext.Key | None = None,
- text_only: bool = False,
- parent: flax.linen.module.Module | flax.core.scope.Scope | flax.linen.module._Sentinel | None = <flax.linen.module._Sentinel object>,
- name: str | None = None,
Bases:
gemma.gm.nn._gemma._Gemma3Base
Gemma3 Transformer 架构。
- static CONFIG_FN(*, text_only: bool = False)[source]
- INFO: ClassVar[ModelInfo] = ModelInfo(tokenizer_version=3, default_ckpt=None)
- name: str | None = None
- parent: flax.linen.module.Module | flax.core.scope.Scope | flax.linen.module._Sentinel | None = None
- scope: Scope | None = None