Loading…
Loading…
This model is trained to detect Invalid Graphical Representation issues in video games. It identifies bugs where aspects of the world state are incorrectly rendered. For example, it can detect when a character is performing a swimming animation while on land, or when a clothing item is not appearing as intended in the game.
The model is based on concepts from the paper "What went wrong; the taxonomy of video game bugs".
The model was trained for 4 epochs, with the following performance metrics:
| Epoch | Training Loss | Validation Loss | Accuracy | F1 Score | Precision | Recall |
|---|---|---|---|---|---|---|
| 1 | 0.6919 | 0.6906 | 61.75% | 0.7086 | 0.5688 | 0.9394 |
| 2 | 0.6707 | 0.6646 | 67.25% | 0.6289 | 0.7161 | 0.5606 |
| 3 | 0.6181 | 0.5799 | 76.50% | 0.7939 | 0.7016 | 0.9141 |
| 4 | 0.4611 | 0.4110 | 87.00% | 0.8791 | 0.8147 | 0.9545 |
You can use the model for binary classification to predict whether a given game state exhibits an Invalid Graphical Representation bug. Here's an example using the Hugging Face transformers library:
from transformers import pipeline
# Load the model from Hugging Face
bug_detection = pipeline('text-classification', model='fyp-buglens/VideoGameReviews-InvalidGraphicalRepresentation-TinyBERT')
# Example usage
result = bug_detection("A character is swimming on land")
print(result) # Output: label indicating if it's a bug or not
---
license: apache-2.0
---