Skip to content

Problem with import statement of transformer #52

@JisenRen

Description

@JisenRen

This import statement raises an error:
ImportError: cannot import name 'swish' from 'transformers.activations'
Why does this happen? Is it related to the version of transformers you use? How should we make the code runnable?

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