Instructions to use tdoublee2002/Huggy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use tdoublee2002/Huggy with ml-agents:
mlagents-load-from-hf --repo-id="tdoublee2002/Huggy" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
Commit ·
2bf7882
1
Parent(s): 6f3a72d
Upload 5 files
Browse filesFiles changed (4)
- Huggy.onnxAdded+3
- README.mdAdded+29
- config.jsonAdded+1
- configuration.yamlAdded+77
123version https://git-lfs.github.com/spec/v1oid sha256:582dbc9f814747baa8fc97f558b8c0eedeac4243564504c6ed51e6a552954e83size 22713271234567891011121314151617181920212223242526272829---library_name: ml-agentstags:- Huggy- deep-reinforcement-learning- reinforcement-learning- ML-Agents-Huggy---
# **ppo** Agent playing **Huggy** This is a trained model of a **ppo** agent playing **Huggy** using the [Unity ML-Agents Library](https://github.com/Unity-Technologies/ml-agents). ## Usage (with ML-Agents) The Documentation: https://github.com/huggingface/ml-agents#get-started We wrote a complete tutorial to learn to train your first agent using ML-Agents and publish it to the Hub:
### Resume the training ``` mlagents-learn <your_configuration_file_path.yaml> --run-id=<run_id> --resume ``` ### Watch your Agent play You can watch your agent **playing directly in your browser:**. 1. Go to https://huggingface.co/spaces/unity/ML-Agents-Huggy 2. Step 1: Find your model_id: tdoublee2002/Huggy 3. Step 2: Select your *.nn /*.onnx file 4. Click on Watch the agent play 👀 1{"default_settings": null, "behaviors": {"Huggy": {"trainer_type": "ppo", "hyperparameters": {"batch_size": 2048, "buffer_size": 20480, "learning_rate": 0.0003, "beta": 0.005, "epsilon": 0.2, "lambd": 0.95, "num_epoch": 3, "shared_critic": false, "learning_rate_schedule": "linear", "beta_schedule": "linear", "epsilon_schedule": "linear"}, "checkpoint_interval": 200000, "network_settings": {"normalize": true, "hidden_units": 512, "num_layers": 3, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}, "reward_signals": {"extrinsic": {"gamma": 0.995, "strength": 1.0, "network_settings": {"normalize": false, "hidden_units": 128, "num_layers": 2, "vis_encode_type": "simple", "memory": null, "goal_conditioning_type": "hyper", "deterministic": false}}}, "init_path": null, "keep_checkpoints": 15, "even_checkpoints": false, "max_steps": 2000000, "time_horizon": 1000, "summary_freq": 50000, "threaded": false, "self_play": null, "behavioral_cloning": null}}, "env_settings": {"env_path": "./trained-envs-executables/linux/Huggy/Huggy", "env_args": null, "base_port": 5005, "num_envs": 1, "num_areas": 1, "seed": -1, "max_lifetime_restarts": 10, "restarts_rate_limit_n": 1, "restarts_rate_limit_period_s": 60}, "engine_settings": {"width": 84, "height": 84, "quality_level": 5, "time_scale": 20, "target_frame_rate": -1, "capture_frame_rate": 60, "no_graphics": true}, "environment_parameters": null, "checkpoint_settings": {"run_id": "Huggy", "initialize_from": null, "load_model": false, "resume": false, "force": false, "train_model": false, "inference": false, "results_dir": "results"}, "torch_settings": {"device": null}, "debug": false}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677default_settings: nullbehaviors: Huggy: trainer_type: ppo hyperparameters: batch_size: 2048 buffer_size: 20480 learning_rate: 0.0003 beta: 0.005 epsilon: 0.2 lambd: 0.95 num_epoch: 3 shared_critic: false learning_rate_schedule: linear beta_schedule: linear epsilon_schedule: linear checkpoint_interval: 200000 network_settings: normalize: true hidden_units: 512 num_layers: 3 vis_encode_type: simple memory: null goal_conditioning_type: hyper deterministic: false reward_signals: extrinsic: gamma: 0.995 strength: 1.0 network_settings: normalize: false hidden_units: 128 num_layers: 2 vis_encode_type: simple memory: null goal_conditioning_type: hyper deterministic: false init_path: null keep_checkpoints: 15 even_checkpoints: false max_steps: 2000000 time_horizon: 1000 summary_freq: 50000 threaded: false self_play: null behavioral_cloning: nullenv_settings: env_path: ./trained-envs-executables/linux/Huggy/Huggy env_args: null base_port: 5005 num_envs: 1 num_areas: 1 seed: -1 max_lifetime_restarts: 10 restarts_rate_limit_n: 1 restarts_rate_limit_period_s: 60engine_settings: width: 84 height: 84 quality_level: 5 time_scale: 20 target_frame_rate: -1 capture_frame_rate: 60 no_graphics: trueenvironment_parameters: nullcheckpoint_settings: run_id: Huggy initialize_from: null load_model: false resume: false force: false train_model: false inference: false results_dir: resultstorch_settings: device: nulldebug: falseHuggy.onnxAdded+3
README.mdAdded+29
config.jsonAdded+1
configuration.yamlAdded+77