Skip to content

Gemma 3 model type incorrect #196

@deveworld

Description

@deveworld

Describe the bug
AssertionError: model type gemma3 is not defined. (upper task TaskType.CAUSAL_LM)

This bug cause task_in have only 'gemma3_text'

'gemma3_text': ModuleRegistration(module=<class 'easydel.modules.gemma3.modeling_gemma3_flax.Gemma3ForCausalLM'>, config=<class 'easydel.modules.gemma3.gemma3_configuration.Gemma3TextConfig'>, embedding_layer_names=None, layernorm_names=None [data_fields=('module', 'config', 'embedding_layer_names', 'layernorm_names'), meta_fields=()])

I think have to add 'gemma3' or replace to.

To Reproduce
Try to finetune using gemma3 model (I used SFT)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions