Skip to content

Is the version of Transformer in the requirement the correct one? #51

@laurenlong

Description

@laurenlong

My error message says:
File "/home/Moonlit/Compresso/train.py", line 235, in
main()
File "/home/Moonlit/Compresso/train.py", line 204, in main
from transformers.integrations import AzureMLCallback, ProgressCallback
ImportError: cannot import name 'ProgressCallback' from 'transformers.integrations' (/home/longyongliu/.local/lib/python3.10/site-packages/transformers/integrations/init.py)
It looks like there's a problem with the version of Transformer, but I'm building the environment as described in the requirement file.

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