Skip to content

Request for translate.py to error when requested model checkpoint is unavailable #593

@bhartmoore

Description

@bhartmoore

With the update to remove OpenNMT, silnlp no longer throws an error if the requested fine-tuned model checkpoint is unavailable. Instead, it outputs a well-formatted inference from the base model, which will contain garbage in most cases because the target language is not available in the base model. Because we now clean up models after just 30 days, this situation may arise more frequently. It would be helpful if translate.py could throw an error or warning when the requested model checkpoint is not found. Even having the ClearML job fail would be preferable to having it complete from the base model for an unknown language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions