Views
No views yet
| Epoch | Training Loss | Validation Loss | Accuracy | F1 Score | Precision | Recall |
|---|---|---|---|---|---|---|
| 0 | 0.6367 | 0.5908 | 70.60% | 0.6975 | 0.7228 | 0.6739 |
| 1 | 0.3807 | 0.4763 | 79.71% | 0.7889 | 0.8276 | 0.7536 |
| 2 | 0.3593 | 0.3761 | 84.45% | 0.8505 | 0.8235 | 0.8792 |
| 3 | 0.3399 | 0.4699 | 83.60% | 0.8428 | 0.8135 | 0.8744 |
transformers library:1from transformers import pipeline
2
3# Load the model from Hugging Face
4action_detection = pipeline('text-classification', model='fyp-buglens/VideoGameReviews-ActionNotPossible-BERT')
5
6# Example usage
7result = action_detection("In Crysis, the final boss becomes untargetable and invulnerable")
8print(result) # Output: label indicating if the action issue is detected or not