riteshghorse commented on code in PR #27399:
URL: https://github.com/apache/beam/pull/27399#discussion_r1281049162
##########
sdks/python/apache_beam/ml/inference/huggingface_inference_it_test.py:
##########
@@ -74,6 +75,37 @@ def test_hf_language_modeling(self):
predicted_predicted_text = predictions_dict[text]
self.assertEqual(actual_predicted_text, predicted_predicted_text)
+ def test_hf_pipeline(self):
+ test_pipeline = TestPipeline(is_integration_test=True)
+ # Path to text file containing some questions and context
+ input_file = 'gs://apache-beam-ml/datasets/custom/questions.txt'
+ output_file_dir = 'gs://apache-beam-ml/hf/testing/predictions'
Review Comment:
Sounds good. yeah internal changes would corrupt our model. Pinning it to
`4.30.0` for `huggingface_tests_requirements.txt`.
--
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]