Instructions to use RafaelJaime/BVS-default with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use RafaelJaime/BVS-default with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="RafaelJaime/BVS-default", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
Add gameplay video vs CPU Hard
Browse files- .gitattributes +1 -0
- README.md +8 -0
- bvs_default_vs_cpu_hard.mp4 +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
bvs_default_vs_cpu_hard.mp4 filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -42,6 +42,14 @@ model-index:
|
|
| 42 |
|
| 43 |
A fighter policy for Bro vs Sis, trained with PPO (stable-baselines3) and exported to ONNX.
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
## Contract (`bvs-schema-2`)
|
| 46 |
|
| 47 |
- MLP only: the graph may use `Gemm`, `MatMul`, `Add`, `Mul`, `Relu`, `Tanh`, `Sigmoid`, `Clip`, `Identity`, `Flatten`, `Reshape`, `Squeeze`, `Unsqueeze`, `Concat` and `Constant`. The game runs it with its own GDScript interpreter (no onnxruntime), so other ops are rejected.
|
|
|
|
| 42 |
|
| 43 |
A fighter policy for Bro vs Sis, trained with PPO (stable-baselines3) and exported to ONNX.
|
| 44 |
|
| 45 |
+
## Watch it play
|
| 46 |
+
|
| 47 |
+
The policy (Rafael, blue) against the scripted CPU on Hard, recorded in the game with the same GDScript interpreter players use:
|
| 48 |
+
|
| 49 |
+
<video src="https://huggingface.co/RafaelJaime/BVS-default/resolve/main/bvs_default_vs_cpu_hard.mp4" controls autoplay loop muted width="640"></video>
|
| 50 |
+
|
| 51 |
+
Play against it in the browser: [Bro vs Sis Space](https://huggingface.co/spaces/RafaelJaime/BroVSister) — pick **AI: BVS default** in character select. Want to train your own? See the [training guide](https://github.com/RafaelJaime/Bro-VS-SiS-game/blob/master/docs/train-your-own-model.md).
|
| 52 |
+
|
| 53 |
## Contract (`bvs-schema-2`)
|
| 54 |
|
| 55 |
- MLP only: the graph may use `Gemm`, `MatMul`, `Add`, `Mul`, `Relu`, `Tanh`, `Sigmoid`, `Clip`, `Identity`, `Flatten`, `Reshape`, `Squeeze`, `Unsqueeze`, `Concat` and `Constant`. The game runs it with its own GDScript interpreter (no onnxruntime), so other ops are rejected.
|
bvs_default_vs_cpu_hard.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b8f709da16311ac251cfe277355c3742cdade64043b3d0e13a7eadc647097f9
|
| 3 |
+
size 7615090
|