Downloading flan-dialogue-summary-checkpoint

can I download the flan-dialogue-summary-checkpoint from or any place i can download it so I can re-do the lab from scratch on my own colab?

as i am getting an error when performing !aws s3 cp --recursive s3://dlai-generative-ai/models/flan-dialogue-summary-checkpoint/ ./flan-dialogue-summary-checkpoint/

error message : fatal error: Unable to locate credentials

You can from hugging face.

please, how can we copy the model formed from a hugging face ?

Use the HuggingFace libraries with the correct Model name
Like this -

from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

instruct_model_name=‘truocpham/flan-dialogue-summary-checkpoint’

instruct_model = AutoModelForSeq2SeqLM.from_pretrained( instruct_model_name, torch_dtype=torch.bfloat16)

3 Likes