Skip to content

AttributeError: 'dict' object has no attribute 'llm_config' #3

@fengxinbo1

Description

@fengxinbo1

[rank0]: Traceback (most recent call last): [rank0]: File "/home/wangjing/fxb/workspace/mamba/mmMamba-main/distill_mmMamba.py", line 565, in [rank0]: main() [rank0]: File "/home/wangjing/fxb/workspace/mamba/mmMamba-main/distill_mmMamba.py", line 282, in main [rank0]: trainer = OurTrainer(accelerator=accelerator, [rank0]: File "/home/wangjing/fxb/workspace/mamba/mmMamba-main/src/trainer/distill_every_layer.py", line 25, in init [rank0]: super().init(model=model, [rank0]: File "/home/wangjing/fxb/workspace/mamba/mmMamba-main/src/trainer/default_lm.py", line 118, in init [rank0]: self.loss_fn = EndtoEnd(self.model.config.llm_config, temperature=1.0, alpha=1.0) # 蒸馏 [rank0]: AttributeError: 'dict' object has no attribute 'llm_config'

为什么按照步骤来,会有提示没有找到'llm_config'参数

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions