Skip to content

Run Inference Without Docker? #2

@venkatesh-narayan

Description

@venkatesh-narayan

Hi!

So I've already used the docker command (under Usage 1) to train and evaluate my model with REINA, and I have all the outputs from that. For further use, is it possible to do

export HF_DATASETS_CACHE=/home/reina/data; export TRANSFORMERS_CACHE=/home/reina/cache
python run_summarization.py ...

on my local run_summarization.py (ie, without using the docker command)?

Also, is Lucene needed for inference? My guess is that it isn't, because it seems like when you have the REINA dataset in cache, all reina() does is load that dataset, and then HuggingFace's Trainer takes care of the rest, but want to confirm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions