yeandy commented on PR #21818:
URL: https://github.com/apache/beam/pull/21818#issuecomment-1155653848

   Added custom text of sentences. Ran local tests 
   ```
   python -m apache_beam.examples.inference.pytorch_language_modeling \
     --input apache_beam/examples/inference/data/sentences.txt \
     --output predictions.csv \
     --model_state_dict_path BertForMaskedLM.pth
   
   python -m apache_beam.examples.inference.pytorch_language_modeling \
     --output predictions.csv \
     --model_state_dict_path BertForMaskedLM.pth
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to