sagemaker-python-sdk icon indicating copy to clipboard operation
sagemaker-python-sdk copied to clipboard

Capture metrics by default in the Hugging Face Estimator

Open la-cruche opened this issue 5 years ago • 2 comments

Describe the feature you'd like In order to capture metrics on a SageMaker Training job, one needs to write one regexp per metrics. Couldn't the SDK have those metrics already written instead? Some frameworks provide standard metrics, hence those regexp can be done once by the SDK team in the estimator, instead of being done by developers N times. This is for example the case of the SM RL Estimator, that has regexp built into the object. Could we have built-in metrics for the Hugging Face Estimator as well?

How would this feature be used? Please describe. This would allow to capture Hugging Face-generated metrics without the need for an ad-hoc regexp.

Describe alternatives you've considered Alternative is to have developer writes regexp, like here. This is the default SageMaker expectation, yet it is verbose and difficult to get right for beginners.

la-cruche avatar Jul 27 '21 15:07 la-cruche

Hi @la-cruche ,

I'm trying to understand the usage the metrics. Can you elaborate the use?

ahsan-z-khan avatar Aug 03 '21 21:08 ahsan-z-khan

We have added your feature request to our backlog of feature requests and may consider putting it into future SDK versions. I will go ahead and close the issue now, please let me know if you have any more feedback.

akrishna1995 avatar Dec 28 '23 19:12 akrishna1995