how to fine tune an existing model in sagemaker?

0

I am planning to fine tune a BERT based model (DistilBERT base model (uncased). the fine tuning process, as i understand , would involve loading the weights for the DistilBERT model. examples i have seen use hugging face library to download model and fine tune it, but can i do this in sagemaker with pytorch library without using hugging face?

feita há 2 meses472 visualizações
1 Resposta
0

You can fine tune BERT models on SageMaker. Although huggingface provides an easy integration with their Huggingface estimator something like this. You are free to use sagemaker pytorch estimators to fine tune models. You can refer the below example for fine tuning bert using pytorch estimator.

https://github.com/aws/amazon-sagemaker-examples/blob/main/training/smart_sifting/Text_Classification_BERT/Train_text_classification.ipynb

AWS
respondido há 2 meses
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas