Closed floatingbigcat closed 1 year ago
Example on how to run: python3 deepy.py generate.py -d configs magma_pythia_410M.yml magma_setup.yml text-generation.yml
Check text-generation for the input file name, make sure you have that file created, using the {image, text} dict setup described above.
You'll need to use your job.sh source, conda env if relevant, and export torch extensions also.
support text generation with image as input.
Use instruction:
python deepy.py generate.py -d your_train_configs(eg: 410M.yml summit-setup.yml) text-generation.yml
To do: support the use_cache=True, which shall speed up the inference.