Skip to content

Ability to set allow_extra_keys for non-ray runs #6826

@KMouratidis

Description

@KMouratidis

Reminder

  • I have read the above rules and searched the existing issues.

Description

In the huggingface parser, when the configuration is passed, unhandled configs are separated into unknown_args and then they raise an error unless allow_extra_keys is set to True. This parameter is set to True for ray but none of eval, infer, or train. Since these arguments are not passed down, it seems to me that raising the value error could become optional. Having custom key-value pairs in the config can help when writing automation or services on top of llama-factory, without having 2+ configuration sources.

Pull Request

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    solvedThis problem has been already solved

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions