Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

String comparison with "is"  #773

@johann-petrak

Description

@johann-petrak

See

use_external_format=True if language_model_class is "XLMRoberta" else False

Should replace "is" with "=="

I do not think this is likely to cause a problem, but it depends on the way how Python string interning works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions