Skip to content
Snippets Groups Projects
Select Git revision
  • 4d9aef4022acb4bf6e849abaf9c2659a054eef78
  • main default protected
2 results

push_model_HF.py

Blame
  • Forked from Dellandrea Emmanuel / MSO_3_4-TD1
    Source project has a limited visibility.
    push_model_HF.py 215 B
    from huggingface_hub import login
    from huggingface_sb3 import push_to_hub
    
    login()
    
    push_to_hub(
        repo_id="CorentinGst/CartPolev2",
        filename="a2c_cartpole_model.zip",
        commit_message="Test HF push API ",
    )