Skip to content

When translating a sequence of text files using Huggingface, the model is loaded multiple times #535

Open
@benjaminking

Description

@benjaminking

If you translate a sequence of text files using translate.py and "--start-seq", the model is loaded into memory multiple times. If you translate 10 files, the model will be loaded 10 times, which is inefficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpipeline 6: inferIssue related to using a trained model to translate.

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions