Downloads · 30 days
0
bachvnju/minecraft-combat-transformer
minecraft-combat-transformer is a machine learning model from bachvnju. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as gpl-3.0.
Downloads · 30 days
0
Access
Public
Updated Jul 5, 2026
Repo size
9.2 MB
Likes
0
Public
Click a slice to open those files.
.pt9.2 MB · 100%
From the Hugging Face model README
license: gpl-3.0 library_name: pytorch tags:
minecraft-combat-transformer is a PyTorch transformer-based sequence model for Minecraft-style combat behavior modeling. It predicts short-horizon combat actions and outcome-related signals from recent gameplay state sequences.
The model is designed for research and experimentation with game AI, combat behavior modeling, imitation learning, and action-policy prediction in a controlled Minecraft PvP-style environment.
It is not a general language model and does not process natural language.
This model may be used for:
The checkpoint may be integrated into a larger game-AI system that handles feature extraction, inference, action arbitration, and environment interaction.
This model is only one component of such a system. It does not include a full Minecraft client, server integration, anti-cheat bypass, or deployment runtime.
This model is not intended for:
Users are responsible for ensuring that any use of this model follows the rules of the environment where it is used.
The model reflects the gameplay data and training objectives used to train it. It may inherit weaknesses, habits, or blind spots from the source data.
Known limitations:
Use this model only in private, local, or explicitly permitted environments. Evaluate carefully before deployment. Do not assume the model will perform safely or effectively outside the conditions it was trained and tested on.
This is a custom PyTorch checkpoint, not a Hugging Face AutoModel.
Example checkpoint inspection:
import torch
ckpt = torch.load("newgen6.pt", map_location="cpu", weights_only=False)
print(ckpt.keys())
print(ckpt["config"].keys())
print(len(ckpt["feature_names"]))
Expected checkpoint contents include:
model_state
config
mean
std
feature_names
A compatible model definition and preprocessing pipeline are required to run inference.
The model was trained on privately collected Minecraft-style PvP gameplay telemetry. The data included sequence windows of combat state features, player/opponent movement, attack timing, and short-horizon combat outcome labels.
The public checkpoint does not include raw training logs, player identifiers, session records, packet data, match IDs, usernames, UUIDs, or local file paths.
The model was trained using supervised sequence modeling with behavior-cloning style action heads and auxiliary combat-outcome prediction heads.
The training setup used:
Approximate training configuration:
Evaluation was performed on a held-out opponent split from the training corpus. Opponents in the validation split were separated from training opponents to estimate generalization to unseen combat behavior.
The model was evaluated using a combination of:
The aggregate score prioritized movement imitation, attack prediction, jump prediction, and combat-outcome AUC, with a smaller penalty for validation loss.
Best checkpoint:
Best epoch: 8
Best validation score: 2.8908
Selected held-out metrics:
forward opp-human macroF1: 0.873
strafe opp-human macroF1: 0.816
attack_now AP: 0.868
jump AP: 0.296
sprint AUC: 0.986
opp_aim_lock AUC: 0.994
commit_punish AUC: 0.969
space_safe AUC: 0.981
sprint_crit_incoming AUC: 0.993
These metrics are specific to the private evaluation split and should not be interpreted as universal performance guarantees.
The model is a transformer-based sequence model trained on fixed-length windows of combat features. It outputs multiple prediction heads, including movement/action heads and auxiliary heads for short-horizon combat outcomes.
The objective combines action imitation with grounded outcome-prediction losses.
The model expects normalized numerical feature sequences using the same feature order and normalization statistics stored in the checkpoint. -> MINECRAFT TICKS
The model outputs action and combat-signal predictions through multiple heads. Exact output interpretation requires the matching inference code and configuration.
Environmental impact was not formally measured.
No formal paper is associated with this release.
This model is released under the gpl-3.0 License.
No public contact information provided.