Instructions to use rabitrabi/poca-SoccerTwos with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ml-agents
How to use rabitrabi/poca-SoccerTwos with ml-agents:
mlagents-load-from-hf --repo-id="rabitrabi/poca-SoccerTwos" --local-dir="./downloads"
- Notebooks
- Google Colab
- Kaggle
POCA on SoccerTwos
This Unity ML-Agents 1.1.0 policy was trained from scratch on CPU for the Hugging Face Deep Reinforcement Learning Course with a 65,536-step budget and training seed 42.
Evaluation
The exported ONNX policy sampled actions in a fresh Unity session with seed 2026. Across the first 32 completed episodes, the mean return was -0.131 and the population standard deviation was 0.390. Team 0 used the exported policy against a team sampling uniformly random actions. Each match contributed its shared team reward once. Both teammates used the same policy during evaluation. Individual returns are in evaluation.json.
Reproduce
Use Python 3.10.12, Unity ML-Agents 1.1.0, CPU PyTorch 2.2.2, ONNX 1.15.0 and ONNX Runtime 1.18.1. Download the Linux simulator linked in course unit 7.
mlagents-learn SoccerTwos.yaml --env=/path/to/SoccerTwos --run-id=SoccerTwos --no-graphics --seed=42 --time-scale=64 --torch-device=cpu
python evaluate.py SoccerTwos /path/to/SoccerTwos 6360 --seed=2026 --episodes=32
- Downloads last month
- 19
Evaluation results
- Mean reward on SoccerTwosself-reported-0.131369 +/- 0.390338