lgsilvaesilva commited on
Commit
1efc71c
·
verified ·
1 Parent(s): f2e02af

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -20,7 +20,7 @@ It includes the Transformer model, any configured TF-IDF or sentence-embedding b
20
  - Text column: `chunk_text`
21
  - Label column: `label`
22
  - Transformer: `FacebookAI/xlm-roberta-base`
23
- - Generated at: `2026-05-25T19:23:29.605062+00:00`
24
 
25
  ## Dataset Summary
26
 
@@ -30,6 +30,25 @@ It includes the Transformer model, any configured TF-IDF or sentence-embedding b
30
  | validation | 978 | 899 | 79 | 538 | 690.6 |
31
  | test | 1016 | 904 | 112 | 539 | 690.7 |
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  ## Threshold Comparison on Test Split
34
 
35
  | Model | Threshold | Accuracy | Precision | Recall | F1 | ROC AUC | Average precision |
@@ -44,8 +63,8 @@ It includes the Transformer model, any configured TF-IDF or sentence-embedding b
44
  | embedding-svm_sentence_embeddings | 0.276 | 0.935 | 0.667 | 0.821 | 0.736 | 0.952 | 0.743 |
45
  | embedding-lightgbm_sentence_embeddings | 0.500 | 0.946 | 0.788 | 0.696 | 0.739 | 0.959 | 0.801 |
46
  | embedding-lightgbm_sentence_embeddings | 0.052 | 0.933 | 0.657 | 0.821 | 0.730 | 0.959 | 0.801 |
47
- | transformer | 0.500 | 0.950 | 0.748 | 0.821 | 0.783 | 0.951 | 0.785 |
48
- | transformer | 0.616 | 0.950 | 0.748 | 0.821 | 0.783 | 0.951 | 0.785 |
49
 
50
  ## Confusion Matrices on Test Split
51
 
@@ -125,15 +144,15 @@ Rows are true labels and columns are predicted labels.
125
 
126
  | True / Predicted | NOT_RELEVANT | RELEVANT |
127
  | --- | ---: | ---: |
128
- | NOT_RELEVANT | 873 | 31 |
129
- | RELEVANT | 20 | 92 |
130
 
131
- ### transformer at threshold 0.616
132
 
133
  | True / Predicted | NOT_RELEVANT | RELEVANT |
134
  | --- | ---: | ---: |
135
- | NOT_RELEVANT | 873 | 31 |
136
- | RELEVANT | 20 | 92 |
137
 
138
 
139
  ## Validation-Tuned Thresholds
@@ -143,7 +162,7 @@ Rows are true labels and columns are predicted labels.
143
  - `embedding-logistic_sentence_embeddings`: threshold `0.616` (validation F1 `0.728`); test F1 change vs 0.5: `+0.074`.
144
  - `embedding-svm_sentence_embeddings`: threshold `0.276` (validation F1 `0.731`); test F1 change vs 0.5: `+0.024`.
145
  - `embedding-lightgbm_sentence_embeddings`: threshold `0.052` (validation F1 `0.739`); test F1 change vs 0.5: `-0.009`.
146
- - `transformer`: threshold `0.616` (validation F1 `0.807`); test F1 change vs 0.5: `+0.000`.
147
 
148
  ## Artifacts
149
 
@@ -168,7 +187,7 @@ pip install transformers torch huggingface_hub pandas joblib scikit-learn xgboos
168
  import torch
169
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
170
 
171
- MODEL_ID = "faodl/agri-utilization-classifier"
172
 
173
  texts = [
174
  "Rice export prices increased after new procurement rules were announced.",
@@ -205,7 +224,7 @@ import json
205
  import joblib
206
  from huggingface_hub import hf_hub_download
207
 
208
- MODEL_ID = "faodl/agri-utilization-classifier"
209
  BASELINE = "logistic"
210
 
211
  texts = [
@@ -249,7 +268,7 @@ import joblib
249
  from huggingface_hub import hf_hub_download
250
  from sentence_transformers import SentenceTransformer
251
 
252
- MODEL_ID = "faodl/agri-utilization-classifier"
253
  BASELINE = "embedding-logistic"
254
 
255
  texts = [
 
20
  - Text column: `chunk_text`
21
  - Label column: `label`
22
  - Transformer: `FacebookAI/xlm-roberta-base`
23
+ - Generated at: `2026-05-26T12:10:12.870005+00:00`
24
 
25
  ## Dataset Summary
26
 
 
30
  | validation | 978 | 899 | 79 | 538 | 690.6 |
31
  | test | 1016 | 904 | 112 | 539 | 690.7 |
32
 
33
+ ## Threshold Comparison on Validation Split
34
+
35
+ Validation metrics document threshold selection and tuning behavior; test metrics remain the primary estimate of out-of-sample performance.
36
+
37
+ | Model | Threshold | Accuracy | Precision | Recall | F1 | ROC AUC | Average precision |
38
+ | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
39
+ | logistic_tfidf | 0.500 | 0.912 | 0.465 | 0.582 | 0.517 | 0.872 | 0.594 |
40
+ | logistic_tfidf | 0.608 | 0.942 | 0.696 | 0.494 | 0.578 | 0.872 | 0.594 |
41
+ | xgboost_tfidf | 0.500 | 0.945 | 0.931 | 0.342 | 0.500 | 0.823 | 0.588 |
42
+ | xgboost_tfidf | 0.177 | 0.934 | 0.592 | 0.570 | 0.581 | 0.823 | 0.588 |
43
+ | embedding-logistic_sentence_embeddings | 0.500 | 0.916 | 0.490 | 0.911 | 0.637 | 0.956 | 0.749 |
44
+ | embedding-logistic_sentence_embeddings | 0.616 | 0.946 | 0.612 | 0.899 | 0.728 | 0.956 | 0.749 |
45
+ | embedding-svm_sentence_embeddings | 0.500 | 0.957 | 0.803 | 0.620 | 0.700 | 0.958 | 0.743 |
46
+ | embedding-svm_sentence_embeddings | 0.276 | 0.952 | 0.667 | 0.810 | 0.731 | 0.958 | 0.743 |
47
+ | embedding-lightgbm_sentence_embeddings | 0.500 | 0.948 | 0.700 | 0.620 | 0.658 | 0.952 | 0.778 |
48
+ | embedding-lightgbm_sentence_embeddings | 0.052 | 0.953 | 0.670 | 0.823 | 0.739 | 0.952 | 0.778 |
49
+ | transformer | 0.500 | 0.967 | 0.776 | 0.835 | 0.805 | 0.974 | 0.874 |
50
+ | transformer | 0.962 | 0.974 | 0.886 | 0.785 | 0.832 | 0.974 | 0.874 |
51
+
52
  ## Threshold Comparison on Test Split
53
 
54
  | Model | Threshold | Accuracy | Precision | Recall | F1 | ROC AUC | Average precision |
 
63
  | embedding-svm_sentence_embeddings | 0.276 | 0.935 | 0.667 | 0.821 | 0.736 | 0.952 | 0.743 |
64
  | embedding-lightgbm_sentence_embeddings | 0.500 | 0.946 | 0.788 | 0.696 | 0.739 | 0.959 | 0.801 |
65
  | embedding-lightgbm_sentence_embeddings | 0.052 | 0.933 | 0.657 | 0.821 | 0.730 | 0.959 | 0.801 |
66
+ | transformer | 0.500 | 0.949 | 0.738 | 0.830 | 0.782 | 0.958 | 0.812 |
67
+ | transformer | 0.962 | 0.948 | 0.798 | 0.705 | 0.749 | 0.958 | 0.812 |
68
 
69
  ## Confusion Matrices on Test Split
70
 
 
144
 
145
  | True / Predicted | NOT_RELEVANT | RELEVANT |
146
  | --- | ---: | ---: |
147
+ | NOT_RELEVANT | 871 | 33 |
148
+ | RELEVANT | 19 | 93 |
149
 
150
+ ### transformer at threshold 0.962
151
 
152
  | True / Predicted | NOT_RELEVANT | RELEVANT |
153
  | --- | ---: | ---: |
154
+ | NOT_RELEVANT | 884 | 20 |
155
+ | RELEVANT | 33 | 79 |
156
 
157
 
158
  ## Validation-Tuned Thresholds
 
162
  - `embedding-logistic_sentence_embeddings`: threshold `0.616` (validation F1 `0.728`); test F1 change vs 0.5: `+0.074`.
163
  - `embedding-svm_sentence_embeddings`: threshold `0.276` (validation F1 `0.731`); test F1 change vs 0.5: `+0.024`.
164
  - `embedding-lightgbm_sentence_embeddings`: threshold `0.052` (validation F1 `0.739`); test F1 change vs 0.5: `-0.009`.
165
+ - `transformer`: threshold `0.962` (validation F1 `0.832`); test F1 change vs 0.5: `-0.033`.
166
 
167
  ## Artifacts
168
 
 
187
  import torch
188
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
189
 
190
+ MODEL_ID = "YOUR_USERNAME/YOUR_MODEL_REPO"
191
 
192
  texts = [
193
  "Rice export prices increased after new procurement rules were announced.",
 
224
  import joblib
225
  from huggingface_hub import hf_hub_download
226
 
227
+ MODEL_ID = "YOUR_USERNAME/YOUR_MODEL_REPO"
228
  BASELINE = "logistic"
229
 
230
  texts = [
 
268
  from huggingface_hub import hf_hub_download
269
  from sentence_transformers import SentenceTransformer
270
 
271
+ MODEL_ID = "YOUR_USERNAME/YOUR_MODEL_REPO"
272
  BASELINE = "embedding-logistic"
273
 
274
  texts = [
REPORT.md CHANGED
@@ -5,7 +5,7 @@
5
  - Text column: `chunk_text`
6
  - Label column: `label`
7
  - Transformer: `FacebookAI/xlm-roberta-base`
8
- - Generated at: `2026-05-25T19:23:29.605062+00:00`
9
 
10
  ## Dataset Summary
11
 
@@ -15,6 +15,25 @@
15
  | validation | 978 | 899 | 79 | 538 | 690.6 |
16
  | test | 1016 | 904 | 112 | 539 | 690.7 |
17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  ## Threshold Comparison on Test Split
19
 
20
  | Model | Threshold | Accuracy | Precision | Recall | F1 | ROC AUC | Average precision |
@@ -29,8 +48,8 @@
29
  | embedding-svm_sentence_embeddings | 0.276 | 0.935 | 0.667 | 0.821 | 0.736 | 0.952 | 0.743 |
30
  | embedding-lightgbm_sentence_embeddings | 0.500 | 0.946 | 0.788 | 0.696 | 0.739 | 0.959 | 0.801 |
31
  | embedding-lightgbm_sentence_embeddings | 0.052 | 0.933 | 0.657 | 0.821 | 0.730 | 0.959 | 0.801 |
32
- | transformer | 0.500 | 0.950 | 0.748 | 0.821 | 0.783 | 0.951 | 0.785 |
33
- | transformer | 0.616 | 0.950 | 0.748 | 0.821 | 0.783 | 0.951 | 0.785 |
34
 
35
  ## Confusion Matrices on Test Split
36
 
@@ -110,15 +129,15 @@ Rows are true labels and columns are predicted labels.
110
 
111
  | True / Predicted | NOT_RELEVANT | RELEVANT |
112
  | --- | ---: | ---: |
113
- | NOT_RELEVANT | 873 | 31 |
114
- | RELEVANT | 20 | 92 |
115
 
116
- ### transformer at threshold 0.616
117
 
118
  | True / Predicted | NOT_RELEVANT | RELEVANT |
119
  | --- | ---: | ---: |
120
- | NOT_RELEVANT | 873 | 31 |
121
- | RELEVANT | 20 | 92 |
122
 
123
 
124
  ## Validation-Tuned Thresholds
@@ -128,7 +147,7 @@ Rows are true labels and columns are predicted labels.
128
  - `embedding-logistic_sentence_embeddings`: threshold `0.616` (validation F1 `0.728`); test F1 change vs 0.5: `+0.074`.
129
  - `embedding-svm_sentence_embeddings`: threshold `0.276` (validation F1 `0.731`); test F1 change vs 0.5: `+0.024`.
130
  - `embedding-lightgbm_sentence_embeddings`: threshold `0.052` (validation F1 `0.739`); test F1 change vs 0.5: `-0.009`.
131
- - `transformer`: threshold `0.616` (validation F1 `0.807`); test F1 change vs 0.5: `+0.000`.
132
 
133
  ## Artifacts
134
 
 
5
  - Text column: `chunk_text`
6
  - Label column: `label`
7
  - Transformer: `FacebookAI/xlm-roberta-base`
8
+ - Generated at: `2026-05-26T12:10:12.870005+00:00`
9
 
10
  ## Dataset Summary
11
 
 
15
  | validation | 978 | 899 | 79 | 538 | 690.6 |
16
  | test | 1016 | 904 | 112 | 539 | 690.7 |
17
 
18
+ ## Threshold Comparison on Validation Split
19
+
20
+ Validation metrics document threshold selection and tuning behavior; test metrics remain the primary estimate of out-of-sample performance.
21
+
22
+ | Model | Threshold | Accuracy | Precision | Recall | F1 | ROC AUC | Average precision |
23
+ | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
24
+ | logistic_tfidf | 0.500 | 0.912 | 0.465 | 0.582 | 0.517 | 0.872 | 0.594 |
25
+ | logistic_tfidf | 0.608 | 0.942 | 0.696 | 0.494 | 0.578 | 0.872 | 0.594 |
26
+ | xgboost_tfidf | 0.500 | 0.945 | 0.931 | 0.342 | 0.500 | 0.823 | 0.588 |
27
+ | xgboost_tfidf | 0.177 | 0.934 | 0.592 | 0.570 | 0.581 | 0.823 | 0.588 |
28
+ | embedding-logistic_sentence_embeddings | 0.500 | 0.916 | 0.490 | 0.911 | 0.637 | 0.956 | 0.749 |
29
+ | embedding-logistic_sentence_embeddings | 0.616 | 0.946 | 0.612 | 0.899 | 0.728 | 0.956 | 0.749 |
30
+ | embedding-svm_sentence_embeddings | 0.500 | 0.957 | 0.803 | 0.620 | 0.700 | 0.958 | 0.743 |
31
+ | embedding-svm_sentence_embeddings | 0.276 | 0.952 | 0.667 | 0.810 | 0.731 | 0.958 | 0.743 |
32
+ | embedding-lightgbm_sentence_embeddings | 0.500 | 0.948 | 0.700 | 0.620 | 0.658 | 0.952 | 0.778 |
33
+ | embedding-lightgbm_sentence_embeddings | 0.052 | 0.953 | 0.670 | 0.823 | 0.739 | 0.952 | 0.778 |
34
+ | transformer | 0.500 | 0.967 | 0.776 | 0.835 | 0.805 | 0.974 | 0.874 |
35
+ | transformer | 0.962 | 0.974 | 0.886 | 0.785 | 0.832 | 0.974 | 0.874 |
36
+
37
  ## Threshold Comparison on Test Split
38
 
39
  | Model | Threshold | Accuracy | Precision | Recall | F1 | ROC AUC | Average precision |
 
48
  | embedding-svm_sentence_embeddings | 0.276 | 0.935 | 0.667 | 0.821 | 0.736 | 0.952 | 0.743 |
49
  | embedding-lightgbm_sentence_embeddings | 0.500 | 0.946 | 0.788 | 0.696 | 0.739 | 0.959 | 0.801 |
50
  | embedding-lightgbm_sentence_embeddings | 0.052 | 0.933 | 0.657 | 0.821 | 0.730 | 0.959 | 0.801 |
51
+ | transformer | 0.500 | 0.949 | 0.738 | 0.830 | 0.782 | 0.958 | 0.812 |
52
+ | transformer | 0.962 | 0.948 | 0.798 | 0.705 | 0.749 | 0.958 | 0.812 |
53
 
54
  ## Confusion Matrices on Test Split
55
 
 
129
 
130
  | True / Predicted | NOT_RELEVANT | RELEVANT |
131
  | --- | ---: | ---: |
132
+ | NOT_RELEVANT | 871 | 33 |
133
+ | RELEVANT | 19 | 93 |
134
 
135
+ ### transformer at threshold 0.962
136
 
137
  | True / Predicted | NOT_RELEVANT | RELEVANT |
138
  | --- | ---: | ---: |
139
+ | NOT_RELEVANT | 884 | 20 |
140
+ | RELEVANT | 33 | 79 |
141
 
142
 
143
  ## Validation-Tuned Thresholds
 
147
  - `embedding-logistic_sentence_embeddings`: threshold `0.616` (validation F1 `0.728`); test F1 change vs 0.5: `+0.074`.
148
  - `embedding-svm_sentence_embeddings`: threshold `0.276` (validation F1 `0.731`); test F1 change vs 0.5: `+0.024`.
149
  - `embedding-lightgbm_sentence_embeddings`: threshold `0.052` (validation F1 `0.739`); test F1 change vs 0.5: `-0.009`.
150
+ - `transformer`: threshold `0.962` (validation F1 `0.832`); test F1 change vs 0.5: `-0.033`.
151
 
152
  ## Artifacts
153
 
report.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "created_at": "2026-05-25T19:23:29.605062+00:00",
3
  "config": {
4
  "hf_dataset": "faodl/amis-agri-utilization",
5
  "hf_subset": null,
@@ -37,8 +37,8 @@
37
  "embedding_batch_size": 64,
38
  "positive_label_name": "RELEVANT",
39
  "negative_label_name": "NOT_RELEVANT",
40
- "push_to_hub": true,
41
- "hub_model_id": "faodl/agri-utilization-classifier",
42
  "hub_private_repo": false
43
  },
44
  "dataset_summary": {
@@ -85,6 +85,98 @@
85
  "precision": 0.6964285714285714,
86
  "recall": 0.4936708860759494
87
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  "test_default_0_5": {
89
  "threshold": 0.5,
90
  "accuracy": 0.9261811023622047,
@@ -189,6 +281,98 @@
189
  "precision": 0.5921052631578947,
190
  "recall": 0.569620253164557
191
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  "test_default_0_5": {
193
  "threshold": 0.5,
194
  "accuracy": 0.9242125984251969,
@@ -294,6 +478,98 @@
294
  "precision": 0.6120689655172413,
295
  "recall": 0.8987341772151899
296
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
297
  "test_default_0_5": {
298
  "threshold": 0.5,
299
  "accuracy": 0.8986220472440944,
@@ -399,6 +675,98 @@
399
  "precision": 0.6666666666666666,
400
  "recall": 0.810126582278481
401
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  "test_default_0_5": {
403
  "threshold": 0.5,
404
  "accuracy": 0.9409448818897638,
@@ -504,6 +872,98 @@
504
  "precision": 0.6701030927835051,
505
  "recall": 0.8227848101265823
506
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
507
  "test_default_0_5": {
508
  "threshold": 0.5,
509
  "accuracy": 0.9458661417322834,
@@ -602,102 +1062,194 @@
602
  "model_name": "FacebookAI/xlm-roberta-base",
603
  "artifact_dir": "/content/agri-utilization-classifier/transformer",
604
  "validation_best_threshold": {
605
- "threshold": 0.6156440377235413,
606
- "f1": 0.8072289156626505,
607
- "precision": 0.7701149425287356,
608
- "recall": 0.8481012658227848
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
609
  },
610
  "test_default_0_5": {
611
  "threshold": 0.5,
612
- "accuracy": 0.9498031496062992,
613
- "precision": 0.7479674796747967,
614
- "recall": 0.8214285714285714,
615
- "f1": 0.7829787234042553,
616
  "confusion_matrix": [
617
  [
618
- 873,
619
- 31
620
  ],
621
  [
622
- 20,
623
- 92
624
  ]
625
  ],
626
  "classification_report": {
627
  "NOT_RELEVANT": {
628
- "precision": 0.9776035834266518,
629
- "recall": 0.9657079646017699,
630
- "f1-score": 0.9716193656093489,
631
  "support": 904.0
632
  },
633
  "RELEVANT": {
634
- "precision": 0.7479674796747967,
635
- "recall": 0.8214285714285714,
636
- "f1-score": 0.7829787234042553,
637
  "support": 112.0
638
  },
639
- "accuracy": 0.9498031496062992,
640
  "macro avg": {
641
- "precision": 0.8627855315507242,
642
- "recall": 0.8935682680151706,
643
- "f1-score": 0.8772990445068021,
644
  "support": 1016.0
645
  },
646
  "weighted avg": {
647
- "precision": 0.9522893672650299,
648
- "recall": 0.9498031496062992,
649
- "f1-score": 0.9508243341851654,
650
  "support": 1016.0
651
  }
652
  },
653
- "roc_auc": 0.9511694058154235,
654
- "average_precision": 0.7846734208461954
655
  },
656
  "test_optimal_threshold": {
657
- "threshold": 0.6156440377235413,
658
- "accuracy": 0.9498031496062992,
659
- "precision": 0.7479674796747967,
660
- "recall": 0.8214285714285714,
661
- "f1": 0.7829787234042553,
662
  "confusion_matrix": [
663
  [
664
- 873,
665
- 31
666
  ],
667
  [
668
- 20,
669
- 92
670
  ]
671
  ],
672
  "classification_report": {
673
  "NOT_RELEVANT": {
674
- "precision": 0.9776035834266518,
675
- "recall": 0.9657079646017699,
676
- "f1-score": 0.9716193656093489,
677
  "support": 904.0
678
  },
679
  "RELEVANT": {
680
- "precision": 0.7479674796747967,
681
- "recall": 0.8214285714285714,
682
- "f1-score": 0.7829787234042553,
683
  "support": 112.0
684
  },
685
- "accuracy": 0.9498031496062992,
686
  "macro avg": {
687
- "precision": 0.8627855315507242,
688
- "recall": 0.8935682680151706,
689
- "f1-score": 0.8772990445068021,
690
  "support": 1016.0
691
  },
692
  "weighted avg": {
693
- "precision": 0.9522893672650299,
694
- "recall": 0.9498031496062992,
695
- "f1-score": 0.9508243341851654,
696
  "support": 1016.0
697
  }
698
  },
699
- "roc_auc": 0.9511694058154235,
700
- "average_precision": 0.7846734208461954
701
  }
702
  }
703
  ]
 
1
  {
2
+ "created_at": "2026-05-26T12:10:12.870005+00:00",
3
  "config": {
4
  "hf_dataset": "faodl/amis-agri-utilization",
5
  "hf_subset": null,
 
37
  "embedding_batch_size": 64,
38
  "positive_label_name": "RELEVANT",
39
  "negative_label_name": "NOT_RELEVANT",
40
+ "push_to_hub": false,
41
+ "hub_model_id": null,
42
  "hub_private_repo": false
43
  },
44
  "dataset_summary": {
 
85
  "precision": 0.6964285714285714,
86
  "recall": 0.4936708860759494
87
  },
88
+ "validation_default_0_5": {
89
+ "threshold": 0.5,
90
+ "accuracy": 0.9120654396728016,
91
+ "precision": 0.46464646464646464,
92
+ "recall": 0.5822784810126582,
93
+ "f1": 0.5168539325842697,
94
+ "confusion_matrix": [
95
+ [
96
+ 846,
97
+ 53
98
+ ],
99
+ [
100
+ 33,
101
+ 46
102
+ ]
103
+ ],
104
+ "classification_report": {
105
+ "NOT_RELEVANT": {
106
+ "precision": 0.962457337883959,
107
+ "recall": 0.9410456062291435,
108
+ "f1-score": 0.9516310461192351,
109
+ "support": 899.0
110
+ },
111
+ "RELEVANT": {
112
+ "precision": 0.46464646464646464,
113
+ "recall": 0.5822784810126582,
114
+ "f1-score": 0.5168539325842697,
115
+ "support": 79.0
116
+ },
117
+ "accuracy": 0.9120654396728016,
118
+ "macro avg": {
119
+ "precision": 0.7135519012652118,
120
+ "recall": 0.7616620436209008,
121
+ "f1-score": 0.7342424893517524,
122
+ "support": 978.0
123
+ },
124
+ "weighted avg": {
125
+ "precision": 0.9222456211296011,
126
+ "recall": 0.9120654396728016,
127
+ "f1-score": 0.9165110134308279,
128
+ "support": 978.0
129
+ }
130
+ },
131
+ "roc_auc": 0.871530955632841,
132
+ "average_precision": 0.5935308473185881
133
+ },
134
+ "validation_optimal_threshold": {
135
+ "threshold": 0.6076606929552563,
136
+ "accuracy": 0.941717791411043,
137
+ "precision": 0.6964285714285714,
138
+ "recall": 0.4936708860759494,
139
+ "f1": 0.5777777777777777,
140
+ "confusion_matrix": [
141
+ [
142
+ 882,
143
+ 17
144
+ ],
145
+ [
146
+ 40,
147
+ 39
148
+ ]
149
+ ],
150
+ "classification_report": {
151
+ "NOT_RELEVANT": {
152
+ "precision": 0.9566160520607375,
153
+ "recall": 0.9810901001112347,
154
+ "f1-score": 0.9686985172981878,
155
+ "support": 899.0
156
+ },
157
+ "RELEVANT": {
158
+ "precision": 0.6964285714285714,
159
+ "recall": 0.4936708860759494,
160
+ "f1-score": 0.5777777777777777,
161
+ "support": 79.0
162
+ },
163
+ "accuracy": 0.941717791411043,
164
+ "macro avg": {
165
+ "precision": 0.8265223117446545,
166
+ "recall": 0.737380493093592,
167
+ "f1-score": 0.7732381475379828,
168
+ "support": 978.0
169
+ },
170
+ "weighted avg": {
171
+ "precision": 0.9355988629299183,
172
+ "recall": 0.941717791411043,
173
+ "f1-score": 0.9371210751487886,
174
+ "support": 978.0
175
+ }
176
+ },
177
+ "roc_auc": 0.871530955632841,
178
+ "average_precision": 0.5935308473185881
179
+ },
180
  "test_default_0_5": {
181
  "threshold": 0.5,
182
  "accuracy": 0.9261811023622047,
 
281
  "precision": 0.5921052631578947,
282
  "recall": 0.569620253164557
283
  },
284
+ "validation_default_0_5": {
285
+ "threshold": 0.5,
286
+ "accuracy": 0.9447852760736196,
287
+ "precision": 0.9310344827586207,
288
+ "recall": 0.34177215189873417,
289
+ "f1": 0.5,
290
+ "confusion_matrix": [
291
+ [
292
+ 897,
293
+ 2
294
+ ],
295
+ [
296
+ 52,
297
+ 27
298
+ ]
299
+ ],
300
+ "classification_report": {
301
+ "NOT_RELEVANT": {
302
+ "precision": 0.9452054794520548,
303
+ "recall": 0.9977753058954394,
304
+ "f1-score": 0.9707792207792207,
305
+ "support": 899.0
306
+ },
307
+ "RELEVANT": {
308
+ "precision": 0.9310344827586207,
309
+ "recall": 0.34177215189873417,
310
+ "f1-score": 0.5,
311
+ "support": 79.0
312
+ },
313
+ "accuracy": 0.9447852760736196,
314
+ "macro avg": {
315
+ "precision": 0.9381199811053378,
316
+ "recall": 0.6697737288970868,
317
+ "f1-score": 0.7353896103896104,
318
+ "support": 978.0
319
+ },
320
+ "weighted avg": {
321
+ "precision": 0.9440607874901108,
322
+ "recall": 0.9447852760736196,
323
+ "f1-score": 0.9327510424136191,
324
+ "support": 978.0
325
+ }
326
+ },
327
+ "roc_auc": 0.822629926359809,
328
+ "average_precision": 0.5882293042162409
329
+ },
330
+ "validation_optimal_threshold": {
331
+ "threshold": 0.17728303372859955,
332
+ "accuracy": 0.9335378323108384,
333
+ "precision": 0.5921052631578947,
334
+ "recall": 0.569620253164557,
335
+ "f1": 0.5806451612903226,
336
+ "confusion_matrix": [
337
+ [
338
+ 868,
339
+ 31
340
+ ],
341
+ [
342
+ 34,
343
+ 45
344
+ ]
345
+ ],
346
+ "classification_report": {
347
+ "NOT_RELEVANT": {
348
+ "precision": 0.9623059866962306,
349
+ "recall": 0.9655172413793104,
350
+ "f1-score": 0.9639089394780678,
351
+ "support": 899.0
352
+ },
353
+ "RELEVANT": {
354
+ "precision": 0.5921052631578947,
355
+ "recall": 0.569620253164557,
356
+ "f1-score": 0.5806451612903226,
357
+ "support": 79.0
358
+ },
359
+ "accuracy": 0.9335378323108384,
360
+ "macro avg": {
361
+ "precision": 0.7772056249270627,
362
+ "recall": 0.7675687472719337,
363
+ "f1-score": 0.7722770503841951,
364
+ "support": 978.0
365
+ },
366
+ "weighted avg": {
367
+ "precision": 0.9324022472693098,
368
+ "recall": 0.9335378323108384,
369
+ "f1-score": 0.9329500044301825,
370
+ "support": 978.0
371
+ }
372
+ },
373
+ "roc_auc": 0.822629926359809,
374
+ "average_precision": 0.5882293042162409
375
+ },
376
  "test_default_0_5": {
377
  "threshold": 0.5,
378
  "accuracy": 0.9242125984251969,
 
478
  "precision": 0.6120689655172413,
479
  "recall": 0.8987341772151899
480
  },
481
+ "validation_default_0_5": {
482
+ "threshold": 0.5,
483
+ "accuracy": 0.9161554192229039,
484
+ "precision": 0.4897959183673469,
485
+ "recall": 0.9113924050632911,
486
+ "f1": 0.6371681415929203,
487
+ "confusion_matrix": [
488
+ [
489
+ 824,
490
+ 75
491
+ ],
492
+ [
493
+ 7,
494
+ 72
495
+ ]
496
+ ],
497
+ "classification_report": {
498
+ "NOT_RELEVANT": {
499
+ "precision": 0.9915764139590855,
500
+ "recall": 0.9165739710789766,
501
+ "f1-score": 0.9526011560693641,
502
+ "support": 899.0
503
+ },
504
+ "RELEVANT": {
505
+ "precision": 0.4897959183673469,
506
+ "recall": 0.9113924050632911,
507
+ "f1-score": 0.6371681415929203,
508
+ "support": 79.0
509
+ },
510
+ "accuracy": 0.9161554192229039,
511
+ "macro avg": {
512
+ "precision": 0.7406861661632163,
513
+ "recall": 0.9139831880711339,
514
+ "f1-score": 0.7948846488311423,
515
+ "support": 978.0
516
+ },
517
+ "weighted avg": {
518
+ "precision": 0.9510440426382804,
519
+ "recall": 0.9161554192229039,
520
+ "f1-score": 0.9271213931413078,
521
+ "support": 978.0
522
+ }
523
+ },
524
+ "roc_auc": 0.9563227777699554,
525
+ "average_precision": 0.7488532716951917
526
+ },
527
+ "validation_optimal_threshold": {
528
+ "threshold": 0.616087721531811,
529
+ "accuracy": 0.9458077709611452,
530
+ "precision": 0.6120689655172413,
531
+ "recall": 0.8987341772151899,
532
+ "f1": 0.7282051282051282,
533
+ "confusion_matrix": [
534
+ [
535
+ 854,
536
+ 45
537
+ ],
538
+ [
539
+ 8,
540
+ 71
541
+ ]
542
+ ],
543
+ "classification_report": {
544
+ "NOT_RELEVANT": {
545
+ "precision": 0.9907192575406032,
546
+ "recall": 0.949944382647386,
547
+ "f1-score": 0.9699034639409426,
548
+ "support": 899.0
549
+ },
550
+ "RELEVANT": {
551
+ "precision": 0.6120689655172413,
552
+ "recall": 0.8987341772151899,
553
+ "f1-score": 0.7282051282051282,
554
+ "support": 79.0
555
+ },
556
+ "accuracy": 0.9458077709611452,
557
+ "macro avg": {
558
+ "precision": 0.8013941115289223,
559
+ "recall": 0.924339279931288,
560
+ "f1-score": 0.8490542960730354,
561
+ "support": 978.0
562
+ },
563
+ "weighted avg": {
564
+ "precision": 0.9601329865080412,
565
+ "recall": 0.9458077709611452,
566
+ "f1-score": 0.9503797742444914,
567
+ "support": 978.0
568
+ }
569
+ },
570
+ "roc_auc": 0.9563227777699554,
571
+ "average_precision": 0.7488532716951917
572
+ },
573
  "test_default_0_5": {
574
  "threshold": 0.5,
575
  "accuracy": 0.8986220472440944,
 
675
  "precision": 0.6666666666666666,
676
  "recall": 0.810126582278481
677
  },
678
+ "validation_default_0_5": {
679
+ "threshold": 0.5,
680
+ "accuracy": 0.9570552147239264,
681
+ "precision": 0.8032786885245902,
682
+ "recall": 0.620253164556962,
683
+ "f1": 0.7,
684
+ "confusion_matrix": [
685
+ [
686
+ 887,
687
+ 12
688
+ ],
689
+ [
690
+ 30,
691
+ 49
692
+ ]
693
+ ],
694
+ "classification_report": {
695
+ "NOT_RELEVANT": {
696
+ "precision": 0.9672846237731734,
697
+ "recall": 0.9866518353726362,
698
+ "f1-score": 0.9768722466960352,
699
+ "support": 899.0
700
+ },
701
+ "RELEVANT": {
702
+ "precision": 0.8032786885245902,
703
+ "recall": 0.620253164556962,
704
+ "f1-score": 0.7,
705
+ "support": 79.0
706
+ },
707
+ "accuracy": 0.9570552147239264,
708
+ "macro avg": {
709
+ "precision": 0.8852816561488818,
710
+ "recall": 0.8034524999647992,
711
+ "f1-score": 0.8384361233480175,
712
+ "support": 978.0
713
+ },
714
+ "weighted avg": {
715
+ "precision": 0.9540367005782469,
716
+ "recall": 0.9570552147239264,
717
+ "f1-score": 0.9545073106132266,
718
+ "support": 978.0
719
+ }
720
+ },
721
+ "roc_auc": 0.9584911505047804,
722
+ "average_precision": 0.7425325495012566
723
+ },
724
+ "validation_optimal_threshold": {
725
+ "threshold": 0.27629376276966117,
726
+ "accuracy": 0.9519427402862985,
727
+ "precision": 0.6666666666666666,
728
+ "recall": 0.810126582278481,
729
+ "f1": 0.7314285714285714,
730
+ "confusion_matrix": [
731
+ [
732
+ 867,
733
+ 32
734
+ ],
735
+ [
736
+ 15,
737
+ 64
738
+ ]
739
+ ],
740
+ "classification_report": {
741
+ "NOT_RELEVANT": {
742
+ "precision": 0.9829931972789115,
743
+ "recall": 0.96440489432703,
744
+ "f1-score": 0.9736103312745649,
745
+ "support": 899.0
746
+ },
747
+ "RELEVANT": {
748
+ "precision": 0.6666666666666666,
749
+ "recall": 0.810126582278481,
750
+ "f1-score": 0.7314285714285714,
751
+ "support": 79.0
752
+ },
753
+ "accuracy": 0.9519427402862985,
754
+ "macro avg": {
755
+ "precision": 0.8248299319727891,
756
+ "recall": 0.8872657383027556,
757
+ "f1-score": 0.8525194513515681,
758
+ "support": 978.0
759
+ },
760
+ "weighted avg": {
761
+ "precision": 0.9574412587120738,
762
+ "recall": 0.9519427402862985,
763
+ "f1-score": 0.9540475919823016,
764
+ "support": 978.0
765
+ }
766
+ },
767
+ "roc_auc": 0.9584911505047804,
768
+ "average_precision": 0.7425325495012566
769
+ },
770
  "test_default_0_5": {
771
  "threshold": 0.5,
772
  "accuracy": 0.9409448818897638,
 
872
  "precision": 0.6701030927835051,
873
  "recall": 0.8227848101265823
874
  },
875
+ "validation_default_0_5": {
876
+ "threshold": 0.5,
877
+ "accuracy": 0.9478527607361963,
878
+ "precision": 0.7,
879
+ "recall": 0.620253164556962,
880
+ "f1": 0.6577181208053692,
881
+ "confusion_matrix": [
882
+ [
883
+ 878,
884
+ 21
885
+ ],
886
+ [
887
+ 30,
888
+ 49
889
+ ]
890
+ ],
891
+ "classification_report": {
892
+ "NOT_RELEVANT": {
893
+ "precision": 0.9669603524229075,
894
+ "recall": 0.9766407119021134,
895
+ "f1-score": 0.9717764250138351,
896
+ "support": 899.0
897
+ },
898
+ "RELEVANT": {
899
+ "precision": 0.7,
900
+ "recall": 0.620253164556962,
901
+ "f1-score": 0.6577181208053692,
902
+ "support": 79.0
903
+ },
904
+ "accuracy": 0.9478527607361963,
905
+ "macro avg": {
906
+ "precision": 0.8334801762114536,
907
+ "recall": 0.7984469382295377,
908
+ "f1-score": 0.8147472729096021,
909
+ "support": 978.0
910
+ },
911
+ "weighted avg": {
912
+ "precision": 0.9453960703764762,
913
+ "recall": 0.9478527607361963,
914
+ "f1-score": 0.9464077071892248,
915
+ "support": 978.0
916
+ }
917
+ },
918
+ "roc_auc": 0.952112755382211,
919
+ "average_precision": 0.777786126005225
920
+ },
921
+ "validation_optimal_threshold": {
922
+ "threshold": 0.05244099185733503,
923
+ "accuracy": 0.9529652351738241,
924
+ "precision": 0.6701030927835051,
925
+ "recall": 0.8227848101265823,
926
+ "f1": 0.7386363636363636,
927
+ "confusion_matrix": [
928
+ [
929
+ 867,
930
+ 32
931
+ ],
932
+ [
933
+ 14,
934
+ 65
935
+ ]
936
+ ],
937
+ "classification_report": {
938
+ "NOT_RELEVANT": {
939
+ "precision": 0.9841089670828603,
940
+ "recall": 0.96440489432703,
941
+ "f1-score": 0.9741573033707865,
942
+ "support": 899.0
943
+ },
944
+ "RELEVANT": {
945
+ "precision": 0.6701030927835051,
946
+ "recall": 0.8227848101265823,
947
+ "f1-score": 0.7386363636363636,
948
+ "support": 79.0
949
+ },
950
+ "accuracy": 0.9529652351738241,
951
+ "macro avg": {
952
+ "precision": 0.8271060299331827,
953
+ "recall": 0.8935948522268062,
954
+ "f1-score": 0.8563968335035751,
955
+ "support": 978.0
956
+ },
957
+ "weighted avg": {
958
+ "precision": 0.9587444843940576,
959
+ "recall": 0.9529652351738241,
960
+ "f1-score": 0.9551326057848771,
961
+ "support": 978.0
962
+ }
963
+ },
964
+ "roc_auc": 0.952112755382211,
965
+ "average_precision": 0.777786126005225
966
+ },
967
  "test_default_0_5": {
968
  "threshold": 0.5,
969
  "accuracy": 0.9458661417322834,
 
1062
  "model_name": "FacebookAI/xlm-roberta-base",
1063
  "artifact_dir": "/content/agri-utilization-classifier/transformer",
1064
  "validation_best_threshold": {
1065
+ "threshold": 0.961713969707489,
1066
+ "f1": 0.8322147651006712,
1067
+ "precision": 0.8857142857142857,
1068
+ "recall": 0.7848101265822784
1069
+ },
1070
+ "validation_default_0_5": {
1071
+ "threshold": 0.5,
1072
+ "accuracy": 0.967280163599182,
1073
+ "precision": 0.7764705882352941,
1074
+ "recall": 0.8354430379746836,
1075
+ "f1": 0.8048780487804879,
1076
+ "confusion_matrix": [
1077
+ [
1078
+ 880,
1079
+ 19
1080
+ ],
1081
+ [
1082
+ 13,
1083
+ 66
1084
+ ]
1085
+ ],
1086
+ "classification_report": {
1087
+ "NOT_RELEVANT": {
1088
+ "precision": 0.9854423292273237,
1089
+ "recall": 0.978865406006674,
1090
+ "f1-score": 0.9821428571428571,
1091
+ "support": 899.0
1092
+ },
1093
+ "RELEVANT": {
1094
+ "precision": 0.7764705882352941,
1095
+ "recall": 0.8354430379746836,
1096
+ "f1-score": 0.8048780487804879,
1097
+ "support": 79.0
1098
+ },
1099
+ "accuracy": 0.967280163599182,
1100
+ "macro avg": {
1101
+ "precision": 0.8809564587313089,
1102
+ "recall": 0.9071542219906787,
1103
+ "f1-score": 0.8935104529616724,
1104
+ "support": 978.0
1105
+ },
1106
+ "weighted avg": {
1107
+ "precision": 0.9685621988199921,
1108
+ "recall": 0.967280163599182,
1109
+ "f1-score": 0.9678239206800482,
1110
+ "support": 978.0
1111
+ }
1112
+ },
1113
+ "roc_auc": 0.9735078357105644,
1114
+ "average_precision": 0.8740430936338875
1115
+ },
1116
+ "validation_optimal_threshold": {
1117
+ "threshold": 0.961713969707489,
1118
+ "accuracy": 0.9744376278118609,
1119
+ "precision": 0.8857142857142857,
1120
+ "recall": 0.7848101265822784,
1121
+ "f1": 0.8322147651006712,
1122
+ "confusion_matrix": [
1123
+ [
1124
+ 891,
1125
+ 8
1126
+ ],
1127
+ [
1128
+ 17,
1129
+ 62
1130
+ ]
1131
+ ],
1132
+ "classification_report": {
1133
+ "NOT_RELEVANT": {
1134
+ "precision": 0.9812775330396476,
1135
+ "recall": 0.9911012235817576,
1136
+ "f1-score": 0.9861649142224682,
1137
+ "support": 899.0
1138
+ },
1139
+ "RELEVANT": {
1140
+ "precision": 0.8857142857142857,
1141
+ "recall": 0.7848101265822784,
1142
+ "f1-score": 0.8322147651006712,
1143
+ "support": 79.0
1144
+ },
1145
+ "accuracy": 0.9744376278118609,
1146
+ "macro avg": {
1147
+ "precision": 0.9334959093769666,
1148
+ "recall": 0.887955675082018,
1149
+ "f1-score": 0.9091898396615696,
1150
+ "support": 978.0
1151
+ },
1152
+ "weighted avg": {
1153
+ "precision": 0.9735582114254312,
1154
+ "recall": 0.9744376278118609,
1155
+ "f1-score": 0.9737292682300123,
1156
+ "support": 978.0
1157
+ }
1158
+ },
1159
+ "roc_auc": 0.9735078357105644,
1160
+ "average_precision": 0.8740430936338875
1161
  },
1162
  "test_default_0_5": {
1163
  "threshold": 0.5,
1164
+ "accuracy": 0.9488188976377953,
1165
+ "precision": 0.7380952380952381,
1166
+ "recall": 0.8303571428571429,
1167
+ "f1": 0.7815126050420168,
1168
  "confusion_matrix": [
1169
  [
1170
+ 871,
1171
+ 33
1172
  ],
1173
  [
1174
+ 19,
1175
+ 93
1176
  ]
1177
  ],
1178
  "classification_report": {
1179
  "NOT_RELEVANT": {
1180
+ "precision": 0.9786516853932584,
1181
+ "recall": 0.963495575221239,
1182
+ "f1-score": 0.9710144927536232,
1183
  "support": 904.0
1184
  },
1185
  "RELEVANT": {
1186
+ "precision": 0.7380952380952381,
1187
+ "recall": 0.8303571428571429,
1188
+ "f1-score": 0.7815126050420168,
1189
  "support": 112.0
1190
  },
1191
+ "accuracy": 0.9488188976377953,
1192
  "macro avg": {
1193
+ "precision": 0.8583734617442482,
1194
+ "recall": 0.8969263590391909,
1195
+ "f1-score": 0.87626354889782,
1196
  "support": 1016.0
1197
  },
1198
  "weighted avg": {
1199
+ "precision": 0.9521336518328467,
1200
+ "recall": 0.9488188976377953,
1201
+ "f1-score": 0.9501245208799027,
1202
  "support": 1016.0
1203
  }
1204
  },
1205
+ "roc_auc": 0.9575794089759799,
1206
+ "average_precision": 0.8120836792897285
1207
  },
1208
  "test_optimal_threshold": {
1209
+ "threshold": 0.961713969707489,
1210
+ "accuracy": 0.9478346456692913,
1211
+ "precision": 0.797979797979798,
1212
+ "recall": 0.7053571428571429,
1213
+ "f1": 0.7488151658767772,
1214
  "confusion_matrix": [
1215
  [
1216
+ 884,
1217
+ 20
1218
  ],
1219
  [
1220
+ 33,
1221
+ 79
1222
  ]
1223
  ],
1224
  "classification_report": {
1225
  "NOT_RELEVANT": {
1226
+ "precision": 0.9640130861504908,
1227
+ "recall": 0.9778761061946902,
1228
+ "f1-score": 0.970895112575508,
1229
  "support": 904.0
1230
  },
1231
  "RELEVANT": {
1232
+ "precision": 0.797979797979798,
1233
+ "recall": 0.7053571428571429,
1234
+ "f1-score": 0.7488151658767772,
1235
  "support": 112.0
1236
  },
1237
+ "accuracy": 0.9478346456692913,
1238
  "macro avg": {
1239
+ "precision": 0.8809964420651444,
1240
+ "recall": 0.8416166245259166,
1241
+ "f1-score": 0.8598551392261427,
1242
  "support": 1016.0
1243
  },
1244
  "weighted avg": {
1245
+ "precision": 0.945710203989942,
1246
+ "recall": 0.9478346456692913,
1247
+ "f1-score": 0.9464138586087188,
1248
  "support": 1016.0
1249
  }
1250
  },
1251
+ "roc_auc": 0.9575794089759799,
1252
+ "average_precision": 0.8120836792897285
1253
  }
1254
  }
1255
  ]
transformer/checkpoint-1220/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:23260da79af693d20fe8414504a730a2e1fae0128c96e784d5a388b934f65ef8
3
  size 1112205008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10fb0ab01e1be47d3c6e92b6cda92cf113dcdb8bb660ad8c297c6dffcdb53187
3
  size 1112205008
transformer/checkpoint-1220/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f5656e89640a42e9a162840684d7e143689ced913e28cbc8709b4e3fcc33ea94
3
  size 2224532875
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68014421c88c3dc4aff836ffde24d87d96bcdaf3fec73670a1a8aa36229ab905
3
  size 2224532875
transformer/checkpoint-1220/scaler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7ad54f7b6fbdb8393459d5a595aa5dfdf4cf4c483f044be07288464f573b4d8e
3
  size 1383
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb2d7099cfd24be7d85605d300cde0de65ab0a9c5c1ef4722d0de46d4564d89a
3
  size 1383
transformer/checkpoint-1220/trainer_state.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "best_global_step": 1220,
3
- "best_metric": 0.8,
4
- "best_model_checkpoint": "/content/agri-utilization-classifier/transformer/checkpoint-1220",
5
  "epoch": 4.0,
6
  "eval_steps": 500,
7
  "global_step": 1220,
@@ -11,390 +11,390 @@
11
  "log_history": [
12
  {
13
  "epoch": 0.08196721311475409,
14
- "grad_norm": 6.984184741973877,
15
  "learning_rate": 3.157894736842105e-06,
16
- "loss": 0.7167730712890625,
17
  "step": 25
18
  },
19
  {
20
  "epoch": 0.16393442622950818,
21
- "grad_norm": 9.77598762512207,
22
  "learning_rate": 6.447368421052632e-06,
23
- "loss": 0.5636273193359375,
24
  "step": 50
25
  },
26
  {
27
  "epoch": 0.2459016393442623,
28
- "grad_norm": 8.441609382629395,
29
  "learning_rate": 9.736842105263159e-06,
30
- "loss": 0.37406421661376954,
31
  "step": 75
32
  },
33
  {
34
  "epoch": 0.32786885245901637,
35
- "grad_norm": 5.313694953918457,
36
  "learning_rate": 1.3026315789473684e-05,
37
- "loss": 0.2965927886962891,
38
  "step": 100
39
  },
40
  {
41
  "epoch": 0.4098360655737705,
42
- "grad_norm": 7.240467548370361,
43
  "learning_rate": 1.6315789473684213e-05,
44
- "loss": 0.29742313385009767,
45
  "step": 125
46
  },
47
  {
48
  "epoch": 0.4918032786885246,
49
- "grad_norm": 6.100603103637695,
50
  "learning_rate": 1.960526315789474e-05,
51
- "loss": 0.2068590545654297,
52
  "step": 150
53
  },
54
  {
55
  "epoch": 0.5737704918032787,
56
- "grad_norm": 4.169040679931641,
57
  "learning_rate": 1.9679533867443555e-05,
58
- "loss": 0.21712726593017578,
59
  "step": 175
60
  },
61
  {
62
  "epoch": 0.6557377049180327,
63
- "grad_norm": 4.665876865386963,
64
  "learning_rate": 1.9315367807720323e-05,
65
- "loss": 0.2889243125915527,
66
  "step": 200
67
  },
68
  {
69
  "epoch": 0.7377049180327869,
70
- "grad_norm": 1.094870924949646,
71
  "learning_rate": 1.8951201747997088e-05,
72
- "loss": 0.2303921699523926,
73
  "step": 225
74
  },
75
  {
76
  "epoch": 0.819672131147541,
77
- "grad_norm": 1.2164329290390015,
78
  "learning_rate": 1.8587035688273852e-05,
79
- "loss": 0.16723501205444335,
80
  "step": 250
81
  },
82
  {
83
  "epoch": 0.9016393442622951,
84
- "grad_norm": 2.6314468383789062,
85
  "learning_rate": 1.822286962855062e-05,
86
- "loss": 0.15685997009277344,
87
  "step": 275
88
  },
89
  {
90
  "epoch": 0.9836065573770492,
91
- "grad_norm": 14.927972793579102,
92
  "learning_rate": 1.7858703568827385e-05,
93
- "loss": 0.1979808807373047,
94
  "step": 300
95
  },
96
  {
97
  "epoch": 1.0,
98
- "eval_accuracy": 0.9642126789366053,
99
- "eval_f1": 0.7852760736196319,
100
- "eval_loss": 0.10679091513156891,
101
- "eval_precision": 0.7619047619047619,
102
- "eval_recall": 0.810126582278481,
103
- "eval_roc_auc": 0.9606665634108222,
104
- "eval_runtime": 3.9998,
105
- "eval_samples_per_second": 244.514,
106
- "eval_steps_per_second": 7.75,
107
  "step": 305
108
  },
109
  {
110
  "epoch": 1.0655737704918034,
111
- "grad_norm": 22.521757125854492,
112
  "learning_rate": 1.7494537509104153e-05,
113
- "loss": 0.1316550636291504,
114
  "step": 325
115
  },
116
  {
117
  "epoch": 1.1475409836065573,
118
- "grad_norm": 0.22687062621116638,
119
  "learning_rate": 1.7130371449380918e-05,
120
- "loss": 0.2059168815612793,
121
  "step": 350
122
  },
123
  {
124
  "epoch": 1.2295081967213115,
125
- "grad_norm": 0.657261312007904,
126
  "learning_rate": 1.6766205389657686e-05,
127
- "loss": 0.09930330276489258,
128
  "step": 375
129
  },
130
  {
131
  "epoch": 1.3114754098360657,
132
- "grad_norm": 4.796896457672119,
133
  "learning_rate": 1.640203932993445e-05,
134
- "loss": 0.13251757621765137,
135
  "step": 400
136
  },
137
  {
138
  "epoch": 1.3934426229508197,
139
- "grad_norm": 0.5394258499145508,
140
  "learning_rate": 1.603787327021122e-05,
141
- "loss": 0.17834033966064453,
142
  "step": 425
143
  },
144
  {
145
  "epoch": 1.4754098360655736,
146
- "grad_norm": 0.4655781388282776,
147
  "learning_rate": 1.5673707210487983e-05,
148
- "loss": 0.122637300491333,
149
  "step": 450
150
  },
151
  {
152
  "epoch": 1.5573770491803278,
153
- "grad_norm": 0.42849695682525635,
154
  "learning_rate": 1.530954115076475e-05,
155
- "loss": 0.15983641624450684,
156
  "step": 475
157
  },
158
  {
159
  "epoch": 1.639344262295082,
160
- "grad_norm": 0.45386794209480286,
161
  "learning_rate": 1.4945375091041516e-05,
162
- "loss": 0.14264726638793945,
163
  "step": 500
164
  },
165
  {
166
  "epoch": 1.721311475409836,
167
- "grad_norm": 0.6170782446861267,
168
  "learning_rate": 1.4581209031318282e-05,
169
- "loss": 0.18886091232299804,
170
  "step": 525
171
  },
172
  {
173
  "epoch": 1.8032786885245902,
174
- "grad_norm": 5.4546122550964355,
175
  "learning_rate": 1.4217042971595047e-05,
176
- "loss": 0.14393989562988282,
177
  "step": 550
178
  },
179
  {
180
  "epoch": 1.8852459016393444,
181
- "grad_norm": 17.419189453125,
182
  "learning_rate": 1.3852876911871815e-05,
183
- "loss": 0.10272212982177735,
184
  "step": 575
185
  },
186
  {
187
  "epoch": 1.9672131147540983,
188
- "grad_norm": 1.6267497539520264,
189
  "learning_rate": 1.3488710852148582e-05,
190
- "loss": 0.1810975456237793,
191
  "step": 600
192
  },
193
  {
194
  "epoch": 2.0,
195
- "eval_accuracy": 0.9580777096114519,
196
- "eval_f1": 0.7759562841530054,
197
- "eval_loss": 0.17126062512397766,
198
- "eval_precision": 0.6826923076923077,
199
- "eval_recall": 0.8987341772151899,
200
- "eval_roc_auc": 0.9631939848777121,
201
- "eval_runtime": 3.84,
202
- "eval_samples_per_second": 254.687,
203
- "eval_steps_per_second": 8.073,
204
  "step": 610
205
  },
206
  {
207
  "epoch": 2.0491803278688523,
208
- "grad_norm": 1.3180276155471802,
209
  "learning_rate": 1.3124544792425346e-05,
210
- "loss": 0.05921304225921631,
211
  "step": 625
212
  },
213
  {
214
  "epoch": 2.1311475409836067,
215
- "grad_norm": 5.675038814544678,
216
  "learning_rate": 1.2760378732702113e-05,
217
- "loss": 0.16824769973754883,
218
  "step": 650
219
  },
220
  {
221
  "epoch": 2.2131147540983607,
222
- "grad_norm": 0.16993092000484467,
223
  "learning_rate": 1.239621267297888e-05,
224
- "loss": 0.12186273574829101,
225
  "step": 675
226
  },
227
  {
228
  "epoch": 2.2950819672131146,
229
- "grad_norm": 1.1791695356369019,
230
  "learning_rate": 1.2032046613255645e-05,
231
- "loss": 0.08795836448669433,
232
  "step": 700
233
  },
234
  {
235
  "epoch": 2.3770491803278686,
236
- "grad_norm": 0.07541065663099289,
237
  "learning_rate": 1.1667880553532412e-05,
238
- "loss": 0.10129087448120117,
239
  "step": 725
240
  },
241
  {
242
  "epoch": 2.459016393442623,
243
- "grad_norm": 3.394912004470825,
244
  "learning_rate": 1.1303714493809176e-05,
245
- "loss": 0.14056243896484374,
246
  "step": 750
247
  },
248
  {
249
  "epoch": 2.540983606557377,
250
- "grad_norm": 8.074258804321289,
251
  "learning_rate": 1.0939548434085944e-05,
252
- "loss": 0.06563093185424805,
253
  "step": 775
254
  },
255
  {
256
  "epoch": 2.6229508196721314,
257
- "grad_norm": 12.472029685974121,
258
  "learning_rate": 1.057538237436271e-05,
259
- "loss": 0.09851057052612305,
260
  "step": 800
261
  },
262
  {
263
  "epoch": 2.7049180327868854,
264
- "grad_norm": 0.10368915647268295,
265
  "learning_rate": 1.0211216314639475e-05,
266
- "loss": 0.11658324241638184,
267
  "step": 825
268
  },
269
  {
270
  "epoch": 2.7868852459016393,
271
- "grad_norm": 44.263092041015625,
272
  "learning_rate": 9.847050254916243e-06,
273
- "loss": 0.13634946823120117,
274
  "step": 850
275
  },
276
  {
277
  "epoch": 2.8688524590163933,
278
- "grad_norm": 0.07709958404302597,
279
  "learning_rate": 9.482884195193008e-06,
280
- "loss": 0.12144805908203125,
281
  "step": 875
282
  },
283
  {
284
  "epoch": 2.9508196721311473,
285
- "grad_norm": 0.11255892366170883,
286
  "learning_rate": 9.118718135469774e-06,
287
- "loss": 0.11815821647644043,
288
  "step": 900
289
  },
290
  {
291
  "epoch": 3.0,
292
- "eval_accuracy": 0.9601226993865031,
293
- "eval_f1": 0.7868852459016393,
294
- "eval_loss": 0.14711864292621613,
295
- "eval_precision": 0.6923076923076923,
296
- "eval_recall": 0.9113924050632911,
297
- "eval_roc_auc": 0.9719449177003984,
298
- "eval_runtime": 3.9043,
299
- "eval_samples_per_second": 250.495,
300
- "eval_steps_per_second": 7.94,
301
  "step": 915
302
  },
303
  {
304
  "epoch": 3.0327868852459017,
305
- "grad_norm": 0.2808685302734375,
306
  "learning_rate": 8.754552075746541e-06,
307
- "loss": 0.1051255989074707,
308
  "step": 925
309
  },
310
  {
311
  "epoch": 3.1147540983606556,
312
- "grad_norm": 0.07298991084098816,
313
  "learning_rate": 8.390386016023307e-06,
314
- "loss": 0.08817357063293457,
315
  "step": 950
316
  },
317
  {
318
  "epoch": 3.19672131147541,
319
- "grad_norm": 0.049921419471502304,
320
  "learning_rate": 8.026219956300074e-06,
321
- "loss": 0.11110530853271484,
322
  "step": 975
323
  },
324
  {
325
  "epoch": 3.278688524590164,
326
- "grad_norm": 1.874350905418396,
327
  "learning_rate": 7.66205389657684e-06,
328
- "loss": 0.09003183364868164,
329
  "step": 1000
330
  },
331
  {
332
  "epoch": 3.360655737704918,
333
- "grad_norm": 0.09576287865638733,
334
  "learning_rate": 7.2978878368536055e-06,
335
- "loss": 0.05897871017456055,
336
  "step": 1025
337
  },
338
  {
339
  "epoch": 3.442622950819672,
340
- "grad_norm": 20.84284019470215,
341
  "learning_rate": 6.933721777130372e-06,
342
- "loss": 0.06021720886230469,
343
  "step": 1050
344
  },
345
  {
346
  "epoch": 3.5245901639344264,
347
- "grad_norm": 0.06452233344316483,
348
  "learning_rate": 6.569555717407138e-06,
349
- "loss": 0.06818977355957032,
350
  "step": 1075
351
  },
352
  {
353
  "epoch": 3.6065573770491803,
354
- "grad_norm": 0.2655308246612549,
355
  "learning_rate": 6.2053896576839045e-06,
356
- "loss": 0.07051475524902344,
357
  "step": 1100
358
  },
359
  {
360
  "epoch": 3.6885245901639343,
361
- "grad_norm": 0.05852988734841347,
362
  "learning_rate": 5.84122359796067e-06,
363
- "loss": 0.08089996337890625,
364
  "step": 1125
365
  },
366
  {
367
  "epoch": 3.7704918032786887,
368
- "grad_norm": 13.798267364501953,
369
  "learning_rate": 5.477057538237437e-06,
370
- "loss": 0.0827936840057373,
371
  "step": 1150
372
  },
373
  {
374
  "epoch": 3.8524590163934427,
375
- "grad_norm": 6.363399982452393,
376
  "learning_rate": 5.112891478514203e-06,
377
- "loss": 0.06787658214569092,
378
  "step": 1175
379
  },
380
  {
381
  "epoch": 3.9344262295081966,
382
- "grad_norm": 0.059008605778217316,
383
  "learning_rate": 4.748725418790969e-06,
384
- "loss": 0.05120136260986328,
385
  "step": 1200
386
  },
387
  {
388
  "epoch": 4.0,
389
- "eval_accuracy": 0.9662576687116564,
390
- "eval_f1": 0.8,
391
- "eval_loss": 0.1406129151582718,
392
- "eval_precision": 0.7674418604651163,
393
- "eval_recall": 0.8354430379746836,
394
- "eval_roc_auc": 0.9636797566916827,
395
- "eval_runtime": 3.9045,
396
- "eval_samples_per_second": 250.478,
397
- "eval_steps_per_second": 7.939,
398
  "step": 1220
399
  }
400
  ],
@@ -410,7 +410,7 @@
410
  "early_stopping_threshold": 0.0
411
  },
412
  "attributes": {
413
- "early_stopping_patience_counter": 0
414
  }
415
  },
416
  "TrainerControl": {
 
1
  {
2
+ "best_global_step": 915,
3
+ "best_metric": 0.8048780487804879,
4
+ "best_model_checkpoint": "/content/agri-utilization-classifier/transformer/checkpoint-915",
5
  "epoch": 4.0,
6
  "eval_steps": 500,
7
  "global_step": 1220,
 
11
  "log_history": [
12
  {
13
  "epoch": 0.08196721311475409,
14
+ "grad_norm": 4.966984272003174,
15
  "learning_rate": 3.157894736842105e-06,
16
+ "loss": 0.570748291015625,
17
  "step": 25
18
  },
19
  {
20
  "epoch": 0.16393442622950818,
21
+ "grad_norm": 14.035679817199707,
22
  "learning_rate": 6.447368421052632e-06,
23
+ "loss": 0.4261627197265625,
24
  "step": 50
25
  },
26
  {
27
  "epoch": 0.2459016393442623,
28
+ "grad_norm": 6.1731109619140625,
29
  "learning_rate": 9.736842105263159e-06,
30
+ "loss": 0.35031925201416014,
31
  "step": 75
32
  },
33
  {
34
  "epoch": 0.32786885245901637,
35
+ "grad_norm": 3.6704306602478027,
36
  "learning_rate": 1.3026315789473684e-05,
37
+ "loss": 0.32047801971435547,
38
  "step": 100
39
  },
40
  {
41
  "epoch": 0.4098360655737705,
42
+ "grad_norm": 20.360071182250977,
43
  "learning_rate": 1.6315789473684213e-05,
44
+ "loss": 0.21136175155639647,
45
  "step": 125
46
  },
47
  {
48
  "epoch": 0.4918032786885246,
49
+ "grad_norm": 2.045907497406006,
50
  "learning_rate": 1.960526315789474e-05,
51
+ "loss": 0.21009126663208008,
52
  "step": 150
53
  },
54
  {
55
  "epoch": 0.5737704918032787,
56
+ "grad_norm": 7.755379676818848,
57
  "learning_rate": 1.9679533867443555e-05,
58
+ "loss": 0.19892181396484376,
59
  "step": 175
60
  },
61
  {
62
  "epoch": 0.6557377049180327,
63
+ "grad_norm": 0.6007249355316162,
64
  "learning_rate": 1.9315367807720323e-05,
65
+ "loss": 0.19585962295532228,
66
  "step": 200
67
  },
68
  {
69
  "epoch": 0.7377049180327869,
70
+ "grad_norm": 0.7606620192527771,
71
  "learning_rate": 1.8951201747997088e-05,
72
+ "loss": 0.282861213684082,
73
  "step": 225
74
  },
75
  {
76
  "epoch": 0.819672131147541,
77
+ "grad_norm": 5.813822269439697,
78
  "learning_rate": 1.8587035688273852e-05,
79
+ "loss": 0.16557788848876953,
80
  "step": 250
81
  },
82
  {
83
  "epoch": 0.9016393442622951,
84
+ "grad_norm": 3.329322099685669,
85
  "learning_rate": 1.822286962855062e-05,
86
+ "loss": 0.1400923728942871,
87
  "step": 275
88
  },
89
  {
90
  "epoch": 0.9836065573770492,
91
+ "grad_norm": 10.887845993041992,
92
  "learning_rate": 1.7858703568827385e-05,
93
+ "loss": 0.1979439926147461,
94
  "step": 300
95
  },
96
  {
97
  "epoch": 1.0,
98
+ "eval_accuracy": 0.9693251533742331,
99
+ "eval_f1": 0.7916666666666666,
100
+ "eval_loss": 0.1259259283542633,
101
+ "eval_precision": 0.8769230769230769,
102
+ "eval_recall": 0.7215189873417721,
103
+ "eval_roc_auc": 0.9533659058588304,
104
+ "eval_runtime": 3.8981,
105
+ "eval_samples_per_second": 250.889,
106
+ "eval_steps_per_second": 7.953,
107
  "step": 305
108
  },
109
  {
110
  "epoch": 1.0655737704918034,
111
+ "grad_norm": 4.172677516937256,
112
  "learning_rate": 1.7494537509104153e-05,
113
+ "loss": 0.13631089210510253,
114
  "step": 325
115
  },
116
  {
117
  "epoch": 1.1475409836065573,
118
+ "grad_norm": 0.07315228134393692,
119
  "learning_rate": 1.7130371449380918e-05,
120
+ "loss": 0.15998102188110352,
121
  "step": 350
122
  },
123
  {
124
  "epoch": 1.2295081967213115,
125
+ "grad_norm": 0.4799639582633972,
126
  "learning_rate": 1.6766205389657686e-05,
127
+ "loss": 0.10631587982177734,
128
  "step": 375
129
  },
130
  {
131
  "epoch": 1.3114754098360657,
132
+ "grad_norm": 1.1866878271102905,
133
  "learning_rate": 1.640203932993445e-05,
134
+ "loss": 0.11795808792114258,
135
  "step": 400
136
  },
137
  {
138
  "epoch": 1.3934426229508197,
139
+ "grad_norm": 0.6632266044616699,
140
  "learning_rate": 1.603787327021122e-05,
141
+ "loss": 0.15535160064697265,
142
  "step": 425
143
  },
144
  {
145
  "epoch": 1.4754098360655736,
146
+ "grad_norm": 7.679214000701904,
147
  "learning_rate": 1.5673707210487983e-05,
148
+ "loss": 0.13739371299743652,
149
  "step": 450
150
  },
151
  {
152
  "epoch": 1.5573770491803278,
153
+ "grad_norm": 0.5809745192527771,
154
  "learning_rate": 1.530954115076475e-05,
155
+ "loss": 0.15218215942382812,
156
  "step": 475
157
  },
158
  {
159
  "epoch": 1.639344262295082,
160
+ "grad_norm": 0.14357534050941467,
161
  "learning_rate": 1.4945375091041516e-05,
162
+ "loss": 0.11159341812133788,
163
  "step": 500
164
  },
165
  {
166
  "epoch": 1.721311475409836,
167
+ "grad_norm": 0.15218983590602875,
168
  "learning_rate": 1.4581209031318282e-05,
169
+ "loss": 0.22156574249267577,
170
  "step": 525
171
  },
172
  {
173
  "epoch": 1.8032786885245902,
174
+ "grad_norm": 9.121078491210938,
175
  "learning_rate": 1.4217042971595047e-05,
176
+ "loss": 0.15829898834228515,
177
  "step": 550
178
  },
179
  {
180
  "epoch": 1.8852459016393444,
181
+ "grad_norm": 11.138046264648438,
182
  "learning_rate": 1.3852876911871815e-05,
183
+ "loss": 0.10829511642456055,
184
  "step": 575
185
  },
186
  {
187
  "epoch": 1.9672131147540983,
188
+ "grad_norm": 5.579981803894043,
189
  "learning_rate": 1.3488710852148582e-05,
190
+ "loss": 0.12963885307312012,
191
  "step": 600
192
  },
193
  {
194
  "epoch": 2.0,
195
+ "eval_accuracy": 0.9631901840490797,
196
+ "eval_f1": 0.7906976744186046,
197
+ "eval_loss": 0.12336025387048721,
198
+ "eval_precision": 0.7311827956989247,
199
+ "eval_recall": 0.8607594936708861,
200
+ "eval_roc_auc": 0.968502273975303,
201
+ "eval_runtime": 3.941,
202
+ "eval_samples_per_second": 248.162,
203
+ "eval_steps_per_second": 7.866,
204
  "step": 610
205
  },
206
  {
207
  "epoch": 2.0491803278688523,
208
+ "grad_norm": 23.79497718811035,
209
  "learning_rate": 1.3124544792425346e-05,
210
+ "loss": 0.07728540420532226,
211
  "step": 625
212
  },
213
  {
214
  "epoch": 2.1311475409836067,
215
+ "grad_norm": 0.3032953143119812,
216
  "learning_rate": 1.2760378732702113e-05,
217
+ "loss": 0.15112388610839844,
218
  "step": 650
219
  },
220
  {
221
  "epoch": 2.2131147540983607,
222
+ "grad_norm": 0.15015727281570435,
223
  "learning_rate": 1.239621267297888e-05,
224
+ "loss": 0.11781220436096192,
225
  "step": 675
226
  },
227
  {
228
  "epoch": 2.2950819672131146,
229
+ "grad_norm": 35.07762145996094,
230
  "learning_rate": 1.2032046613255645e-05,
231
+ "loss": 0.06247422218322754,
232
  "step": 700
233
  },
234
  {
235
  "epoch": 2.3770491803278686,
236
+ "grad_norm": 0.06300532817840576,
237
  "learning_rate": 1.1667880553532412e-05,
238
+ "loss": 0.07382740020751953,
239
  "step": 725
240
  },
241
  {
242
  "epoch": 2.459016393442623,
243
+ "grad_norm": 0.0386500246822834,
244
  "learning_rate": 1.1303714493809176e-05,
245
+ "loss": 0.10034572601318359,
246
  "step": 750
247
  },
248
  {
249
  "epoch": 2.540983606557377,
250
+ "grad_norm": 38.45136642456055,
251
  "learning_rate": 1.0939548434085944e-05,
252
+ "loss": 0.0807158374786377,
253
  "step": 775
254
  },
255
  {
256
  "epoch": 2.6229508196721314,
257
+ "grad_norm": 73.75131225585938,
258
  "learning_rate": 1.057538237436271e-05,
259
+ "loss": 0.11720505714416504,
260
  "step": 800
261
  },
262
  {
263
  "epoch": 2.7049180327868854,
264
+ "grad_norm": 3.530329704284668,
265
  "learning_rate": 1.0211216314639475e-05,
266
+ "loss": 0.07547494888305664,
267
  "step": 825
268
  },
269
  {
270
  "epoch": 2.7868852459016393,
271
+ "grad_norm": 2.0287606716156006,
272
  "learning_rate": 9.847050254916243e-06,
273
+ "loss": 0.07913532733917236,
274
  "step": 850
275
  },
276
  {
277
  "epoch": 2.8688524590163933,
278
+ "grad_norm": 0.07940487563610077,
279
  "learning_rate": 9.482884195193008e-06,
280
+ "loss": 0.0882901382446289,
281
  "step": 875
282
  },
283
  {
284
  "epoch": 2.9508196721311473,
285
+ "grad_norm": 0.03960009664297104,
286
  "learning_rate": 9.118718135469774e-06,
287
+ "loss": 0.10696781158447266,
288
  "step": 900
289
  },
290
  {
291
  "epoch": 3.0,
292
+ "eval_accuracy": 0.967280163599182,
293
+ "eval_f1": 0.8048780487804879,
294
+ "eval_loss": 0.13383829593658447,
295
+ "eval_precision": 0.7764705882352941,
296
+ "eval_recall": 0.8354430379746836,
297
+ "eval_roc_auc": 0.9735078357105644,
298
+ "eval_runtime": 4.0602,
299
+ "eval_samples_per_second": 240.875,
300
+ "eval_steps_per_second": 7.635,
301
  "step": 915
302
  },
303
  {
304
  "epoch": 3.0327868852459017,
305
+ "grad_norm": 0.08427837491035461,
306
  "learning_rate": 8.754552075746541e-06,
307
+ "loss": 0.07147216320037841,
308
  "step": 925
309
  },
310
  {
311
  "epoch": 3.1147540983606556,
312
+ "grad_norm": 0.027753490954637527,
313
  "learning_rate": 8.390386016023307e-06,
314
+ "loss": 0.060765981674194336,
315
  "step": 950
316
  },
317
  {
318
  "epoch": 3.19672131147541,
319
+ "grad_norm": 0.027190053835511208,
320
  "learning_rate": 8.026219956300074e-06,
321
+ "loss": 0.08444092750549316,
322
  "step": 975
323
  },
324
  {
325
  "epoch": 3.278688524590164,
326
+ "grad_norm": 6.747233867645264,
327
  "learning_rate": 7.66205389657684e-06,
328
+ "loss": 0.05561910152435303,
329
  "step": 1000
330
  },
331
  {
332
  "epoch": 3.360655737704918,
333
+ "grad_norm": 0.07523014396429062,
334
  "learning_rate": 7.2978878368536055e-06,
335
+ "loss": 0.05905795097351074,
336
  "step": 1025
337
  },
338
  {
339
  "epoch": 3.442622950819672,
340
+ "grad_norm": 8.827320098876953,
341
  "learning_rate": 6.933721777130372e-06,
342
+ "loss": 0.06066291809082031,
343
  "step": 1050
344
  },
345
  {
346
  "epoch": 3.5245901639344264,
347
+ "grad_norm": 0.2744128108024597,
348
  "learning_rate": 6.569555717407138e-06,
349
+ "loss": 0.07047759056091309,
350
  "step": 1075
351
  },
352
  {
353
  "epoch": 3.6065573770491803,
354
+ "grad_norm": 0.13911227881908417,
355
  "learning_rate": 6.2053896576839045e-06,
356
+ "loss": 0.049641780853271485,
357
  "step": 1100
358
  },
359
  {
360
  "epoch": 3.6885245901639343,
361
+ "grad_norm": 0.06898390501737595,
362
  "learning_rate": 5.84122359796067e-06,
363
+ "loss": 0.054807920455932614,
364
  "step": 1125
365
  },
366
  {
367
  "epoch": 3.7704918032786887,
368
+ "grad_norm": 37.68058395385742,
369
  "learning_rate": 5.477057538237437e-06,
370
+ "loss": 0.07445104598999024,
371
  "step": 1150
372
  },
373
  {
374
  "epoch": 3.8524590163934427,
375
+ "grad_norm": 0.046950697898864746,
376
  "learning_rate": 5.112891478514203e-06,
377
+ "loss": 0.03682142734527588,
378
  "step": 1175
379
  },
380
  {
381
  "epoch": 3.9344262295081966,
382
+ "grad_norm": 0.025340111926198006,
383
  "learning_rate": 4.748725418790969e-06,
384
+ "loss": 0.038784558773040774,
385
  "step": 1200
386
  },
387
  {
388
  "epoch": 4.0,
389
+ "eval_accuracy": 0.9642126789366053,
390
+ "eval_f1": 0.7770700636942676,
391
+ "eval_loss": 0.18827994167804718,
392
+ "eval_precision": 0.782051282051282,
393
+ "eval_recall": 0.7721518987341772,
394
+ "eval_roc_auc": 0.9623491643316765,
395
+ "eval_runtime": 4.0232,
396
+ "eval_samples_per_second": 243.092,
397
+ "eval_steps_per_second": 7.705,
398
  "step": 1220
399
  }
400
  ],
 
410
  "early_stopping_threshold": 0.0
411
  },
412
  "attributes": {
413
+ "early_stopping_patience_counter": 1
414
  }
415
  },
416
  "TrainerControl": {
transformer/checkpoint-1525/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8f09e4daa3612b0a08afd0486aa5ce25a384c7e9c3abe05df4b6d1f68e5033b8
3
  size 1112205008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c71d5f126ca24288aedac641eab5145ed59b0b4c91dceecb99619843d17d4eba
3
  size 1112205008
transformer/checkpoint-1525/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0ce2fdbe5bad58a74bc9f05881c3817b46567f474f1c364e65e73b116534a13
3
  size 2224532875
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f235748cb6eb59173928bfbcaa332051d8a6fc9211b117c1725ef2e32de9a484
3
  size 2224532875
transformer/checkpoint-1525/scaler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cbcaa50b1076392191a1f8665b7b77d819d3cc73803b90b8509f590e4b16af02
3
  size 1383
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e30c7885b0ea805c04a948da2a40fb77ce17cb4449de4250c5d46514ee869ba0
3
  size 1383
transformer/checkpoint-1525/trainer_state.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "best_global_step": 1525,
3
- "best_metric": 0.8072289156626506,
4
- "best_model_checkpoint": "/content/agri-utilization-classifier/transformer/checkpoint-1525",
5
  "epoch": 5.0,
6
  "eval_steps": 500,
7
  "global_step": 1525,
@@ -11,494 +11,494 @@
11
  "log_history": [
12
  {
13
  "epoch": 0.08196721311475409,
14
- "grad_norm": 6.984184741973877,
15
  "learning_rate": 3.157894736842105e-06,
16
- "loss": 0.7167730712890625,
17
  "step": 25
18
  },
19
  {
20
  "epoch": 0.16393442622950818,
21
- "grad_norm": 9.77598762512207,
22
  "learning_rate": 6.447368421052632e-06,
23
- "loss": 0.5636273193359375,
24
  "step": 50
25
  },
26
  {
27
  "epoch": 0.2459016393442623,
28
- "grad_norm": 8.441609382629395,
29
  "learning_rate": 9.736842105263159e-06,
30
- "loss": 0.37406421661376954,
31
  "step": 75
32
  },
33
  {
34
  "epoch": 0.32786885245901637,
35
- "grad_norm": 5.313694953918457,
36
  "learning_rate": 1.3026315789473684e-05,
37
- "loss": 0.2965927886962891,
38
  "step": 100
39
  },
40
  {
41
  "epoch": 0.4098360655737705,
42
- "grad_norm": 7.240467548370361,
43
  "learning_rate": 1.6315789473684213e-05,
44
- "loss": 0.29742313385009767,
45
  "step": 125
46
  },
47
  {
48
  "epoch": 0.4918032786885246,
49
- "grad_norm": 6.100603103637695,
50
  "learning_rate": 1.960526315789474e-05,
51
- "loss": 0.2068590545654297,
52
  "step": 150
53
  },
54
  {
55
  "epoch": 0.5737704918032787,
56
- "grad_norm": 4.169040679931641,
57
  "learning_rate": 1.9679533867443555e-05,
58
- "loss": 0.21712726593017578,
59
  "step": 175
60
  },
61
  {
62
  "epoch": 0.6557377049180327,
63
- "grad_norm": 4.665876865386963,
64
  "learning_rate": 1.9315367807720323e-05,
65
- "loss": 0.2889243125915527,
66
  "step": 200
67
  },
68
  {
69
  "epoch": 0.7377049180327869,
70
- "grad_norm": 1.094870924949646,
71
  "learning_rate": 1.8951201747997088e-05,
72
- "loss": 0.2303921699523926,
73
  "step": 225
74
  },
75
  {
76
  "epoch": 0.819672131147541,
77
- "grad_norm": 1.2164329290390015,
78
  "learning_rate": 1.8587035688273852e-05,
79
- "loss": 0.16723501205444335,
80
  "step": 250
81
  },
82
  {
83
  "epoch": 0.9016393442622951,
84
- "grad_norm": 2.6314468383789062,
85
  "learning_rate": 1.822286962855062e-05,
86
- "loss": 0.15685997009277344,
87
  "step": 275
88
  },
89
  {
90
  "epoch": 0.9836065573770492,
91
- "grad_norm": 14.927972793579102,
92
  "learning_rate": 1.7858703568827385e-05,
93
- "loss": 0.1979808807373047,
94
  "step": 300
95
  },
96
  {
97
  "epoch": 1.0,
98
- "eval_accuracy": 0.9642126789366053,
99
- "eval_f1": 0.7852760736196319,
100
- "eval_loss": 0.10679091513156891,
101
- "eval_precision": 0.7619047619047619,
102
- "eval_recall": 0.810126582278481,
103
- "eval_roc_auc": 0.9606665634108222,
104
- "eval_runtime": 3.9998,
105
- "eval_samples_per_second": 244.514,
106
- "eval_steps_per_second": 7.75,
107
  "step": 305
108
  },
109
  {
110
  "epoch": 1.0655737704918034,
111
- "grad_norm": 22.521757125854492,
112
  "learning_rate": 1.7494537509104153e-05,
113
- "loss": 0.1316550636291504,
114
  "step": 325
115
  },
116
  {
117
  "epoch": 1.1475409836065573,
118
- "grad_norm": 0.22687062621116638,
119
  "learning_rate": 1.7130371449380918e-05,
120
- "loss": 0.2059168815612793,
121
  "step": 350
122
  },
123
  {
124
  "epoch": 1.2295081967213115,
125
- "grad_norm": 0.657261312007904,
126
  "learning_rate": 1.6766205389657686e-05,
127
- "loss": 0.09930330276489258,
128
  "step": 375
129
  },
130
  {
131
  "epoch": 1.3114754098360657,
132
- "grad_norm": 4.796896457672119,
133
  "learning_rate": 1.640203932993445e-05,
134
- "loss": 0.13251757621765137,
135
  "step": 400
136
  },
137
  {
138
  "epoch": 1.3934426229508197,
139
- "grad_norm": 0.5394258499145508,
140
  "learning_rate": 1.603787327021122e-05,
141
- "loss": 0.17834033966064453,
142
  "step": 425
143
  },
144
  {
145
  "epoch": 1.4754098360655736,
146
- "grad_norm": 0.4655781388282776,
147
  "learning_rate": 1.5673707210487983e-05,
148
- "loss": 0.122637300491333,
149
  "step": 450
150
  },
151
  {
152
  "epoch": 1.5573770491803278,
153
- "grad_norm": 0.42849695682525635,
154
  "learning_rate": 1.530954115076475e-05,
155
- "loss": 0.15983641624450684,
156
  "step": 475
157
  },
158
  {
159
  "epoch": 1.639344262295082,
160
- "grad_norm": 0.45386794209480286,
161
  "learning_rate": 1.4945375091041516e-05,
162
- "loss": 0.14264726638793945,
163
  "step": 500
164
  },
165
  {
166
  "epoch": 1.721311475409836,
167
- "grad_norm": 0.6170782446861267,
168
  "learning_rate": 1.4581209031318282e-05,
169
- "loss": 0.18886091232299804,
170
  "step": 525
171
  },
172
  {
173
  "epoch": 1.8032786885245902,
174
- "grad_norm": 5.4546122550964355,
175
  "learning_rate": 1.4217042971595047e-05,
176
- "loss": 0.14393989562988282,
177
  "step": 550
178
  },
179
  {
180
  "epoch": 1.8852459016393444,
181
- "grad_norm": 17.419189453125,
182
  "learning_rate": 1.3852876911871815e-05,
183
- "loss": 0.10272212982177735,
184
  "step": 575
185
  },
186
  {
187
  "epoch": 1.9672131147540983,
188
- "grad_norm": 1.6267497539520264,
189
  "learning_rate": 1.3488710852148582e-05,
190
- "loss": 0.1810975456237793,
191
  "step": 600
192
  },
193
  {
194
  "epoch": 2.0,
195
- "eval_accuracy": 0.9580777096114519,
196
- "eval_f1": 0.7759562841530054,
197
- "eval_loss": 0.17126062512397766,
198
- "eval_precision": 0.6826923076923077,
199
- "eval_recall": 0.8987341772151899,
200
- "eval_roc_auc": 0.9631939848777121,
201
- "eval_runtime": 3.84,
202
- "eval_samples_per_second": 254.687,
203
- "eval_steps_per_second": 8.073,
204
  "step": 610
205
  },
206
  {
207
  "epoch": 2.0491803278688523,
208
- "grad_norm": 1.3180276155471802,
209
  "learning_rate": 1.3124544792425346e-05,
210
- "loss": 0.05921304225921631,
211
  "step": 625
212
  },
213
  {
214
  "epoch": 2.1311475409836067,
215
- "grad_norm": 5.675038814544678,
216
  "learning_rate": 1.2760378732702113e-05,
217
- "loss": 0.16824769973754883,
218
  "step": 650
219
  },
220
  {
221
  "epoch": 2.2131147540983607,
222
- "grad_norm": 0.16993092000484467,
223
  "learning_rate": 1.239621267297888e-05,
224
- "loss": 0.12186273574829101,
225
  "step": 675
226
  },
227
  {
228
  "epoch": 2.2950819672131146,
229
- "grad_norm": 1.1791695356369019,
230
  "learning_rate": 1.2032046613255645e-05,
231
- "loss": 0.08795836448669433,
232
  "step": 700
233
  },
234
  {
235
  "epoch": 2.3770491803278686,
236
- "grad_norm": 0.07541065663099289,
237
  "learning_rate": 1.1667880553532412e-05,
238
- "loss": 0.10129087448120117,
239
  "step": 725
240
  },
241
  {
242
  "epoch": 2.459016393442623,
243
- "grad_norm": 3.394912004470825,
244
  "learning_rate": 1.1303714493809176e-05,
245
- "loss": 0.14056243896484374,
246
  "step": 750
247
  },
248
  {
249
  "epoch": 2.540983606557377,
250
- "grad_norm": 8.074258804321289,
251
  "learning_rate": 1.0939548434085944e-05,
252
- "loss": 0.06563093185424805,
253
  "step": 775
254
  },
255
  {
256
  "epoch": 2.6229508196721314,
257
- "grad_norm": 12.472029685974121,
258
  "learning_rate": 1.057538237436271e-05,
259
- "loss": 0.09851057052612305,
260
  "step": 800
261
  },
262
  {
263
  "epoch": 2.7049180327868854,
264
- "grad_norm": 0.10368915647268295,
265
  "learning_rate": 1.0211216314639475e-05,
266
- "loss": 0.11658324241638184,
267
  "step": 825
268
  },
269
  {
270
  "epoch": 2.7868852459016393,
271
- "grad_norm": 44.263092041015625,
272
  "learning_rate": 9.847050254916243e-06,
273
- "loss": 0.13634946823120117,
274
  "step": 850
275
  },
276
  {
277
  "epoch": 2.8688524590163933,
278
- "grad_norm": 0.07709958404302597,
279
  "learning_rate": 9.482884195193008e-06,
280
- "loss": 0.12144805908203125,
281
  "step": 875
282
  },
283
  {
284
  "epoch": 2.9508196721311473,
285
- "grad_norm": 0.11255892366170883,
286
  "learning_rate": 9.118718135469774e-06,
287
- "loss": 0.11815821647644043,
288
  "step": 900
289
  },
290
  {
291
  "epoch": 3.0,
292
- "eval_accuracy": 0.9601226993865031,
293
- "eval_f1": 0.7868852459016393,
294
- "eval_loss": 0.14711864292621613,
295
- "eval_precision": 0.6923076923076923,
296
- "eval_recall": 0.9113924050632911,
297
- "eval_roc_auc": 0.9719449177003984,
298
- "eval_runtime": 3.9043,
299
- "eval_samples_per_second": 250.495,
300
- "eval_steps_per_second": 7.94,
301
  "step": 915
302
  },
303
  {
304
  "epoch": 3.0327868852459017,
305
- "grad_norm": 0.2808685302734375,
306
  "learning_rate": 8.754552075746541e-06,
307
- "loss": 0.1051255989074707,
308
  "step": 925
309
  },
310
  {
311
  "epoch": 3.1147540983606556,
312
- "grad_norm": 0.07298991084098816,
313
  "learning_rate": 8.390386016023307e-06,
314
- "loss": 0.08817357063293457,
315
  "step": 950
316
  },
317
  {
318
  "epoch": 3.19672131147541,
319
- "grad_norm": 0.049921419471502304,
320
  "learning_rate": 8.026219956300074e-06,
321
- "loss": 0.11110530853271484,
322
  "step": 975
323
  },
324
  {
325
  "epoch": 3.278688524590164,
326
- "grad_norm": 1.874350905418396,
327
  "learning_rate": 7.66205389657684e-06,
328
- "loss": 0.09003183364868164,
329
  "step": 1000
330
  },
331
  {
332
  "epoch": 3.360655737704918,
333
- "grad_norm": 0.09576287865638733,
334
  "learning_rate": 7.2978878368536055e-06,
335
- "loss": 0.05897871017456055,
336
  "step": 1025
337
  },
338
  {
339
  "epoch": 3.442622950819672,
340
- "grad_norm": 20.84284019470215,
341
  "learning_rate": 6.933721777130372e-06,
342
- "loss": 0.06021720886230469,
343
  "step": 1050
344
  },
345
  {
346
  "epoch": 3.5245901639344264,
347
- "grad_norm": 0.06452233344316483,
348
  "learning_rate": 6.569555717407138e-06,
349
- "loss": 0.06818977355957032,
350
  "step": 1075
351
  },
352
  {
353
  "epoch": 3.6065573770491803,
354
- "grad_norm": 0.2655308246612549,
355
  "learning_rate": 6.2053896576839045e-06,
356
- "loss": 0.07051475524902344,
357
  "step": 1100
358
  },
359
  {
360
  "epoch": 3.6885245901639343,
361
- "grad_norm": 0.05852988734841347,
362
  "learning_rate": 5.84122359796067e-06,
363
- "loss": 0.08089996337890625,
364
  "step": 1125
365
  },
366
  {
367
  "epoch": 3.7704918032786887,
368
- "grad_norm": 13.798267364501953,
369
  "learning_rate": 5.477057538237437e-06,
370
- "loss": 0.0827936840057373,
371
  "step": 1150
372
  },
373
  {
374
  "epoch": 3.8524590163934427,
375
- "grad_norm": 6.363399982452393,
376
  "learning_rate": 5.112891478514203e-06,
377
- "loss": 0.06787658214569092,
378
  "step": 1175
379
  },
380
  {
381
  "epoch": 3.9344262295081966,
382
- "grad_norm": 0.059008605778217316,
383
  "learning_rate": 4.748725418790969e-06,
384
- "loss": 0.05120136260986328,
385
  "step": 1200
386
  },
387
  {
388
  "epoch": 4.0,
389
- "eval_accuracy": 0.9662576687116564,
390
- "eval_f1": 0.8,
391
- "eval_loss": 0.1406129151582718,
392
- "eval_precision": 0.7674418604651163,
393
- "eval_recall": 0.8354430379746836,
394
- "eval_roc_auc": 0.9636797566916827,
395
- "eval_runtime": 3.9045,
396
- "eval_samples_per_second": 250.478,
397
- "eval_steps_per_second": 7.939,
398
  "step": 1220
399
  },
400
  {
401
  "epoch": 4.016393442622951,
402
- "grad_norm": 7.579391002655029,
403
  "learning_rate": 4.3845593590677355e-06,
404
- "loss": 0.07703603267669677,
405
  "step": 1225
406
  },
407
  {
408
  "epoch": 4.098360655737705,
409
- "grad_norm": 2.102841377258301,
410
  "learning_rate": 4.020393299344502e-06,
411
- "loss": 0.032845423221588135,
412
  "step": 1250
413
  },
414
  {
415
  "epoch": 4.180327868852459,
416
- "grad_norm": 0.07024268805980682,
417
  "learning_rate": 3.656227239621268e-06,
418
- "loss": 0.03449820995330811,
419
  "step": 1275
420
  },
421
  {
422
  "epoch": 4.262295081967213,
423
- "grad_norm": 0.02977728098630905,
424
  "learning_rate": 3.292061179898034e-06,
425
- "loss": 0.06648642539978028,
426
  "step": 1300
427
  },
428
  {
429
  "epoch": 4.344262295081967,
430
- "grad_norm": 0.02086547203361988,
431
  "learning_rate": 2.9278951201748e-06,
432
- "loss": 0.06277695178985596,
433
  "step": 1325
434
  },
435
  {
436
  "epoch": 4.426229508196721,
437
- "grad_norm": 0.15774419903755188,
438
  "learning_rate": 2.5637290604515665e-06,
439
- "loss": 0.02380265951156616,
440
  "step": 1350
441
  },
442
  {
443
  "epoch": 4.508196721311475,
444
- "grad_norm": 0.030775833874940872,
445
  "learning_rate": 2.1995630007283324e-06,
446
- "loss": 0.06929955959320068,
447
  "step": 1375
448
  },
449
  {
450
  "epoch": 4.590163934426229,
451
- "grad_norm": 0.07542883604764938,
452
  "learning_rate": 1.8353969410050983e-06,
453
- "loss": 0.027865142822265626,
454
  "step": 1400
455
  },
456
  {
457
  "epoch": 4.672131147540983,
458
- "grad_norm": 6.874780178070068,
459
  "learning_rate": 1.4712308812818645e-06,
460
- "loss": 0.0548116397857666,
461
  "step": 1425
462
  },
463
  {
464
  "epoch": 4.754098360655737,
465
- "grad_norm": 37.22102355957031,
466
  "learning_rate": 1.1070648215586309e-06,
467
- "loss": 0.04357499122619629,
468
  "step": 1450
469
  },
470
  {
471
  "epoch": 4.836065573770492,
472
- "grad_norm": 0.03843735158443451,
473
  "learning_rate": 7.428987618353969e-07,
474
- "loss": 0.03130460500717163,
475
  "step": 1475
476
  },
477
  {
478
  "epoch": 4.918032786885246,
479
- "grad_norm": 0.028637070208787918,
480
  "learning_rate": 3.787327021121632e-07,
481
- "loss": 0.02157698631286621,
482
  "step": 1500
483
  },
484
  {
485
  "epoch": 5.0,
486
- "grad_norm": 0.021514365449547768,
487
  "learning_rate": 1.4566642388929353e-08,
488
- "loss": 0.04632264614105225,
489
  "step": 1525
490
  },
491
  {
492
  "epoch": 5.0,
493
- "eval_accuracy": 0.967280163599182,
494
- "eval_f1": 0.8072289156626506,
495
- "eval_loss": 0.15767407417297363,
496
- "eval_precision": 0.7701149425287356,
497
- "eval_recall": 0.8481012658227848,
498
- "eval_roc_auc": 0.9619549147435266,
499
- "eval_runtime": 3.8427,
500
- "eval_samples_per_second": 254.511,
501
- "eval_steps_per_second": 8.067,
502
  "step": 1525
503
  }
504
  ],
@@ -514,7 +514,7 @@
514
  "early_stopping_threshold": 0.0
515
  },
516
  "attributes": {
517
- "early_stopping_patience_counter": 0
518
  }
519
  },
520
  "TrainerControl": {
 
1
  {
2
+ "best_global_step": 915,
3
+ "best_metric": 0.8048780487804879,
4
+ "best_model_checkpoint": "/content/agri-utilization-classifier/transformer/checkpoint-915",
5
  "epoch": 5.0,
6
  "eval_steps": 500,
7
  "global_step": 1525,
 
11
  "log_history": [
12
  {
13
  "epoch": 0.08196721311475409,
14
+ "grad_norm": 4.966984272003174,
15
  "learning_rate": 3.157894736842105e-06,
16
+ "loss": 0.570748291015625,
17
  "step": 25
18
  },
19
  {
20
  "epoch": 0.16393442622950818,
21
+ "grad_norm": 14.035679817199707,
22
  "learning_rate": 6.447368421052632e-06,
23
+ "loss": 0.4261627197265625,
24
  "step": 50
25
  },
26
  {
27
  "epoch": 0.2459016393442623,
28
+ "grad_norm": 6.1731109619140625,
29
  "learning_rate": 9.736842105263159e-06,
30
+ "loss": 0.35031925201416014,
31
  "step": 75
32
  },
33
  {
34
  "epoch": 0.32786885245901637,
35
+ "grad_norm": 3.6704306602478027,
36
  "learning_rate": 1.3026315789473684e-05,
37
+ "loss": 0.32047801971435547,
38
  "step": 100
39
  },
40
  {
41
  "epoch": 0.4098360655737705,
42
+ "grad_norm": 20.360071182250977,
43
  "learning_rate": 1.6315789473684213e-05,
44
+ "loss": 0.21136175155639647,
45
  "step": 125
46
  },
47
  {
48
  "epoch": 0.4918032786885246,
49
+ "grad_norm": 2.045907497406006,
50
  "learning_rate": 1.960526315789474e-05,
51
+ "loss": 0.21009126663208008,
52
  "step": 150
53
  },
54
  {
55
  "epoch": 0.5737704918032787,
56
+ "grad_norm": 7.755379676818848,
57
  "learning_rate": 1.9679533867443555e-05,
58
+ "loss": 0.19892181396484376,
59
  "step": 175
60
  },
61
  {
62
  "epoch": 0.6557377049180327,
63
+ "grad_norm": 0.6007249355316162,
64
  "learning_rate": 1.9315367807720323e-05,
65
+ "loss": 0.19585962295532228,
66
  "step": 200
67
  },
68
  {
69
  "epoch": 0.7377049180327869,
70
+ "grad_norm": 0.7606620192527771,
71
  "learning_rate": 1.8951201747997088e-05,
72
+ "loss": 0.282861213684082,
73
  "step": 225
74
  },
75
  {
76
  "epoch": 0.819672131147541,
77
+ "grad_norm": 5.813822269439697,
78
  "learning_rate": 1.8587035688273852e-05,
79
+ "loss": 0.16557788848876953,
80
  "step": 250
81
  },
82
  {
83
  "epoch": 0.9016393442622951,
84
+ "grad_norm": 3.329322099685669,
85
  "learning_rate": 1.822286962855062e-05,
86
+ "loss": 0.1400923728942871,
87
  "step": 275
88
  },
89
  {
90
  "epoch": 0.9836065573770492,
91
+ "grad_norm": 10.887845993041992,
92
  "learning_rate": 1.7858703568827385e-05,
93
+ "loss": 0.1979439926147461,
94
  "step": 300
95
  },
96
  {
97
  "epoch": 1.0,
98
+ "eval_accuracy": 0.9693251533742331,
99
+ "eval_f1": 0.7916666666666666,
100
+ "eval_loss": 0.1259259283542633,
101
+ "eval_precision": 0.8769230769230769,
102
+ "eval_recall": 0.7215189873417721,
103
+ "eval_roc_auc": 0.9533659058588304,
104
+ "eval_runtime": 3.8981,
105
+ "eval_samples_per_second": 250.889,
106
+ "eval_steps_per_second": 7.953,
107
  "step": 305
108
  },
109
  {
110
  "epoch": 1.0655737704918034,
111
+ "grad_norm": 4.172677516937256,
112
  "learning_rate": 1.7494537509104153e-05,
113
+ "loss": 0.13631089210510253,
114
  "step": 325
115
  },
116
  {
117
  "epoch": 1.1475409836065573,
118
+ "grad_norm": 0.07315228134393692,
119
  "learning_rate": 1.7130371449380918e-05,
120
+ "loss": 0.15998102188110352,
121
  "step": 350
122
  },
123
  {
124
  "epoch": 1.2295081967213115,
125
+ "grad_norm": 0.4799639582633972,
126
  "learning_rate": 1.6766205389657686e-05,
127
+ "loss": 0.10631587982177734,
128
  "step": 375
129
  },
130
  {
131
  "epoch": 1.3114754098360657,
132
+ "grad_norm": 1.1866878271102905,
133
  "learning_rate": 1.640203932993445e-05,
134
+ "loss": 0.11795808792114258,
135
  "step": 400
136
  },
137
  {
138
  "epoch": 1.3934426229508197,
139
+ "grad_norm": 0.6632266044616699,
140
  "learning_rate": 1.603787327021122e-05,
141
+ "loss": 0.15535160064697265,
142
  "step": 425
143
  },
144
  {
145
  "epoch": 1.4754098360655736,
146
+ "grad_norm": 7.679214000701904,
147
  "learning_rate": 1.5673707210487983e-05,
148
+ "loss": 0.13739371299743652,
149
  "step": 450
150
  },
151
  {
152
  "epoch": 1.5573770491803278,
153
+ "grad_norm": 0.5809745192527771,
154
  "learning_rate": 1.530954115076475e-05,
155
+ "loss": 0.15218215942382812,
156
  "step": 475
157
  },
158
  {
159
  "epoch": 1.639344262295082,
160
+ "grad_norm": 0.14357534050941467,
161
  "learning_rate": 1.4945375091041516e-05,
162
+ "loss": 0.11159341812133788,
163
  "step": 500
164
  },
165
  {
166
  "epoch": 1.721311475409836,
167
+ "grad_norm": 0.15218983590602875,
168
  "learning_rate": 1.4581209031318282e-05,
169
+ "loss": 0.22156574249267577,
170
  "step": 525
171
  },
172
  {
173
  "epoch": 1.8032786885245902,
174
+ "grad_norm": 9.121078491210938,
175
  "learning_rate": 1.4217042971595047e-05,
176
+ "loss": 0.15829898834228515,
177
  "step": 550
178
  },
179
  {
180
  "epoch": 1.8852459016393444,
181
+ "grad_norm": 11.138046264648438,
182
  "learning_rate": 1.3852876911871815e-05,
183
+ "loss": 0.10829511642456055,
184
  "step": 575
185
  },
186
  {
187
  "epoch": 1.9672131147540983,
188
+ "grad_norm": 5.579981803894043,
189
  "learning_rate": 1.3488710852148582e-05,
190
+ "loss": 0.12963885307312012,
191
  "step": 600
192
  },
193
  {
194
  "epoch": 2.0,
195
+ "eval_accuracy": 0.9631901840490797,
196
+ "eval_f1": 0.7906976744186046,
197
+ "eval_loss": 0.12336025387048721,
198
+ "eval_precision": 0.7311827956989247,
199
+ "eval_recall": 0.8607594936708861,
200
+ "eval_roc_auc": 0.968502273975303,
201
+ "eval_runtime": 3.941,
202
+ "eval_samples_per_second": 248.162,
203
+ "eval_steps_per_second": 7.866,
204
  "step": 610
205
  },
206
  {
207
  "epoch": 2.0491803278688523,
208
+ "grad_norm": 23.79497718811035,
209
  "learning_rate": 1.3124544792425346e-05,
210
+ "loss": 0.07728540420532226,
211
  "step": 625
212
  },
213
  {
214
  "epoch": 2.1311475409836067,
215
+ "grad_norm": 0.3032953143119812,
216
  "learning_rate": 1.2760378732702113e-05,
217
+ "loss": 0.15112388610839844,
218
  "step": 650
219
  },
220
  {
221
  "epoch": 2.2131147540983607,
222
+ "grad_norm": 0.15015727281570435,
223
  "learning_rate": 1.239621267297888e-05,
224
+ "loss": 0.11781220436096192,
225
  "step": 675
226
  },
227
  {
228
  "epoch": 2.2950819672131146,
229
+ "grad_norm": 35.07762145996094,
230
  "learning_rate": 1.2032046613255645e-05,
231
+ "loss": 0.06247422218322754,
232
  "step": 700
233
  },
234
  {
235
  "epoch": 2.3770491803278686,
236
+ "grad_norm": 0.06300532817840576,
237
  "learning_rate": 1.1667880553532412e-05,
238
+ "loss": 0.07382740020751953,
239
  "step": 725
240
  },
241
  {
242
  "epoch": 2.459016393442623,
243
+ "grad_norm": 0.0386500246822834,
244
  "learning_rate": 1.1303714493809176e-05,
245
+ "loss": 0.10034572601318359,
246
  "step": 750
247
  },
248
  {
249
  "epoch": 2.540983606557377,
250
+ "grad_norm": 38.45136642456055,
251
  "learning_rate": 1.0939548434085944e-05,
252
+ "loss": 0.0807158374786377,
253
  "step": 775
254
  },
255
  {
256
  "epoch": 2.6229508196721314,
257
+ "grad_norm": 73.75131225585938,
258
  "learning_rate": 1.057538237436271e-05,
259
+ "loss": 0.11720505714416504,
260
  "step": 800
261
  },
262
  {
263
  "epoch": 2.7049180327868854,
264
+ "grad_norm": 3.530329704284668,
265
  "learning_rate": 1.0211216314639475e-05,
266
+ "loss": 0.07547494888305664,
267
  "step": 825
268
  },
269
  {
270
  "epoch": 2.7868852459016393,
271
+ "grad_norm": 2.0287606716156006,
272
  "learning_rate": 9.847050254916243e-06,
273
+ "loss": 0.07913532733917236,
274
  "step": 850
275
  },
276
  {
277
  "epoch": 2.8688524590163933,
278
+ "grad_norm": 0.07940487563610077,
279
  "learning_rate": 9.482884195193008e-06,
280
+ "loss": 0.0882901382446289,
281
  "step": 875
282
  },
283
  {
284
  "epoch": 2.9508196721311473,
285
+ "grad_norm": 0.03960009664297104,
286
  "learning_rate": 9.118718135469774e-06,
287
+ "loss": 0.10696781158447266,
288
  "step": 900
289
  },
290
  {
291
  "epoch": 3.0,
292
+ "eval_accuracy": 0.967280163599182,
293
+ "eval_f1": 0.8048780487804879,
294
+ "eval_loss": 0.13383829593658447,
295
+ "eval_precision": 0.7764705882352941,
296
+ "eval_recall": 0.8354430379746836,
297
+ "eval_roc_auc": 0.9735078357105644,
298
+ "eval_runtime": 4.0602,
299
+ "eval_samples_per_second": 240.875,
300
+ "eval_steps_per_second": 7.635,
301
  "step": 915
302
  },
303
  {
304
  "epoch": 3.0327868852459017,
305
+ "grad_norm": 0.08427837491035461,
306
  "learning_rate": 8.754552075746541e-06,
307
+ "loss": 0.07147216320037841,
308
  "step": 925
309
  },
310
  {
311
  "epoch": 3.1147540983606556,
312
+ "grad_norm": 0.027753490954637527,
313
  "learning_rate": 8.390386016023307e-06,
314
+ "loss": 0.060765981674194336,
315
  "step": 950
316
  },
317
  {
318
  "epoch": 3.19672131147541,
319
+ "grad_norm": 0.027190053835511208,
320
  "learning_rate": 8.026219956300074e-06,
321
+ "loss": 0.08444092750549316,
322
  "step": 975
323
  },
324
  {
325
  "epoch": 3.278688524590164,
326
+ "grad_norm": 6.747233867645264,
327
  "learning_rate": 7.66205389657684e-06,
328
+ "loss": 0.05561910152435303,
329
  "step": 1000
330
  },
331
  {
332
  "epoch": 3.360655737704918,
333
+ "grad_norm": 0.07523014396429062,
334
  "learning_rate": 7.2978878368536055e-06,
335
+ "loss": 0.05905795097351074,
336
  "step": 1025
337
  },
338
  {
339
  "epoch": 3.442622950819672,
340
+ "grad_norm": 8.827320098876953,
341
  "learning_rate": 6.933721777130372e-06,
342
+ "loss": 0.06066291809082031,
343
  "step": 1050
344
  },
345
  {
346
  "epoch": 3.5245901639344264,
347
+ "grad_norm": 0.2744128108024597,
348
  "learning_rate": 6.569555717407138e-06,
349
+ "loss": 0.07047759056091309,
350
  "step": 1075
351
  },
352
  {
353
  "epoch": 3.6065573770491803,
354
+ "grad_norm": 0.13911227881908417,
355
  "learning_rate": 6.2053896576839045e-06,
356
+ "loss": 0.049641780853271485,
357
  "step": 1100
358
  },
359
  {
360
  "epoch": 3.6885245901639343,
361
+ "grad_norm": 0.06898390501737595,
362
  "learning_rate": 5.84122359796067e-06,
363
+ "loss": 0.054807920455932614,
364
  "step": 1125
365
  },
366
  {
367
  "epoch": 3.7704918032786887,
368
+ "grad_norm": 37.68058395385742,
369
  "learning_rate": 5.477057538237437e-06,
370
+ "loss": 0.07445104598999024,
371
  "step": 1150
372
  },
373
  {
374
  "epoch": 3.8524590163934427,
375
+ "grad_norm": 0.046950697898864746,
376
  "learning_rate": 5.112891478514203e-06,
377
+ "loss": 0.03682142734527588,
378
  "step": 1175
379
  },
380
  {
381
  "epoch": 3.9344262295081966,
382
+ "grad_norm": 0.025340111926198006,
383
  "learning_rate": 4.748725418790969e-06,
384
+ "loss": 0.038784558773040774,
385
  "step": 1200
386
  },
387
  {
388
  "epoch": 4.0,
389
+ "eval_accuracy": 0.9642126789366053,
390
+ "eval_f1": 0.7770700636942676,
391
+ "eval_loss": 0.18827994167804718,
392
+ "eval_precision": 0.782051282051282,
393
+ "eval_recall": 0.7721518987341772,
394
+ "eval_roc_auc": 0.9623491643316765,
395
+ "eval_runtime": 4.0232,
396
+ "eval_samples_per_second": 243.092,
397
+ "eval_steps_per_second": 7.705,
398
  "step": 1220
399
  },
400
  {
401
  "epoch": 4.016393442622951,
402
+ "grad_norm": 0.04186977073550224,
403
  "learning_rate": 4.3845593590677355e-06,
404
+ "loss": 0.04547274112701416,
405
  "step": 1225
406
  },
407
  {
408
  "epoch": 4.098360655737705,
409
+ "grad_norm": 0.05808034911751747,
410
  "learning_rate": 4.020393299344502e-06,
411
+ "loss": 0.021595537662506104,
412
  "step": 1250
413
  },
414
  {
415
  "epoch": 4.180327868852459,
416
+ "grad_norm": 0.0242879930883646,
417
  "learning_rate": 3.656227239621268e-06,
418
+ "loss": 0.00493621289730072,
419
  "step": 1275
420
  },
421
  {
422
  "epoch": 4.262295081967213,
423
+ "grad_norm": 0.01932583376765251,
424
  "learning_rate": 3.292061179898034e-06,
425
+ "loss": 0.04504331111907959,
426
  "step": 1300
427
  },
428
  {
429
  "epoch": 4.344262295081967,
430
+ "grad_norm": 0.030308857560157776,
431
  "learning_rate": 2.9278951201748e-06,
432
+ "loss": 0.019644882678985596,
433
  "step": 1325
434
  },
435
  {
436
  "epoch": 4.426229508196721,
437
+ "grad_norm": 0.05657515302300453,
438
  "learning_rate": 2.5637290604515665e-06,
439
+ "loss": 0.024864859580993652,
440
  "step": 1350
441
  },
442
  {
443
  "epoch": 4.508196721311475,
444
+ "grad_norm": 0.025285128504037857,
445
  "learning_rate": 2.1995630007283324e-06,
446
+ "loss": 0.048575634956359866,
447
  "step": 1375
448
  },
449
  {
450
  "epoch": 4.590163934426229,
451
+ "grad_norm": 0.06963524967432022,
452
  "learning_rate": 1.8353969410050983e-06,
453
+ "loss": 0.04116048812866211,
454
  "step": 1400
455
  },
456
  {
457
  "epoch": 4.672131147540983,
458
+ "grad_norm": 69.19009399414062,
459
  "learning_rate": 1.4712308812818645e-06,
460
+ "loss": 0.047010822296142576,
461
  "step": 1425
462
  },
463
  {
464
  "epoch": 4.754098360655737,
465
+ "grad_norm": 0.08654582500457764,
466
  "learning_rate": 1.1070648215586309e-06,
467
+ "loss": 0.06569741249084472,
468
  "step": 1450
469
  },
470
  {
471
  "epoch": 4.836065573770492,
472
+ "grad_norm": 0.015758372843265533,
473
  "learning_rate": 7.428987618353969e-07,
474
+ "loss": 0.02632326602935791,
475
  "step": 1475
476
  },
477
  {
478
  "epoch": 4.918032786885246,
479
+ "grad_norm": 0.01882295496761799,
480
  "learning_rate": 3.787327021121632e-07,
481
+ "loss": 0.0074628710746765135,
482
  "step": 1500
483
  },
484
  {
485
  "epoch": 5.0,
486
+ "grad_norm": 0.04482486471533775,
487
  "learning_rate": 1.4566642388929353e-08,
488
+ "loss": 0.09066429138183593,
489
  "step": 1525
490
  },
491
  {
492
  "epoch": 5.0,
493
+ "eval_accuracy": 0.9611451942740287,
494
+ "eval_f1": 0.7625,
495
+ "eval_loss": 0.20975340902805328,
496
+ "eval_precision": 0.7530864197530864,
497
+ "eval_recall": 0.7721518987341772,
498
+ "eval_roc_auc": 0.9564776615367285,
499
+ "eval_runtime": 4.0531,
500
+ "eval_samples_per_second": 241.296,
501
+ "eval_steps_per_second": 7.648,
502
  "step": 1525
503
  }
504
  ],
 
514
  "early_stopping_threshold": 0.0
515
  },
516
  "attributes": {
517
+ "early_stopping_patience_counter": 2
518
  }
519
  },
520
  "TrainerControl": {
transformer/checkpoint-305/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bb20e73a65d9daab2db9b645e0bd0608878ef7b24edb7ac88b5558863e0c5ecc
3
  size 1112205008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:200a48db20ed88a2035cb80d6b7d829284b98d0c8533b39ac5e28b87454f084f
3
  size 1112205008
transformer/checkpoint-305/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:48f419be6f85e4a9a74197d6249f1efe7127ac7668e97007ff458f4b5034cff4
3
  size 2224532875
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc82673d0b9371c401f758333f509b134588b8d418658fae3ec8bc997290a087
3
  size 2224532875
transformer/checkpoint-305/scaler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b479a091e6482cdb8085a5931fe45bae60997ab8939a20b371d61d6be6f7199
3
  size 1383
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58229eb0f47284e612f425b77489160034644a8dc962f6fd1132ab3848e5340b
3
  size 1383
transformer/checkpoint-305/trainer_state.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "best_global_step": 305,
3
- "best_metric": 0.7852760736196319,
4
  "best_model_checkpoint": "/content/agri-utilization-classifier/transformer/checkpoint-305",
5
  "epoch": 1.0,
6
  "eval_steps": 500,
@@ -11,99 +11,99 @@
11
  "log_history": [
12
  {
13
  "epoch": 0.08196721311475409,
14
- "grad_norm": 6.984184741973877,
15
  "learning_rate": 3.157894736842105e-06,
16
- "loss": 0.7167730712890625,
17
  "step": 25
18
  },
19
  {
20
  "epoch": 0.16393442622950818,
21
- "grad_norm": 9.77598762512207,
22
  "learning_rate": 6.447368421052632e-06,
23
- "loss": 0.5636273193359375,
24
  "step": 50
25
  },
26
  {
27
  "epoch": 0.2459016393442623,
28
- "grad_norm": 8.441609382629395,
29
  "learning_rate": 9.736842105263159e-06,
30
- "loss": 0.37406421661376954,
31
  "step": 75
32
  },
33
  {
34
  "epoch": 0.32786885245901637,
35
- "grad_norm": 5.313694953918457,
36
  "learning_rate": 1.3026315789473684e-05,
37
- "loss": 0.2965927886962891,
38
  "step": 100
39
  },
40
  {
41
  "epoch": 0.4098360655737705,
42
- "grad_norm": 7.240467548370361,
43
  "learning_rate": 1.6315789473684213e-05,
44
- "loss": 0.29742313385009767,
45
  "step": 125
46
  },
47
  {
48
  "epoch": 0.4918032786885246,
49
- "grad_norm": 6.100603103637695,
50
  "learning_rate": 1.960526315789474e-05,
51
- "loss": 0.2068590545654297,
52
  "step": 150
53
  },
54
  {
55
  "epoch": 0.5737704918032787,
56
- "grad_norm": 4.169040679931641,
57
  "learning_rate": 1.9679533867443555e-05,
58
- "loss": 0.21712726593017578,
59
  "step": 175
60
  },
61
  {
62
  "epoch": 0.6557377049180327,
63
- "grad_norm": 4.665876865386963,
64
  "learning_rate": 1.9315367807720323e-05,
65
- "loss": 0.2889243125915527,
66
  "step": 200
67
  },
68
  {
69
  "epoch": 0.7377049180327869,
70
- "grad_norm": 1.094870924949646,
71
  "learning_rate": 1.8951201747997088e-05,
72
- "loss": 0.2303921699523926,
73
  "step": 225
74
  },
75
  {
76
  "epoch": 0.819672131147541,
77
- "grad_norm": 1.2164329290390015,
78
  "learning_rate": 1.8587035688273852e-05,
79
- "loss": 0.16723501205444335,
80
  "step": 250
81
  },
82
  {
83
  "epoch": 0.9016393442622951,
84
- "grad_norm": 2.6314468383789062,
85
  "learning_rate": 1.822286962855062e-05,
86
- "loss": 0.15685997009277344,
87
  "step": 275
88
  },
89
  {
90
  "epoch": 0.9836065573770492,
91
- "grad_norm": 14.927972793579102,
92
  "learning_rate": 1.7858703568827385e-05,
93
- "loss": 0.1979808807373047,
94
  "step": 300
95
  },
96
  {
97
  "epoch": 1.0,
98
- "eval_accuracy": 0.9642126789366053,
99
- "eval_f1": 0.7852760736196319,
100
- "eval_loss": 0.10679091513156891,
101
- "eval_precision": 0.7619047619047619,
102
- "eval_recall": 0.810126582278481,
103
- "eval_roc_auc": 0.9606665634108222,
104
- "eval_runtime": 3.9998,
105
- "eval_samples_per_second": 244.514,
106
- "eval_steps_per_second": 7.75,
107
  "step": 305
108
  }
109
  ],
 
1
  {
2
  "best_global_step": 305,
3
+ "best_metric": 0.7916666666666666,
4
  "best_model_checkpoint": "/content/agri-utilization-classifier/transformer/checkpoint-305",
5
  "epoch": 1.0,
6
  "eval_steps": 500,
 
11
  "log_history": [
12
  {
13
  "epoch": 0.08196721311475409,
14
+ "grad_norm": 4.966984272003174,
15
  "learning_rate": 3.157894736842105e-06,
16
+ "loss": 0.570748291015625,
17
  "step": 25
18
  },
19
  {
20
  "epoch": 0.16393442622950818,
21
+ "grad_norm": 14.035679817199707,
22
  "learning_rate": 6.447368421052632e-06,
23
+ "loss": 0.4261627197265625,
24
  "step": 50
25
  },
26
  {
27
  "epoch": 0.2459016393442623,
28
+ "grad_norm": 6.1731109619140625,
29
  "learning_rate": 9.736842105263159e-06,
30
+ "loss": 0.35031925201416014,
31
  "step": 75
32
  },
33
  {
34
  "epoch": 0.32786885245901637,
35
+ "grad_norm": 3.6704306602478027,
36
  "learning_rate": 1.3026315789473684e-05,
37
+ "loss": 0.32047801971435547,
38
  "step": 100
39
  },
40
  {
41
  "epoch": 0.4098360655737705,
42
+ "grad_norm": 20.360071182250977,
43
  "learning_rate": 1.6315789473684213e-05,
44
+ "loss": 0.21136175155639647,
45
  "step": 125
46
  },
47
  {
48
  "epoch": 0.4918032786885246,
49
+ "grad_norm": 2.045907497406006,
50
  "learning_rate": 1.960526315789474e-05,
51
+ "loss": 0.21009126663208008,
52
  "step": 150
53
  },
54
  {
55
  "epoch": 0.5737704918032787,
56
+ "grad_norm": 7.755379676818848,
57
  "learning_rate": 1.9679533867443555e-05,
58
+ "loss": 0.19892181396484376,
59
  "step": 175
60
  },
61
  {
62
  "epoch": 0.6557377049180327,
63
+ "grad_norm": 0.6007249355316162,
64
  "learning_rate": 1.9315367807720323e-05,
65
+ "loss": 0.19585962295532228,
66
  "step": 200
67
  },
68
  {
69
  "epoch": 0.7377049180327869,
70
+ "grad_norm": 0.7606620192527771,
71
  "learning_rate": 1.8951201747997088e-05,
72
+ "loss": 0.282861213684082,
73
  "step": 225
74
  },
75
  {
76
  "epoch": 0.819672131147541,
77
+ "grad_norm": 5.813822269439697,
78
  "learning_rate": 1.8587035688273852e-05,
79
+ "loss": 0.16557788848876953,
80
  "step": 250
81
  },
82
  {
83
  "epoch": 0.9016393442622951,
84
+ "grad_norm": 3.329322099685669,
85
  "learning_rate": 1.822286962855062e-05,
86
+ "loss": 0.1400923728942871,
87
  "step": 275
88
  },
89
  {
90
  "epoch": 0.9836065573770492,
91
+ "grad_norm": 10.887845993041992,
92
  "learning_rate": 1.7858703568827385e-05,
93
+ "loss": 0.1979439926147461,
94
  "step": 300
95
  },
96
  {
97
  "epoch": 1.0,
98
+ "eval_accuracy": 0.9693251533742331,
99
+ "eval_f1": 0.7916666666666666,
100
+ "eval_loss": 0.1259259283542633,
101
+ "eval_precision": 0.8769230769230769,
102
+ "eval_recall": 0.7215189873417721,
103
+ "eval_roc_auc": 0.9533659058588304,
104
+ "eval_runtime": 3.8981,
105
+ "eval_samples_per_second": 250.889,
106
+ "eval_steps_per_second": 7.953,
107
  "step": 305
108
  }
109
  ],
transformer/checkpoint-610/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0987d912d862daec9556dfa11ee4741f1f682f9ab67dfb40e0fb50fd6e0dd487
3
  size 1112205008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:959d44f755b56ade2cade52e51b7bd7fefad198f3c2b73494c05738161ffe28b
3
  size 1112205008
transformer/checkpoint-610/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:86b08b50cc64bad13c80cad58510d1315d9e730f97c4bb407691e44e8de8a71c
3
  size 2224532875
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64454423648f5f1d8cbb7a5d4aa9b57cc031c285bd51408afb20ef9fca929c39
3
  size 2224532875
transformer/checkpoint-610/scaler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69a4619e39f20a9c2cf678e758d60086fc21c975ac26125b10b8caf00ffbba70
3
  size 1383
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03779557801a26e18eddf49e1c693f0a8452f6f1087c4117b7b6a9ee5260d6a3
3
  size 1383
transformer/checkpoint-610/trainer_state.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "best_global_step": 305,
3
- "best_metric": 0.7852760736196319,
4
  "best_model_checkpoint": "/content/agri-utilization-classifier/transformer/checkpoint-305",
5
  "epoch": 2.0,
6
  "eval_steps": 500,
@@ -11,196 +11,196 @@
11
  "log_history": [
12
  {
13
  "epoch": 0.08196721311475409,
14
- "grad_norm": 6.984184741973877,
15
  "learning_rate": 3.157894736842105e-06,
16
- "loss": 0.7167730712890625,
17
  "step": 25
18
  },
19
  {
20
  "epoch": 0.16393442622950818,
21
- "grad_norm": 9.77598762512207,
22
  "learning_rate": 6.447368421052632e-06,
23
- "loss": 0.5636273193359375,
24
  "step": 50
25
  },
26
  {
27
  "epoch": 0.2459016393442623,
28
- "grad_norm": 8.441609382629395,
29
  "learning_rate": 9.736842105263159e-06,
30
- "loss": 0.37406421661376954,
31
  "step": 75
32
  },
33
  {
34
  "epoch": 0.32786885245901637,
35
- "grad_norm": 5.313694953918457,
36
  "learning_rate": 1.3026315789473684e-05,
37
- "loss": 0.2965927886962891,
38
  "step": 100
39
  },
40
  {
41
  "epoch": 0.4098360655737705,
42
- "grad_norm": 7.240467548370361,
43
  "learning_rate": 1.6315789473684213e-05,
44
- "loss": 0.29742313385009767,
45
  "step": 125
46
  },
47
  {
48
  "epoch": 0.4918032786885246,
49
- "grad_norm": 6.100603103637695,
50
  "learning_rate": 1.960526315789474e-05,
51
- "loss": 0.2068590545654297,
52
  "step": 150
53
  },
54
  {
55
  "epoch": 0.5737704918032787,
56
- "grad_norm": 4.169040679931641,
57
  "learning_rate": 1.9679533867443555e-05,
58
- "loss": 0.21712726593017578,
59
  "step": 175
60
  },
61
  {
62
  "epoch": 0.6557377049180327,
63
- "grad_norm": 4.665876865386963,
64
  "learning_rate": 1.9315367807720323e-05,
65
- "loss": 0.2889243125915527,
66
  "step": 200
67
  },
68
  {
69
  "epoch": 0.7377049180327869,
70
- "grad_norm": 1.094870924949646,
71
  "learning_rate": 1.8951201747997088e-05,
72
- "loss": 0.2303921699523926,
73
  "step": 225
74
  },
75
  {
76
  "epoch": 0.819672131147541,
77
- "grad_norm": 1.2164329290390015,
78
  "learning_rate": 1.8587035688273852e-05,
79
- "loss": 0.16723501205444335,
80
  "step": 250
81
  },
82
  {
83
  "epoch": 0.9016393442622951,
84
- "grad_norm": 2.6314468383789062,
85
  "learning_rate": 1.822286962855062e-05,
86
- "loss": 0.15685997009277344,
87
  "step": 275
88
  },
89
  {
90
  "epoch": 0.9836065573770492,
91
- "grad_norm": 14.927972793579102,
92
  "learning_rate": 1.7858703568827385e-05,
93
- "loss": 0.1979808807373047,
94
  "step": 300
95
  },
96
  {
97
  "epoch": 1.0,
98
- "eval_accuracy": 0.9642126789366053,
99
- "eval_f1": 0.7852760736196319,
100
- "eval_loss": 0.10679091513156891,
101
- "eval_precision": 0.7619047619047619,
102
- "eval_recall": 0.810126582278481,
103
- "eval_roc_auc": 0.9606665634108222,
104
- "eval_runtime": 3.9998,
105
- "eval_samples_per_second": 244.514,
106
- "eval_steps_per_second": 7.75,
107
  "step": 305
108
  },
109
  {
110
  "epoch": 1.0655737704918034,
111
- "grad_norm": 22.521757125854492,
112
  "learning_rate": 1.7494537509104153e-05,
113
- "loss": 0.1316550636291504,
114
  "step": 325
115
  },
116
  {
117
  "epoch": 1.1475409836065573,
118
- "grad_norm": 0.22687062621116638,
119
  "learning_rate": 1.7130371449380918e-05,
120
- "loss": 0.2059168815612793,
121
  "step": 350
122
  },
123
  {
124
  "epoch": 1.2295081967213115,
125
- "grad_norm": 0.657261312007904,
126
  "learning_rate": 1.6766205389657686e-05,
127
- "loss": 0.09930330276489258,
128
  "step": 375
129
  },
130
  {
131
  "epoch": 1.3114754098360657,
132
- "grad_norm": 4.796896457672119,
133
  "learning_rate": 1.640203932993445e-05,
134
- "loss": 0.13251757621765137,
135
  "step": 400
136
  },
137
  {
138
  "epoch": 1.3934426229508197,
139
- "grad_norm": 0.5394258499145508,
140
  "learning_rate": 1.603787327021122e-05,
141
- "loss": 0.17834033966064453,
142
  "step": 425
143
  },
144
  {
145
  "epoch": 1.4754098360655736,
146
- "grad_norm": 0.4655781388282776,
147
  "learning_rate": 1.5673707210487983e-05,
148
- "loss": 0.122637300491333,
149
  "step": 450
150
  },
151
  {
152
  "epoch": 1.5573770491803278,
153
- "grad_norm": 0.42849695682525635,
154
  "learning_rate": 1.530954115076475e-05,
155
- "loss": 0.15983641624450684,
156
  "step": 475
157
  },
158
  {
159
  "epoch": 1.639344262295082,
160
- "grad_norm": 0.45386794209480286,
161
  "learning_rate": 1.4945375091041516e-05,
162
- "loss": 0.14264726638793945,
163
  "step": 500
164
  },
165
  {
166
  "epoch": 1.721311475409836,
167
- "grad_norm": 0.6170782446861267,
168
  "learning_rate": 1.4581209031318282e-05,
169
- "loss": 0.18886091232299804,
170
  "step": 525
171
  },
172
  {
173
  "epoch": 1.8032786885245902,
174
- "grad_norm": 5.4546122550964355,
175
  "learning_rate": 1.4217042971595047e-05,
176
- "loss": 0.14393989562988282,
177
  "step": 550
178
  },
179
  {
180
  "epoch": 1.8852459016393444,
181
- "grad_norm": 17.419189453125,
182
  "learning_rate": 1.3852876911871815e-05,
183
- "loss": 0.10272212982177735,
184
  "step": 575
185
  },
186
  {
187
  "epoch": 1.9672131147540983,
188
- "grad_norm": 1.6267497539520264,
189
  "learning_rate": 1.3488710852148582e-05,
190
- "loss": 0.1810975456237793,
191
  "step": 600
192
  },
193
  {
194
  "epoch": 2.0,
195
- "eval_accuracy": 0.9580777096114519,
196
- "eval_f1": 0.7759562841530054,
197
- "eval_loss": 0.17126062512397766,
198
- "eval_precision": 0.6826923076923077,
199
- "eval_recall": 0.8987341772151899,
200
- "eval_roc_auc": 0.9631939848777121,
201
- "eval_runtime": 3.84,
202
- "eval_samples_per_second": 254.687,
203
- "eval_steps_per_second": 8.073,
204
  "step": 610
205
  }
206
  ],
 
1
  {
2
  "best_global_step": 305,
3
+ "best_metric": 0.7916666666666666,
4
  "best_model_checkpoint": "/content/agri-utilization-classifier/transformer/checkpoint-305",
5
  "epoch": 2.0,
6
  "eval_steps": 500,
 
11
  "log_history": [
12
  {
13
  "epoch": 0.08196721311475409,
14
+ "grad_norm": 4.966984272003174,
15
  "learning_rate": 3.157894736842105e-06,
16
+ "loss": 0.570748291015625,
17
  "step": 25
18
  },
19
  {
20
  "epoch": 0.16393442622950818,
21
+ "grad_norm": 14.035679817199707,
22
  "learning_rate": 6.447368421052632e-06,
23
+ "loss": 0.4261627197265625,
24
  "step": 50
25
  },
26
  {
27
  "epoch": 0.2459016393442623,
28
+ "grad_norm": 6.1731109619140625,
29
  "learning_rate": 9.736842105263159e-06,
30
+ "loss": 0.35031925201416014,
31
  "step": 75
32
  },
33
  {
34
  "epoch": 0.32786885245901637,
35
+ "grad_norm": 3.6704306602478027,
36
  "learning_rate": 1.3026315789473684e-05,
37
+ "loss": 0.32047801971435547,
38
  "step": 100
39
  },
40
  {
41
  "epoch": 0.4098360655737705,
42
+ "grad_norm": 20.360071182250977,
43
  "learning_rate": 1.6315789473684213e-05,
44
+ "loss": 0.21136175155639647,
45
  "step": 125
46
  },
47
  {
48
  "epoch": 0.4918032786885246,
49
+ "grad_norm": 2.045907497406006,
50
  "learning_rate": 1.960526315789474e-05,
51
+ "loss": 0.21009126663208008,
52
  "step": 150
53
  },
54
  {
55
  "epoch": 0.5737704918032787,
56
+ "grad_norm": 7.755379676818848,
57
  "learning_rate": 1.9679533867443555e-05,
58
+ "loss": 0.19892181396484376,
59
  "step": 175
60
  },
61
  {
62
  "epoch": 0.6557377049180327,
63
+ "grad_norm": 0.6007249355316162,
64
  "learning_rate": 1.9315367807720323e-05,
65
+ "loss": 0.19585962295532228,
66
  "step": 200
67
  },
68
  {
69
  "epoch": 0.7377049180327869,
70
+ "grad_norm": 0.7606620192527771,
71
  "learning_rate": 1.8951201747997088e-05,
72
+ "loss": 0.282861213684082,
73
  "step": 225
74
  },
75
  {
76
  "epoch": 0.819672131147541,
77
+ "grad_norm": 5.813822269439697,
78
  "learning_rate": 1.8587035688273852e-05,
79
+ "loss": 0.16557788848876953,
80
  "step": 250
81
  },
82
  {
83
  "epoch": 0.9016393442622951,
84
+ "grad_norm": 3.329322099685669,
85
  "learning_rate": 1.822286962855062e-05,
86
+ "loss": 0.1400923728942871,
87
  "step": 275
88
  },
89
  {
90
  "epoch": 0.9836065573770492,
91
+ "grad_norm": 10.887845993041992,
92
  "learning_rate": 1.7858703568827385e-05,
93
+ "loss": 0.1979439926147461,
94
  "step": 300
95
  },
96
  {
97
  "epoch": 1.0,
98
+ "eval_accuracy": 0.9693251533742331,
99
+ "eval_f1": 0.7916666666666666,
100
+ "eval_loss": 0.1259259283542633,
101
+ "eval_precision": 0.8769230769230769,
102
+ "eval_recall": 0.7215189873417721,
103
+ "eval_roc_auc": 0.9533659058588304,
104
+ "eval_runtime": 3.8981,
105
+ "eval_samples_per_second": 250.889,
106
+ "eval_steps_per_second": 7.953,
107
  "step": 305
108
  },
109
  {
110
  "epoch": 1.0655737704918034,
111
+ "grad_norm": 4.172677516937256,
112
  "learning_rate": 1.7494537509104153e-05,
113
+ "loss": 0.13631089210510253,
114
  "step": 325
115
  },
116
  {
117
  "epoch": 1.1475409836065573,
118
+ "grad_norm": 0.07315228134393692,
119
  "learning_rate": 1.7130371449380918e-05,
120
+ "loss": 0.15998102188110352,
121
  "step": 350
122
  },
123
  {
124
  "epoch": 1.2295081967213115,
125
+ "grad_norm": 0.4799639582633972,
126
  "learning_rate": 1.6766205389657686e-05,
127
+ "loss": 0.10631587982177734,
128
  "step": 375
129
  },
130
  {
131
  "epoch": 1.3114754098360657,
132
+ "grad_norm": 1.1866878271102905,
133
  "learning_rate": 1.640203932993445e-05,
134
+ "loss": 0.11795808792114258,
135
  "step": 400
136
  },
137
  {
138
  "epoch": 1.3934426229508197,
139
+ "grad_norm": 0.6632266044616699,
140
  "learning_rate": 1.603787327021122e-05,
141
+ "loss": 0.15535160064697265,
142
  "step": 425
143
  },
144
  {
145
  "epoch": 1.4754098360655736,
146
+ "grad_norm": 7.679214000701904,
147
  "learning_rate": 1.5673707210487983e-05,
148
+ "loss": 0.13739371299743652,
149
  "step": 450
150
  },
151
  {
152
  "epoch": 1.5573770491803278,
153
+ "grad_norm": 0.5809745192527771,
154
  "learning_rate": 1.530954115076475e-05,
155
+ "loss": 0.15218215942382812,
156
  "step": 475
157
  },
158
  {
159
  "epoch": 1.639344262295082,
160
+ "grad_norm": 0.14357534050941467,
161
  "learning_rate": 1.4945375091041516e-05,
162
+ "loss": 0.11159341812133788,
163
  "step": 500
164
  },
165
  {
166
  "epoch": 1.721311475409836,
167
+ "grad_norm": 0.15218983590602875,
168
  "learning_rate": 1.4581209031318282e-05,
169
+ "loss": 0.22156574249267577,
170
  "step": 525
171
  },
172
  {
173
  "epoch": 1.8032786885245902,
174
+ "grad_norm": 9.121078491210938,
175
  "learning_rate": 1.4217042971595047e-05,
176
+ "loss": 0.15829898834228515,
177
  "step": 550
178
  },
179
  {
180
  "epoch": 1.8852459016393444,
181
+ "grad_norm": 11.138046264648438,
182
  "learning_rate": 1.3852876911871815e-05,
183
+ "loss": 0.10829511642456055,
184
  "step": 575
185
  },
186
  {
187
  "epoch": 1.9672131147540983,
188
+ "grad_norm": 5.579981803894043,
189
  "learning_rate": 1.3488710852148582e-05,
190
+ "loss": 0.12963885307312012,
191
  "step": 600
192
  },
193
  {
194
  "epoch": 2.0,
195
+ "eval_accuracy": 0.9631901840490797,
196
+ "eval_f1": 0.7906976744186046,
197
+ "eval_loss": 0.12336025387048721,
198
+ "eval_precision": 0.7311827956989247,
199
+ "eval_recall": 0.8607594936708861,
200
+ "eval_roc_auc": 0.968502273975303,
201
+ "eval_runtime": 3.941,
202
+ "eval_samples_per_second": 248.162,
203
+ "eval_steps_per_second": 7.866,
204
  "step": 610
205
  }
206
  ],
transformer/checkpoint-915/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d3728e86863d86207f22f0d07fcdb0cdefb8ea0edac728a54f99e18b7d45449f
3
  size 1112205008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18f129b4e4685fa8d1bb28430377232612ff45044f3801b6322b1ab5b76e8b6c
3
  size 1112205008
transformer/checkpoint-915/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b61445e4f3f6c58912fc7900494d712e518b57d94365301594eab7debc2f82f
3
  size 2224532875
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e98e47dfa6571159478c43aacef8750b2b563202e0541be73a70743e64d9f090
3
  size 2224532875
transformer/checkpoint-915/scaler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d5de3f7c64db116b19b953c696752ac11438d1a3bafe7b6ff41955b33f8fba9c
3
  size 1383
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4f3a4f326f16471e5d5c4e3138e7cc78982ebb595c20a5ac90094aba45c9fa8
3
  size 1383
transformer/checkpoint-915/trainer_state.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "best_global_step": 915,
3
- "best_metric": 0.7868852459016393,
4
  "best_model_checkpoint": "/content/agri-utilization-classifier/transformer/checkpoint-915",
5
  "epoch": 3.0,
6
  "eval_steps": 500,
@@ -11,293 +11,293 @@
11
  "log_history": [
12
  {
13
  "epoch": 0.08196721311475409,
14
- "grad_norm": 6.984184741973877,
15
  "learning_rate": 3.157894736842105e-06,
16
- "loss": 0.7167730712890625,
17
  "step": 25
18
  },
19
  {
20
  "epoch": 0.16393442622950818,
21
- "grad_norm": 9.77598762512207,
22
  "learning_rate": 6.447368421052632e-06,
23
- "loss": 0.5636273193359375,
24
  "step": 50
25
  },
26
  {
27
  "epoch": 0.2459016393442623,
28
- "grad_norm": 8.441609382629395,
29
  "learning_rate": 9.736842105263159e-06,
30
- "loss": 0.37406421661376954,
31
  "step": 75
32
  },
33
  {
34
  "epoch": 0.32786885245901637,
35
- "grad_norm": 5.313694953918457,
36
  "learning_rate": 1.3026315789473684e-05,
37
- "loss": 0.2965927886962891,
38
  "step": 100
39
  },
40
  {
41
  "epoch": 0.4098360655737705,
42
- "grad_norm": 7.240467548370361,
43
  "learning_rate": 1.6315789473684213e-05,
44
- "loss": 0.29742313385009767,
45
  "step": 125
46
  },
47
  {
48
  "epoch": 0.4918032786885246,
49
- "grad_norm": 6.100603103637695,
50
  "learning_rate": 1.960526315789474e-05,
51
- "loss": 0.2068590545654297,
52
  "step": 150
53
  },
54
  {
55
  "epoch": 0.5737704918032787,
56
- "grad_norm": 4.169040679931641,
57
  "learning_rate": 1.9679533867443555e-05,
58
- "loss": 0.21712726593017578,
59
  "step": 175
60
  },
61
  {
62
  "epoch": 0.6557377049180327,
63
- "grad_norm": 4.665876865386963,
64
  "learning_rate": 1.9315367807720323e-05,
65
- "loss": 0.2889243125915527,
66
  "step": 200
67
  },
68
  {
69
  "epoch": 0.7377049180327869,
70
- "grad_norm": 1.094870924949646,
71
  "learning_rate": 1.8951201747997088e-05,
72
- "loss": 0.2303921699523926,
73
  "step": 225
74
  },
75
  {
76
  "epoch": 0.819672131147541,
77
- "grad_norm": 1.2164329290390015,
78
  "learning_rate": 1.8587035688273852e-05,
79
- "loss": 0.16723501205444335,
80
  "step": 250
81
  },
82
  {
83
  "epoch": 0.9016393442622951,
84
- "grad_norm": 2.6314468383789062,
85
  "learning_rate": 1.822286962855062e-05,
86
- "loss": 0.15685997009277344,
87
  "step": 275
88
  },
89
  {
90
  "epoch": 0.9836065573770492,
91
- "grad_norm": 14.927972793579102,
92
  "learning_rate": 1.7858703568827385e-05,
93
- "loss": 0.1979808807373047,
94
  "step": 300
95
  },
96
  {
97
  "epoch": 1.0,
98
- "eval_accuracy": 0.9642126789366053,
99
- "eval_f1": 0.7852760736196319,
100
- "eval_loss": 0.10679091513156891,
101
- "eval_precision": 0.7619047619047619,
102
- "eval_recall": 0.810126582278481,
103
- "eval_roc_auc": 0.9606665634108222,
104
- "eval_runtime": 3.9998,
105
- "eval_samples_per_second": 244.514,
106
- "eval_steps_per_second": 7.75,
107
  "step": 305
108
  },
109
  {
110
  "epoch": 1.0655737704918034,
111
- "grad_norm": 22.521757125854492,
112
  "learning_rate": 1.7494537509104153e-05,
113
- "loss": 0.1316550636291504,
114
  "step": 325
115
  },
116
  {
117
  "epoch": 1.1475409836065573,
118
- "grad_norm": 0.22687062621116638,
119
  "learning_rate": 1.7130371449380918e-05,
120
- "loss": 0.2059168815612793,
121
  "step": 350
122
  },
123
  {
124
  "epoch": 1.2295081967213115,
125
- "grad_norm": 0.657261312007904,
126
  "learning_rate": 1.6766205389657686e-05,
127
- "loss": 0.09930330276489258,
128
  "step": 375
129
  },
130
  {
131
  "epoch": 1.3114754098360657,
132
- "grad_norm": 4.796896457672119,
133
  "learning_rate": 1.640203932993445e-05,
134
- "loss": 0.13251757621765137,
135
  "step": 400
136
  },
137
  {
138
  "epoch": 1.3934426229508197,
139
- "grad_norm": 0.5394258499145508,
140
  "learning_rate": 1.603787327021122e-05,
141
- "loss": 0.17834033966064453,
142
  "step": 425
143
  },
144
  {
145
  "epoch": 1.4754098360655736,
146
- "grad_norm": 0.4655781388282776,
147
  "learning_rate": 1.5673707210487983e-05,
148
- "loss": 0.122637300491333,
149
  "step": 450
150
  },
151
  {
152
  "epoch": 1.5573770491803278,
153
- "grad_norm": 0.42849695682525635,
154
  "learning_rate": 1.530954115076475e-05,
155
- "loss": 0.15983641624450684,
156
  "step": 475
157
  },
158
  {
159
  "epoch": 1.639344262295082,
160
- "grad_norm": 0.45386794209480286,
161
  "learning_rate": 1.4945375091041516e-05,
162
- "loss": 0.14264726638793945,
163
  "step": 500
164
  },
165
  {
166
  "epoch": 1.721311475409836,
167
- "grad_norm": 0.6170782446861267,
168
  "learning_rate": 1.4581209031318282e-05,
169
- "loss": 0.18886091232299804,
170
  "step": 525
171
  },
172
  {
173
  "epoch": 1.8032786885245902,
174
- "grad_norm": 5.4546122550964355,
175
  "learning_rate": 1.4217042971595047e-05,
176
- "loss": 0.14393989562988282,
177
  "step": 550
178
  },
179
  {
180
  "epoch": 1.8852459016393444,
181
- "grad_norm": 17.419189453125,
182
  "learning_rate": 1.3852876911871815e-05,
183
- "loss": 0.10272212982177735,
184
  "step": 575
185
  },
186
  {
187
  "epoch": 1.9672131147540983,
188
- "grad_norm": 1.6267497539520264,
189
  "learning_rate": 1.3488710852148582e-05,
190
- "loss": 0.1810975456237793,
191
  "step": 600
192
  },
193
  {
194
  "epoch": 2.0,
195
- "eval_accuracy": 0.9580777096114519,
196
- "eval_f1": 0.7759562841530054,
197
- "eval_loss": 0.17126062512397766,
198
- "eval_precision": 0.6826923076923077,
199
- "eval_recall": 0.8987341772151899,
200
- "eval_roc_auc": 0.9631939848777121,
201
- "eval_runtime": 3.84,
202
- "eval_samples_per_second": 254.687,
203
- "eval_steps_per_second": 8.073,
204
  "step": 610
205
  },
206
  {
207
  "epoch": 2.0491803278688523,
208
- "grad_norm": 1.3180276155471802,
209
  "learning_rate": 1.3124544792425346e-05,
210
- "loss": 0.05921304225921631,
211
  "step": 625
212
  },
213
  {
214
  "epoch": 2.1311475409836067,
215
- "grad_norm": 5.675038814544678,
216
  "learning_rate": 1.2760378732702113e-05,
217
- "loss": 0.16824769973754883,
218
  "step": 650
219
  },
220
  {
221
  "epoch": 2.2131147540983607,
222
- "grad_norm": 0.16993092000484467,
223
  "learning_rate": 1.239621267297888e-05,
224
- "loss": 0.12186273574829101,
225
  "step": 675
226
  },
227
  {
228
  "epoch": 2.2950819672131146,
229
- "grad_norm": 1.1791695356369019,
230
  "learning_rate": 1.2032046613255645e-05,
231
- "loss": 0.08795836448669433,
232
  "step": 700
233
  },
234
  {
235
  "epoch": 2.3770491803278686,
236
- "grad_norm": 0.07541065663099289,
237
  "learning_rate": 1.1667880553532412e-05,
238
- "loss": 0.10129087448120117,
239
  "step": 725
240
  },
241
  {
242
  "epoch": 2.459016393442623,
243
- "grad_norm": 3.394912004470825,
244
  "learning_rate": 1.1303714493809176e-05,
245
- "loss": 0.14056243896484374,
246
  "step": 750
247
  },
248
  {
249
  "epoch": 2.540983606557377,
250
- "grad_norm": 8.074258804321289,
251
  "learning_rate": 1.0939548434085944e-05,
252
- "loss": 0.06563093185424805,
253
  "step": 775
254
  },
255
  {
256
  "epoch": 2.6229508196721314,
257
- "grad_norm": 12.472029685974121,
258
  "learning_rate": 1.057538237436271e-05,
259
- "loss": 0.09851057052612305,
260
  "step": 800
261
  },
262
  {
263
  "epoch": 2.7049180327868854,
264
- "grad_norm": 0.10368915647268295,
265
  "learning_rate": 1.0211216314639475e-05,
266
- "loss": 0.11658324241638184,
267
  "step": 825
268
  },
269
  {
270
  "epoch": 2.7868852459016393,
271
- "grad_norm": 44.263092041015625,
272
  "learning_rate": 9.847050254916243e-06,
273
- "loss": 0.13634946823120117,
274
  "step": 850
275
  },
276
  {
277
  "epoch": 2.8688524590163933,
278
- "grad_norm": 0.07709958404302597,
279
  "learning_rate": 9.482884195193008e-06,
280
- "loss": 0.12144805908203125,
281
  "step": 875
282
  },
283
  {
284
  "epoch": 2.9508196721311473,
285
- "grad_norm": 0.11255892366170883,
286
  "learning_rate": 9.118718135469774e-06,
287
- "loss": 0.11815821647644043,
288
  "step": 900
289
  },
290
  {
291
  "epoch": 3.0,
292
- "eval_accuracy": 0.9601226993865031,
293
- "eval_f1": 0.7868852459016393,
294
- "eval_loss": 0.14711864292621613,
295
- "eval_precision": 0.6923076923076923,
296
- "eval_recall": 0.9113924050632911,
297
- "eval_roc_auc": 0.9719449177003984,
298
- "eval_runtime": 3.9043,
299
- "eval_samples_per_second": 250.495,
300
- "eval_steps_per_second": 7.94,
301
  "step": 915
302
  }
303
  ],
 
1
  {
2
  "best_global_step": 915,
3
+ "best_metric": 0.8048780487804879,
4
  "best_model_checkpoint": "/content/agri-utilization-classifier/transformer/checkpoint-915",
5
  "epoch": 3.0,
6
  "eval_steps": 500,
 
11
  "log_history": [
12
  {
13
  "epoch": 0.08196721311475409,
14
+ "grad_norm": 4.966984272003174,
15
  "learning_rate": 3.157894736842105e-06,
16
+ "loss": 0.570748291015625,
17
  "step": 25
18
  },
19
  {
20
  "epoch": 0.16393442622950818,
21
+ "grad_norm": 14.035679817199707,
22
  "learning_rate": 6.447368421052632e-06,
23
+ "loss": 0.4261627197265625,
24
  "step": 50
25
  },
26
  {
27
  "epoch": 0.2459016393442623,
28
+ "grad_norm": 6.1731109619140625,
29
  "learning_rate": 9.736842105263159e-06,
30
+ "loss": 0.35031925201416014,
31
  "step": 75
32
  },
33
  {
34
  "epoch": 0.32786885245901637,
35
+ "grad_norm": 3.6704306602478027,
36
  "learning_rate": 1.3026315789473684e-05,
37
+ "loss": 0.32047801971435547,
38
  "step": 100
39
  },
40
  {
41
  "epoch": 0.4098360655737705,
42
+ "grad_norm": 20.360071182250977,
43
  "learning_rate": 1.6315789473684213e-05,
44
+ "loss": 0.21136175155639647,
45
  "step": 125
46
  },
47
  {
48
  "epoch": 0.4918032786885246,
49
+ "grad_norm": 2.045907497406006,
50
  "learning_rate": 1.960526315789474e-05,
51
+ "loss": 0.21009126663208008,
52
  "step": 150
53
  },
54
  {
55
  "epoch": 0.5737704918032787,
56
+ "grad_norm": 7.755379676818848,
57
  "learning_rate": 1.9679533867443555e-05,
58
+ "loss": 0.19892181396484376,
59
  "step": 175
60
  },
61
  {
62
  "epoch": 0.6557377049180327,
63
+ "grad_norm": 0.6007249355316162,
64
  "learning_rate": 1.9315367807720323e-05,
65
+ "loss": 0.19585962295532228,
66
  "step": 200
67
  },
68
  {
69
  "epoch": 0.7377049180327869,
70
+ "grad_norm": 0.7606620192527771,
71
  "learning_rate": 1.8951201747997088e-05,
72
+ "loss": 0.282861213684082,
73
  "step": 225
74
  },
75
  {
76
  "epoch": 0.819672131147541,
77
+ "grad_norm": 5.813822269439697,
78
  "learning_rate": 1.8587035688273852e-05,
79
+ "loss": 0.16557788848876953,
80
  "step": 250
81
  },
82
  {
83
  "epoch": 0.9016393442622951,
84
+ "grad_norm": 3.329322099685669,
85
  "learning_rate": 1.822286962855062e-05,
86
+ "loss": 0.1400923728942871,
87
  "step": 275
88
  },
89
  {
90
  "epoch": 0.9836065573770492,
91
+ "grad_norm": 10.887845993041992,
92
  "learning_rate": 1.7858703568827385e-05,
93
+ "loss": 0.1979439926147461,
94
  "step": 300
95
  },
96
  {
97
  "epoch": 1.0,
98
+ "eval_accuracy": 0.9693251533742331,
99
+ "eval_f1": 0.7916666666666666,
100
+ "eval_loss": 0.1259259283542633,
101
+ "eval_precision": 0.8769230769230769,
102
+ "eval_recall": 0.7215189873417721,
103
+ "eval_roc_auc": 0.9533659058588304,
104
+ "eval_runtime": 3.8981,
105
+ "eval_samples_per_second": 250.889,
106
+ "eval_steps_per_second": 7.953,
107
  "step": 305
108
  },
109
  {
110
  "epoch": 1.0655737704918034,
111
+ "grad_norm": 4.172677516937256,
112
  "learning_rate": 1.7494537509104153e-05,
113
+ "loss": 0.13631089210510253,
114
  "step": 325
115
  },
116
  {
117
  "epoch": 1.1475409836065573,
118
+ "grad_norm": 0.07315228134393692,
119
  "learning_rate": 1.7130371449380918e-05,
120
+ "loss": 0.15998102188110352,
121
  "step": 350
122
  },
123
  {
124
  "epoch": 1.2295081967213115,
125
+ "grad_norm": 0.4799639582633972,
126
  "learning_rate": 1.6766205389657686e-05,
127
+ "loss": 0.10631587982177734,
128
  "step": 375
129
  },
130
  {
131
  "epoch": 1.3114754098360657,
132
+ "grad_norm": 1.1866878271102905,
133
  "learning_rate": 1.640203932993445e-05,
134
+ "loss": 0.11795808792114258,
135
  "step": 400
136
  },
137
  {
138
  "epoch": 1.3934426229508197,
139
+ "grad_norm": 0.6632266044616699,
140
  "learning_rate": 1.603787327021122e-05,
141
+ "loss": 0.15535160064697265,
142
  "step": 425
143
  },
144
  {
145
  "epoch": 1.4754098360655736,
146
+ "grad_norm": 7.679214000701904,
147
  "learning_rate": 1.5673707210487983e-05,
148
+ "loss": 0.13739371299743652,
149
  "step": 450
150
  },
151
  {
152
  "epoch": 1.5573770491803278,
153
+ "grad_norm": 0.5809745192527771,
154
  "learning_rate": 1.530954115076475e-05,
155
+ "loss": 0.15218215942382812,
156
  "step": 475
157
  },
158
  {
159
  "epoch": 1.639344262295082,
160
+ "grad_norm": 0.14357534050941467,
161
  "learning_rate": 1.4945375091041516e-05,
162
+ "loss": 0.11159341812133788,
163
  "step": 500
164
  },
165
  {
166
  "epoch": 1.721311475409836,
167
+ "grad_norm": 0.15218983590602875,
168
  "learning_rate": 1.4581209031318282e-05,
169
+ "loss": 0.22156574249267577,
170
  "step": 525
171
  },
172
  {
173
  "epoch": 1.8032786885245902,
174
+ "grad_norm": 9.121078491210938,
175
  "learning_rate": 1.4217042971595047e-05,
176
+ "loss": 0.15829898834228515,
177
  "step": 550
178
  },
179
  {
180
  "epoch": 1.8852459016393444,
181
+ "grad_norm": 11.138046264648438,
182
  "learning_rate": 1.3852876911871815e-05,
183
+ "loss": 0.10829511642456055,
184
  "step": 575
185
  },
186
  {
187
  "epoch": 1.9672131147540983,
188
+ "grad_norm": 5.579981803894043,
189
  "learning_rate": 1.3488710852148582e-05,
190
+ "loss": 0.12963885307312012,
191
  "step": 600
192
  },
193
  {
194
  "epoch": 2.0,
195
+ "eval_accuracy": 0.9631901840490797,
196
+ "eval_f1": 0.7906976744186046,
197
+ "eval_loss": 0.12336025387048721,
198
+ "eval_precision": 0.7311827956989247,
199
+ "eval_recall": 0.8607594936708861,
200
+ "eval_roc_auc": 0.968502273975303,
201
+ "eval_runtime": 3.941,
202
+ "eval_samples_per_second": 248.162,
203
+ "eval_steps_per_second": 7.866,
204
  "step": 610
205
  },
206
  {
207
  "epoch": 2.0491803278688523,
208
+ "grad_norm": 23.79497718811035,
209
  "learning_rate": 1.3124544792425346e-05,
210
+ "loss": 0.07728540420532226,
211
  "step": 625
212
  },
213
  {
214
  "epoch": 2.1311475409836067,
215
+ "grad_norm": 0.3032953143119812,
216
  "learning_rate": 1.2760378732702113e-05,
217
+ "loss": 0.15112388610839844,
218
  "step": 650
219
  },
220
  {
221
  "epoch": 2.2131147540983607,
222
+ "grad_norm": 0.15015727281570435,
223
  "learning_rate": 1.239621267297888e-05,
224
+ "loss": 0.11781220436096192,
225
  "step": 675
226
  },
227
  {
228
  "epoch": 2.2950819672131146,
229
+ "grad_norm": 35.07762145996094,
230
  "learning_rate": 1.2032046613255645e-05,
231
+ "loss": 0.06247422218322754,
232
  "step": 700
233
  },
234
  {
235
  "epoch": 2.3770491803278686,
236
+ "grad_norm": 0.06300532817840576,
237
  "learning_rate": 1.1667880553532412e-05,
238
+ "loss": 0.07382740020751953,
239
  "step": 725
240
  },
241
  {
242
  "epoch": 2.459016393442623,
243
+ "grad_norm": 0.0386500246822834,
244
  "learning_rate": 1.1303714493809176e-05,
245
+ "loss": 0.10034572601318359,
246
  "step": 750
247
  },
248
  {
249
  "epoch": 2.540983606557377,
250
+ "grad_norm": 38.45136642456055,
251
  "learning_rate": 1.0939548434085944e-05,
252
+ "loss": 0.0807158374786377,
253
  "step": 775
254
  },
255
  {
256
  "epoch": 2.6229508196721314,
257
+ "grad_norm": 73.75131225585938,
258
  "learning_rate": 1.057538237436271e-05,
259
+ "loss": 0.11720505714416504,
260
  "step": 800
261
  },
262
  {
263
  "epoch": 2.7049180327868854,
264
+ "grad_norm": 3.530329704284668,
265
  "learning_rate": 1.0211216314639475e-05,
266
+ "loss": 0.07547494888305664,
267
  "step": 825
268
  },
269
  {
270
  "epoch": 2.7868852459016393,
271
+ "grad_norm": 2.0287606716156006,
272
  "learning_rate": 9.847050254916243e-06,
273
+ "loss": 0.07913532733917236,
274
  "step": 850
275
  },
276
  {
277
  "epoch": 2.8688524590163933,
278
+ "grad_norm": 0.07940487563610077,
279
  "learning_rate": 9.482884195193008e-06,
280
+ "loss": 0.0882901382446289,
281
  "step": 875
282
  },
283
  {
284
  "epoch": 2.9508196721311473,
285
+ "grad_norm": 0.03960009664297104,
286
  "learning_rate": 9.118718135469774e-06,
287
+ "loss": 0.10696781158447266,
288
  "step": 900
289
  },
290
  {
291
  "epoch": 3.0,
292
+ "eval_accuracy": 0.967280163599182,
293
+ "eval_f1": 0.8048780487804879,
294
+ "eval_loss": 0.13383829593658447,
295
+ "eval_precision": 0.7764705882352941,
296
+ "eval_recall": 0.8354430379746836,
297
+ "eval_roc_auc": 0.9735078357105644,
298
+ "eval_runtime": 4.0602,
299
+ "eval_samples_per_second": 240.875,
300
+ "eval_steps_per_second": 7.635,
301
  "step": 915
302
  }
303
  ],
transformer/config.json CHANGED
@@ -31,16 +31,16 @@
31
  "pad_token_id": 1,
32
  "position_embedding_type": "absolute",
33
  "problem_type": "single_label_classification",
34
- "threshold": 0.6156440377235413,
35
  "tie_word_embeddings": true,
36
  "transformers_version": "5.9.0",
37
  "type_vocab_size": 1,
38
  "use_cache": false,
39
  "validation_threshold_report": {
40
- "f1": 0.8072289156626505,
41
- "precision": 0.7701149425287356,
42
- "recall": 0.8481012658227848,
43
- "threshold": 0.6156440377235413
44
  },
45
  "vocab_size": 250002
46
  }
 
31
  "pad_token_id": 1,
32
  "position_embedding_type": "absolute",
33
  "problem_type": "single_label_classification",
34
+ "threshold": 0.961713969707489,
35
  "tie_word_embeddings": true,
36
  "transformers_version": "5.9.0",
37
  "type_vocab_size": 1,
38
  "use_cache": false,
39
  "validation_threshold_report": {
40
+ "f1": 0.8322147651006712,
41
+ "precision": 0.8857142857142857,
42
+ "recall": 0.7848101265822784,
43
+ "threshold": 0.961713969707489
44
  },
45
  "vocab_size": 250002
46
  }
transformer/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8f09e4daa3612b0a08afd0486aa5ce25a384c7e9c3abe05df4b6d1f68e5033b8
3
  size 1112205008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18f129b4e4685fa8d1bb28430377232612ff45044f3801b6322b1ab5b76e8b6c
3
  size 1112205008
transformer/test_predictions.csv CHANGED
The diff for this file is too large to render. See raw diff
 
transformer/validation_predictions.csv CHANGED
The diff for this file is too large to render. See raw diff