Skip to content

Import Error and Version Mismatch(huggingface_hub - Transformers) #84

@luckyvickyricky

Description

@luckyvickyricky

Hi,
I'm running into some quirks when installing dependencies from the upstream README (alignment-handbook). It seems that recent changes in huggingface_hub—like the removal of the huggingface_hub.utils._errors module in this PR—are causing a few issues.
On the other hand, our local environment.yml pins huggingface_hub to version 0.22.2, which clashes with Transformers 4.44.2 that needs huggingface_hub ≥0.23.2.
For now, I'm updating the implementation for my own use to align with the latest versions of trl and transformers.

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