Run this model with HF Jobs
Run MattStammers/appo-atari_krull on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/MattStammers/appo-atari_krull. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/MattStammers/appo-atari_krull on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use MattStammers/appo-atari_krull with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sample-factory
How to use MattStammers/appo-atari_krull with sample-factory:
python -m sample_factory.huggingface.load_from_hub -r MattStammers/appo-atari_krull -d ./train_dir
- Notebooks
- Google Colab
- Kaggle
Commit ·
92cd3d0
1
Parent(s): a49f471
Upload folder using huggingface_hub
Browse filesFiles changed (14)
- .gitattributes+2
- .summary/0/events.out.tfevents.1695734293.rhmmedcatt-proliant-ml350-gen10Added+3
- .summary/1/events.out.tfevents.1695734293.rhmmedcatt-proliant-ml350-gen10Added+3
- README.mdAdded+56
- checkpoint_p0/best_000037824_9682944_reward_254.020.pthAdded+3
- checkpoint_p0/checkpoint_000038848_9945088.pthAdded+3
- checkpoint_p0/checkpoint_000039088_10006528.pthAdded+3
- checkpoint_p1/best_000029088_7446528_reward_266.920.pthAdded+3
- checkpoint_p1/checkpoint_000038848_9945088.pthAdded+3
- checkpoint_p1/checkpoint_000039088_10006528.pthAdded+3
- config.jsonAdded+144
- git.diffAdded+3
- replay.mp4Added+3
- sf_log.txtAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines333435363732 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textgit.diff filter=lfs diff=lfs merge=lfs -textreplay.mp4 filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:6ad2691a2ad39d09e269504b7e8c43f82f6e978af0affb4617dcd4ef28135bd4size 2163203123version https://git-lfs.github.com/spec/v1oid sha256:cf185af91caf622c832167c0455cecdf8bb73f6019a2da17eee9c04fd4e79f12size 14124571234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556---library_name: sample-factorytags:- deep-reinforcement-learning- reinforcement-learning- sample-factorymodel-index:- name: APPO results: - task: type: reinforcement-learning name: reinforcement-learning dataset: name: atari_krull type: atari_krull metrics: - type: mean_reward value: 6770.00 +/- 2730.58 name: mean_reward verified: false---
A(n) **APPO** model trained on the **atari_krull** environment.
This model was trained using Sample-Factory 2.0: https://github.com/alex-petrenko/sample-factory.Documentation for how to use Sample-Factory can be found at https://www.samplefactory.dev/
## Downloading the model
After installing Sample-Factory, download the model with:```python -m sample_factory.huggingface.load_from_hub -r MattStammers/appo-atari_krull```
## Using the model
To run the model after download, use the `enjoy` script corresponding to this environment:```python -m sf_examples.atari.enjoy_atari --algo=APPO --env=atari_krull --train_dir=./train_dir --experiment=appo-atari_krull```
You can also upload models to the Hugging Face Hub using the same script with the `--push_to_hub` flag.See https://www.samplefactory.dev/10-huggingface/huggingface/ for more details ## Training with this model
To continue training with this model, use the `train` script corresponding to this environment:```python -m sf_examples.atari.train_atari --algo=APPO --env=atari_krull --train_dir=./train_dir --experiment=appo-atari_krull --restart_behavior=resume --train_for_env_steps=10000000000```
Note, you may have to adjust `--train_for_env_steps` to a suitably high number as the experiment will resume at the number of steps it concluded at. 123version https://git-lfs.github.com/spec/v1oid sha256:0e1dd823626ead9fe82c29bcbd3a4d1df702c04b2cd272956e0c31dd47175e89size 20795763123version https://git-lfs.github.com/spec/v1oid sha256:7005aa3861521559a2f9c15e731635756318bf14f4c2602301594cf76b0c8a80size 20796099123version https://git-lfs.github.com/spec/v1oid sha256:465d83e1094fd8490d63fd4828358f6d1036f3bf32a4424ca580e49189c6adfasize 20796099123version https://git-lfs.github.com/spec/v1oid sha256:586a40b813af1a92bf1e47f6e28cbb69bbb240d7350afe463891d25d3ee9fcccsize 20795763123version https://git-lfs.github.com/spec/v1oid sha256:7fb41d9b69bbd0ee2cc3831f03e1fa737b8ba6bd95066ea8f412b69c96c1c42fsize 20796099123version https://git-lfs.github.com/spec/v1oid sha256:fe30bcbc927c51c1a6c6a1b263506a87e35f025f595ebf7dc3ce28f29bb0952bsize 20796099123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144{ "help": false, "algo": "APPO", "env": "atari_krull", "experiment": "atari_krull", "train_dir": "./train_atari", "restart_behavior": "resume", "device": "gpu", "seed": null, "num_policies": 2, "async_rl": false, "serial_mode": false, "batched_sampling": false, "num_batches_to_accumulate": 2, "worker_num_splits": 1, "policy_workers_per_policy": 1, "max_policy_lag": 1000, "num_workers": 8, "num_envs_per_worker": 1, "batch_size": 256, "num_batches_per_epoch": 4, "num_epochs": 4, "rollout": 128, "recurrence": 1, "shuffle_minibatches": false, "gamma": 0.99, "reward_scale": 1.0, "reward_clip": 1000.0, "value_bootstrap": false, "normalize_returns": true, "exploration_loss_coeff": 0.01, "value_loss_coeff": 0.5, "kl_loss_coeff": 0.0, "exploration_loss": "entropy", "gae_lambda": 0.95, "ppo_clip_ratio": 0.1, "ppo_clip_value": 1.0, "with_vtrace": false, "vtrace_rho": 1.0, "vtrace_c": 1.0, "optimizer": "adam", "adam_eps": 1e-05, "adam_beta1": 0.9, "adam_beta2": 0.999, "max_grad_norm": 0.5, "learning_rate": 0.00025, "lr_schedule": "linear_decay", "lr_schedule_kl_threshold": 0.008, "lr_adaptive_min": 1e-06, "lr_adaptive_max": 0.01, "obs_subtract_mean": 0.0, "obs_scale": 255.0, "normalize_input": true, "normalize_input_keys": null, "decorrelate_experience_max_seconds": 0, "decorrelate_envs_on_one_worker": true, "actor_worker_gpus": [], "set_workers_cpu_affinity": true, "force_envs_single_thread": false, "default_niceness": 0, "log_to_file": true, "experiment_summaries_interval": 3, "flush_summaries_interval": 30, "stats_avg": 100, "summaries_use_frameskip": true, "heartbeat_interval": 20, "heartbeat_reporting_interval": 180, "train_for_env_steps": 10000000, "train_for_seconds": 10000000000, "save_every_sec": 120, "keep_checkpoints": 2, "load_checkpoint_kind": "latest", "save_milestones_sec": -1, "save_best_every_sec": 5, "save_best_metric": "reward", "save_best_after": 100000, "benchmark": false, "encoder_mlp_layers": [ 512, 512 ], "encoder_conv_architecture": "convnet_atari", "encoder_conv_mlp_layers": [ 512 ], "use_rnn": false, "rnn_size": 512, "rnn_type": "gru", "rnn_num_layers": 1, "decoder_mlp_layers": [], "nonlinearity": "relu", "policy_initialization": "orthogonal", "policy_init_gain": 1.0, "actor_critic_share_weights": true, "adaptive_stddev": false, "continuous_tanh_scale": 0.0, "initial_stddev": 1.0, "use_env_info_cache": false, "env_gpu_actions": false, "env_gpu_observations": true, "env_frameskip": 4, "env_framestack": 4, "pixel_format": "CHW", "use_record_episode_statistics": true, "with_wandb": true, "wandb_user": "matt-stammers", "wandb_project": "atari", "wandb_group": "atari_krull", "wandb_job_type": "SF", "wandb_tags": [ "atari" ], "with_pbt": false, "pbt_mix_policies_in_one_env": true, "pbt_period_env_steps": 5000000, "pbt_start_mutation": 20000000, "pbt_replace_fraction": 0.3, "pbt_mutation_rate": 0.15, "pbt_replace_reward_gap": 0.1, "pbt_replace_reward_gap_absolute": 1e-06, "pbt_optimize_gamma": false, "pbt_target_objective": "true_objective", "pbt_perturb_min": 1.1, "pbt_perturb_max": 1.5, "command_line": "--algo=APPO --env=atari_krull --experiment=atari_krull --num_policies=2 --train_dir=./train_atari --with_wandb=true --wandb_user=matt-stammers --wandb_project=atari --wandb_group=atari_krull --wandb_job_type=SF --wandb_tags=atari", "cli_args": { "algo": "APPO", "env": "atari_krull", "experiment": "atari_krull", "train_dir": "./train_atari", "num_policies": 2, "with_wandb": true, "wandb_user": "matt-stammers", "wandb_project": "atari", "wandb_group": "atari_krull", "wandb_job_type": "SF", "wandb_tags": [ "atari" ] }, "git_hash": "5fff97c2f535da5987d358cdbe6927cccd43621e", "git_repo_name": "not a git repository", "wandb_unique_id": "atari_krull_20230926_141810_541626"}123version https://git-lfs.github.com/spec/v1oid sha256:28f3fe545f35e5db1e419bf1e198c0bc5ef89459d55f59e2d06d3c108907e732size 14403396123version https://git-lfs.github.com/spec/v1oid sha256:5b4ba2d7a474f3ba0a32e662a3e4bbc23e5b29672c9efe4071e3064baef54005size 6811451.gitattributes+2
.summary/0/events.out.tfevents.1695734293.rhmmedcatt-proliant-ml350-gen10Added+3
.summary/1/events.out.tfevents.1695734293.rhmmedcatt-proliant-ml350-gen10Added+3
README.mdAdded+56
checkpoint_p0/best_000037824_9682944_reward_254.020.pthAdded+3
checkpoint_p0/checkpoint_000038848_9945088.pthAdded+3
checkpoint_p0/checkpoint_000039088_10006528.pthAdded+3
checkpoint_p1/best_000029088_7446528_reward_266.920.pthAdded+3
checkpoint_p1/checkpoint_000038848_9945088.pthAdded+3
checkpoint_p1/checkpoint_000039088_10006528.pthAdded+3
config.jsonAdded+144
git.diffAdded+3
replay.mp4Added+3
sf_log.txtAdded