starcoder icon indicating copy to clipboard operation
starcoder copied to clipboard

Finetuning on SageMaker

Open dshah3 opened this issue 2 years ago • 0 comments
trafficstars

Hi, I have a set of p4 (A100) instances available through Sagemaker training jobs. I would like to finetune StarCoder on a function summarization task. Would I be able to use the HuggingFace "Train" SageMaker interface and the Transformers library to run a fine-tuning job? Or would I have to use the fine-tuning script in the GitHub library and adapt it to run on SageMaker?

Do the SageMaker scripts take the PEFT/LoRA finetune into account, or is that only for the provided finetuning script?

Also, do the HuggingFace "Train" SageMaker interface scripts work for StarEnCoder as well?

dshah3 avatar Aug 17 '23 17:08 dshah3