Skip to content

ModuleNotFoundError: No module named 'h4' #193

@AIR-hl

Description

@AIR-hl

Hello, I want to load the training_arg.bin of zephyr-7b-beta and pass it to DPOTrainer of trl to compute the implicit rewards and logps conveniently, but it seems lack some private modules.

import torch
training_args = torch.load("training_args.bin")

ModuleNotFoundError: No module named 'h4'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions