File size: 251 Bytes
94593f2 | 1 2 3 4 5 6 7 8 | from huggingface_hub import login, upload_folder
# (optional) Login with your Hugging Face credentials
login()
# Push your model files
upload_folder(folder_path="Modelo", repo_id="Lookadragon21/GPT2_distil-Hugging_face_tutorial", repo_type="model")
|