Text Classification
Transformers
PyTorch
English
roberta
humor-detection
humor-classification
joke-detection
humor-vs-non-humor
binary-classification
english
nlp
computational-humor
Instructions to use Humor-Research/humor-detection-reddit-jokes-last-laught-977 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Humor-Research/humor-detection-reddit-jokes-last-laught-977 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Humor-Research/humor-detection-reddit-jokes-last-laught-977")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Humor-Research/humor-detection-reddit-jokes-last-laught-977") model = AutoModelForSequenceClassification.from_pretrained("Humor-Research/humor-detection-reddit-jokes-last-laught-977", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
26a266c
1
Parent(s): eb06f12
Upload trainer_state.json with huggingface_hub
Browse files- trainer_state.json +136 -0
trainer_state.json
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.5981315970420837,
|
| 3 |
+
"best_model_checkpoint": "./models/results_reddit_jokes_last_laught_977/checkpoint-100",
|
| 4 |
+
"epoch": 0.3292181069958848,
|
| 5 |
+
"global_step": 100,
|
| 6 |
+
"is_hyper_param_search": false,
|
| 7 |
+
"is_local_process_zero": true,
|
| 8 |
+
"is_world_process_zero": true,
|
| 9 |
+
"log_history": [
|
| 10 |
+
{
|
| 11 |
+
"epoch": 0.03,
|
| 12 |
+
"learning_rate": 4.000000000000001e-06,
|
| 13 |
+
"loss": 0.6957,
|
| 14 |
+
"step": 8
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"epoch": 0.05,
|
| 18 |
+
"learning_rate": 8.000000000000001e-06,
|
| 19 |
+
"loss": 0.701,
|
| 20 |
+
"step": 16
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"epoch": 0.08,
|
| 24 |
+
"learning_rate": 1.2e-05,
|
| 25 |
+
"loss": 0.6919,
|
| 26 |
+
"step": 24
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"epoch": 0.08,
|
| 30 |
+
"eval_accuracy": 0.6348684210526315,
|
| 31 |
+
"eval_f1": 0.7078947368421052,
|
| 32 |
+
"eval_loss": 0.680633544921875,
|
| 33 |
+
"eval_precision": 0.5899122807017544,
|
| 34 |
+
"eval_recall": 0.8848684210526315,
|
| 35 |
+
"eval_runtime": 4.4625,
|
| 36 |
+
"eval_samples_per_second": 136.246,
|
| 37 |
+
"eval_steps_per_second": 17.031,
|
| 38 |
+
"step": 25
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"epoch": 0.11,
|
| 42 |
+
"learning_rate": 1.6000000000000003e-05,
|
| 43 |
+
"loss": 0.6806,
|
| 44 |
+
"step": 32
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"epoch": 0.13,
|
| 48 |
+
"learning_rate": 2e-05,
|
| 49 |
+
"loss": 0.6559,
|
| 50 |
+
"step": 40
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"epoch": 0.16,
|
| 54 |
+
"learning_rate": 2.4e-05,
|
| 55 |
+
"loss": 0.5804,
|
| 56 |
+
"step": 48
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"epoch": 0.16,
|
| 60 |
+
"eval_accuracy": 0.6726973684210527,
|
| 61 |
+
"eval_f1": 0.6816000000000001,
|
| 62 |
+
"eval_loss": 0.6261343955993652,
|
| 63 |
+
"eval_precision": 0.6635514018691588,
|
| 64 |
+
"eval_recall": 0.7006578947368421,
|
| 65 |
+
"eval_runtime": 4.3388,
|
| 66 |
+
"eval_samples_per_second": 140.13,
|
| 67 |
+
"eval_steps_per_second": 17.516,
|
| 68 |
+
"step": 50
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"epoch": 0.18,
|
| 72 |
+
"learning_rate": 2.8000000000000003e-05,
|
| 73 |
+
"loss": 0.6056,
|
| 74 |
+
"step": 56
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"epoch": 0.21,
|
| 78 |
+
"learning_rate": 3.2000000000000005e-05,
|
| 79 |
+
"loss": 0.583,
|
| 80 |
+
"step": 64
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 0.24,
|
| 84 |
+
"learning_rate": 3.6e-05,
|
| 85 |
+
"loss": 0.5471,
|
| 86 |
+
"step": 72
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"epoch": 0.25,
|
| 90 |
+
"eval_accuracy": 0.6595394736842105,
|
| 91 |
+
"eval_f1": 0.6688,
|
| 92 |
+
"eval_loss": 0.6323568224906921,
|
| 93 |
+
"eval_precision": 0.6510903426791277,
|
| 94 |
+
"eval_recall": 0.6875,
|
| 95 |
+
"eval_runtime": 4.5039,
|
| 96 |
+
"eval_samples_per_second": 134.993,
|
| 97 |
+
"eval_steps_per_second": 16.874,
|
| 98 |
+
"step": 75
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"epoch": 0.26,
|
| 102 |
+
"learning_rate": 4e-05,
|
| 103 |
+
"loss": 0.6175,
|
| 104 |
+
"step": 80
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"epoch": 0.29,
|
| 108 |
+
"learning_rate": 4.4000000000000006e-05,
|
| 109 |
+
"loss": 0.5454,
|
| 110 |
+
"step": 88
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 0.32,
|
| 114 |
+
"learning_rate": 4.75e-05,
|
| 115 |
+
"loss": 0.6143,
|
| 116 |
+
"step": 96
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"epoch": 0.33,
|
| 120 |
+
"eval_accuracy": 0.662828947368421,
|
| 121 |
+
"eval_f1": 0.6944858420268256,
|
| 122 |
+
"eval_loss": 0.5981315970420837,
|
| 123 |
+
"eval_precision": 0.6348773841961853,
|
| 124 |
+
"eval_recall": 0.7664473684210527,
|
| 125 |
+
"eval_runtime": 4.4132,
|
| 126 |
+
"eval_samples_per_second": 137.768,
|
| 127 |
+
"eval_steps_per_second": 17.221,
|
| 128 |
+
"step": 100
|
| 129 |
+
}
|
| 130 |
+
],
|
| 131 |
+
"max_steps": 303,
|
| 132 |
+
"num_train_epochs": 1,
|
| 133 |
+
"total_flos": 1683910754304000.0,
|
| 134 |
+
"trial_name": null,
|
| 135 |
+
"trial_params": null
|
| 136 |
+
}
|