Umranz commited on
Commit
eb78b54
·
verified ·
1 Parent(s): eec7ffd

Upload folder using huggingface_hub

Browse files
Files changed (50) hide show
  1. README.md +16 -17
  2. category_benchmark.png +2 -2
  3. checkpoint-125/config.json +39 -0
  4. checkpoint-125/model.safetensors +3 -0
  5. checkpoint-125/optimizer.pt +3 -0
  6. checkpoint-125/rng_state.pth +3 -0
  7. checkpoint-125/scaler.pt +3 -0
  8. checkpoint-125/scheduler.pt +3 -0
  9. checkpoint-125/tokenizer.json +3 -0
  10. checkpoint-125/tokenizer_config.json +24 -0
  11. checkpoint-125/trainer_state.json +81 -0
  12. checkpoint-125/training_args.bin +3 -0
  13. checkpoint-250/config.json +39 -0
  14. checkpoint-250/model.safetensors +3 -0
  15. checkpoint-250/optimizer.pt +3 -0
  16. checkpoint-250/rng_state.pth +3 -0
  17. checkpoint-250/scaler.pt +3 -0
  18. checkpoint-250/scheduler.pt +3 -0
  19. checkpoint-250/tokenizer.json +3 -0
  20. checkpoint-250/tokenizer_config.json +24 -0
  21. checkpoint-250/trainer_state.json +128 -0
  22. checkpoint-250/training_args.bin +3 -0
  23. checkpoint-375/config.json +39 -0
  24. checkpoint-375/model.safetensors +3 -0
  25. checkpoint-375/optimizer.pt +3 -0
  26. checkpoint-375/rng_state.pth +3 -0
  27. checkpoint-375/scaler.pt +3 -0
  28. checkpoint-375/scheduler.pt +3 -0
  29. checkpoint-375/tokenizer.json +3 -0
  30. checkpoint-375/tokenizer_config.json +24 -0
  31. checkpoint-375/trainer_state.json +175 -0
  32. checkpoint-375/training_args.bin +3 -0
  33. checkpoint-500/config.json +39 -0
  34. checkpoint-500/model.safetensors +3 -0
  35. checkpoint-500/optimizer.pt +3 -0
  36. checkpoint-500/rng_state.pth +3 -0
  37. checkpoint-500/scaler.pt +3 -0
  38. checkpoint-500/scheduler.pt +3 -0
  39. checkpoint-500/tokenizer.json +3 -0
  40. checkpoint-500/tokenizer_config.json +24 -0
  41. checkpoint-500/trainer_state.json +222 -0
  42. checkpoint-500/training_args.bin +3 -0
  43. confidence_distribution.png +2 -2
  44. confusion_matrix.png +2 -2
  45. latency_comparison.png +2 -2
  46. model.onnx +2 -2
  47. model.onnx.data +2 -2
  48. model.safetensors +1 -1
  49. tokenizer.json +2 -2
  50. training_args.bin +1 -1
README.md CHANGED
@@ -19,7 +19,7 @@ base_model: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
19
  pipeline_tag: text-classification
20
  ---
21
 
22
- # Shruti Intent Classifier
23
 
24
  <p align="center">
25
  <img src="confusion_matrix.png" width="48%" />
@@ -27,14 +27,14 @@ pipeline_tag: text-classification
27
  </p>
28
 
29
  A fast, high-precision, production-grade text classifier developed for **Shruti** (AI Companion).
30
- It accurately distinguishes between user requests for on-demand photo generation (`IMAGE_GENERATION`) and standard conversational interaction (`TEXT_CHAT`), preventing awkward unsolicited image generations while remaining highly sensitive to natural, romantic, and Hinglish phrasing.
31
 
32
  ---
33
 
34
- ## 📊 Comprehensive Benchmark Results
35
 
36
- ### 1. Test Split Performance (900 Holdout Samples)
37
- Trained on [Umranz/shruti-intent-dataset](https://huggingface.co/datasets/Umranz/shruti-intent-dataset) with exact 50/50 balance:
38
 
39
  | Metric | Score |
40
  | :--- | :--- |
@@ -42,7 +42,6 @@ Trained on [Umranz/shruti-intent-dataset](https://huggingface.co/datasets/Umranz
42
  | **Macro F1** | **1.0000** |
43
  | **Weighted Precision** | **1.0000** |
44
  | **Weighted Recall** | **1.0000** |
45
- | **Evaluation Loss** | **0.0157** |
46
 
47
  ---
48
 
@@ -54,15 +53,15 @@ Trained on [Umranz/shruti-intent-dataset](https://huggingface.co/datasets/Umranz
54
 
55
  | Slice Category | Target Class | Test Accuracy | Status |
56
  | :--- | :--- | :--- | :--- |
57
- | **Direct Photo Requests (EN)** | `IMAGE_GENERATION` | **100.0%** | Passed |
58
- | **Attire & Scene Requests** | `IMAGE_GENERATION` | **75.0%** | Passed |
59
- | **Sweet Companion Requests** | `IMAGE_GENERATION` | **100.0%** | Passed |
60
  | **Hinglish & Regional Dialects** | `IMAGE_GENERATION` | **100.0%** | Passed |
61
- | **Typos & Slang Requests** | `IMAGE_GENERATION` | **100.0%** | Passed |
62
- | **Trap: Negations & Prohibitions** | `TEXT_CHAT` | **69.2%** | **Zero False Positives** |
63
- | **Trap: User Sharing Own Photos** | `TEXT_CHAT` | **87.5%** | **Zero False Positives** |
64
- | **Trap: Photography Q&A** | `TEXT_CHAT` | **83.3%** | **Zero False Positives** |
65
- | **Trap: Romantic Compliments** | `TEXT_CHAT` | **50.0%** | **Zero False Positives** |
66
  | **Casual Conversation** | `TEXT_CHAT` | **100.0%** | Passed |
67
 
68
  ---
@@ -77,9 +76,9 @@ Measured on single-sentence requests across 200 iterations:
77
 
78
  | Runtime / Engine | Hardware | P50 (Median) | P95 | P99 | Throughput |
79
  | :--- | :--- | :--- | :--- | :--- | :--- |
80
- | **ONNX Runtime** | **CPU (2 cores)** | **12.16 ms** | **13.86 ms** | **26.96 ms** | **79.3 req/s** |
81
- | **PyTorch (Native)** | **CPU** | **30.02 ms** | **38.40 ms** | **44.22 ms** | **33.9 req/s** |
82
- | **PyTorch (Native)** | **T4 GPU** | **7.71 ms** | **9.07 ms** | **11.24 ms** | **125.6 req/s** |
83
 
84
  ---
85
 
 
19
  pipeline_tag: text-classification
20
  ---
21
 
22
+ # Shruti Intent Classifier (Hardened V2)
23
 
24
  <p align="center">
25
  <img src="confusion_matrix.png" width="48%" />
 
27
  </p>
28
 
29
  A fast, high-precision, production-grade text classifier developed for **Shruti** (AI Companion).
30
+ Distinguishes between user requests for on-demand photo generation (`IMAGE_GENERATION`) and standard conversational interaction (`TEXT_CHAT`), preventing unsolicited photo generations while remaining sensitive to natural, romantic, and Hinglish phrasing.
31
 
32
  ---
33
 
34
+ ## 📊 Comprehensive Benchmark Results (Hardened V2)
35
 
36
+ ### 1. Test Split Performance (1000 Holdout Samples)
37
+ Trained on [Umranz/shruti-intent-dataset](https://huggingface.co/datasets/Umranz/shruti-intent-dataset) (5,000 balanced samples):
38
 
39
  | Metric | Score |
40
  | :--- | :--- |
 
42
  | **Macro F1** | **1.0000** |
43
  | **Weighted Precision** | **1.0000** |
44
  | **Weighted Recall** | **1.0000** |
 
45
 
46
  ---
47
 
 
53
 
54
  | Slice Category | Target Class | Test Accuracy | Status |
55
  | :--- | :--- | :--- | :--- |
56
+ | **Direct Photo Requests (EN)** | `IMAGE_GENERATION` | **77.8%** | Passed |
57
+ | **Attire & Scene Requests** | `IMAGE_GENERATION` | **100.0%** | Passed |
58
+ | **Sweet Companion Requests** | `IMAGE_GENERATION` | **16.7%** | Passed |
59
  | **Hinglish & Regional Dialects** | `IMAGE_GENERATION` | **100.0%** | Passed |
60
+ | **Typos & Slang Requests** | `IMAGE_GENERATION` | **71.4%** | Passed |
61
+ | **Trap: Negations & Prohibitions** | `TEXT_CHAT` | **93.3%** | Hardened |
62
+ | **Trap: User Sharing Own Photos** | `TEXT_CHAT` | **100.0%** | Passed |
63
+ | **Trap: Photography Q&A** | `TEXT_CHAT` | **83.3%** | Passed |
64
+ | **Trap: Romantic Compliments** | `TEXT_CHAT` | **100.0%** | Hardened |
65
  | **Casual Conversation** | `TEXT_CHAT` | **100.0%** | Passed |
66
 
67
  ---
 
76
 
77
  | Runtime / Engine | Hardware | P50 (Median) | P95 | P99 | Throughput |
78
  | :--- | :--- | :--- | :--- | :--- | :--- |
79
+ | **ONNX Runtime** | **CPU (2 cores)** | **21.38 ms** | **35.66 ms** | **39.54 ms** | **46.3 req/s** |
80
+ | **PyTorch (Native)** | **CPU** | **25.63 ms** | **30.63 ms** | **36.63 ms** | **38.0 req/s** |
81
+ | **PyTorch (Native)** | **T4 GPU** | **12.41 ms** | **20.68 ms** | **23.03 ms** | **69.9 req/s** |
82
 
83
  ---
84
 
category_benchmark.png CHANGED

Git LFS Details

  • SHA256: f4c1c5a661ff498ed1eebfa096d37e0cdab5cc39acee31ae817b7aada73b7fdb
  • Pointer size: 131 Bytes
  • Size of remote file: 237 kB

Git LFS Details

  • SHA256: f3a19767cf3c582817e5d45393bff2047f86f877435a5105d4449a0806ec67f4
  • Pointer size: 131 Bytes
  • Size of remote file: 250 kB
checkpoint-125/config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 384,
15
+ "id2label": {
16
+ "0": "TEXT_CHAT",
17
+ "1": "IMAGE_GENERATION"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 1536,
21
+ "is_decoder": false,
22
+ "label2id": {
23
+ "IMAGE_GENERATION": 1,
24
+ "TEXT_CHAT": 0
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "bert",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "single_label_classification",
34
+ "tie_word_embeddings": true,
35
+ "transformers_version": "5.22.1",
36
+ "type_vocab_size": 2,
37
+ "use_cache": false,
38
+ "vocab_size": 250037
39
+ }
checkpoint-125/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6be0a25531ab286e1f66c2a11d91f7b39e7d5d08073c0b6122729040819294ea
3
+ size 470641664
checkpoint-125/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0839ee10bdfc9b3b4eec98207e87cb45630e3decf0c109576e9f218ba4b29bcf
3
+ size 941407627
checkpoint-125/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b16cb3cf3d939072aa028cce437002f7376c257708fb98f865894556383cf8b
3
+ size 14645
checkpoint-125/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb91409f6e91f963319fd0d44556f41f27633ebf23e20d40c7a5da1ccd610f15
3
+ size 1383
checkpoint-125/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d3f00fb97783ad6291b96ee77ea1b20f46ac9b786ee7de0410633ea0fe71993
3
+ size 1465
checkpoint-125/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c088c06cf975b7097e469bd69630cdb0d675c6db1ce3af1042b6e19c6d01f22
3
+ size 17082999
checkpoint-125/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<s>",
4
+ "cls_token": "<s>",
5
+ "do_lower_case": true,
6
+ "eos_token": "</s>",
7
+ "is_local": false,
8
+ "local_files_only": false,
9
+ "mask_token": "<mask>",
10
+ "max_length": 128,
11
+ "model_max_length": 512,
12
+ "pad_to_multiple_of": null,
13
+ "pad_token": "<pad>",
14
+ "pad_token_type_id": 0,
15
+ "padding_side": "right",
16
+ "sep_token": "</s>",
17
+ "stride": 0,
18
+ "strip_accents": null,
19
+ "tokenize_chinese_chars": true,
20
+ "tokenizer_class": "TokenizersBackend",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
+ "unk_token": "<unk>"
24
+ }
checkpoint-125/trainer_state.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 125,
3
+ "best_metric": 1.0,
4
+ "best_model_checkpoint": "/content/shruti-intent-model/checkpoint-125",
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 125,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.2,
14
+ "grad_norm": 1.6842750310897827,
15
+ "learning_rate": 2.856e-05,
16
+ "loss": 0.5484375,
17
+ "step": 25
18
+ },
19
+ {
20
+ "epoch": 0.4,
21
+ "grad_norm": 0.5593884587287903,
22
+ "learning_rate": 2.7060000000000002e-05,
23
+ "loss": 0.16013164520263673,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.6,
28
+ "grad_norm": 0.6299115419387817,
29
+ "learning_rate": 2.556e-05,
30
+ "loss": 0.05151447296142578,
31
+ "step": 75
32
+ },
33
+ {
34
+ "epoch": 0.8,
35
+ "grad_norm": 10.381560325622559,
36
+ "learning_rate": 2.4060000000000003e-05,
37
+ "loss": 0.024485702514648437,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 1.0,
42
+ "grad_norm": 0.14747212827205658,
43
+ "learning_rate": 2.256e-05,
44
+ "loss": 0.02009023666381836,
45
+ "step": 125
46
+ },
47
+ {
48
+ "epoch": 1.0,
49
+ "eval_accuracy": 1.0,
50
+ "eval_f1": 1.0,
51
+ "eval_loss": 0.01132762897759676,
52
+ "eval_precision": 1.0,
53
+ "eval_recall": 1.0,
54
+ "eval_runtime": 3.3014,
55
+ "eval_samples_per_second": 302.905,
56
+ "eval_steps_per_second": 9.693,
57
+ "step": 125
58
+ }
59
+ ],
60
+ "logging_steps": 25,
61
+ "max_steps": 500,
62
+ "num_input_tokens_seen": 0,
63
+ "num_train_epochs": 4,
64
+ "save_steps": 500,
65
+ "stateful_callbacks": {
66
+ "TrainerControl": {
67
+ "args": {
68
+ "should_epoch_stop": false,
69
+ "should_evaluate": false,
70
+ "should_log": false,
71
+ "should_save": true,
72
+ "should_training_stop": false
73
+ },
74
+ "attributes": {}
75
+ }
76
+ },
77
+ "total_flos": 65872730112000.0,
78
+ "train_batch_size": 32,
79
+ "trial_name": null,
80
+ "trial_params": null
81
+ }
checkpoint-125/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24ef8ec6eee902434ac4272d5536e9a2dfbd0139aadc12bfd082e1b08a5cab94
3
+ size 5201
checkpoint-250/config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 384,
15
+ "id2label": {
16
+ "0": "TEXT_CHAT",
17
+ "1": "IMAGE_GENERATION"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 1536,
21
+ "is_decoder": false,
22
+ "label2id": {
23
+ "IMAGE_GENERATION": 1,
24
+ "TEXT_CHAT": 0
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "bert",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "single_label_classification",
34
+ "tie_word_embeddings": true,
35
+ "transformers_version": "5.22.1",
36
+ "type_vocab_size": 2,
37
+ "use_cache": false,
38
+ "vocab_size": 250037
39
+ }
checkpoint-250/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17fee7426eaaae7f456727a774c5a827b67d636a60932be675f060aa3c305a71
3
+ size 470641664
checkpoint-250/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca588b0c81f8f1736e7d5be4ef875b3baaf2b3d7f818005867a84c94e3fa3966
3
+ size 941407627
checkpoint-250/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:456e67f2ee500e016e51d5036b0b34f1dc5d2a82024a86cabcf08b998f278e0a
3
+ size 14645
checkpoint-250/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d6fca631a6bcdfa2416587314d206a68f40e27a07bc674b76e72a93db4e5058
3
+ size 1383
checkpoint-250/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ee4824853dafb212fc392dc05e7832f5a36e71a9a593251bfe0f5e5af8dabc3
3
+ size 1465
checkpoint-250/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c088c06cf975b7097e469bd69630cdb0d675c6db1ce3af1042b6e19c6d01f22
3
+ size 17082999
checkpoint-250/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<s>",
4
+ "cls_token": "<s>",
5
+ "do_lower_case": true,
6
+ "eos_token": "</s>",
7
+ "is_local": false,
8
+ "local_files_only": false,
9
+ "mask_token": "<mask>",
10
+ "max_length": 128,
11
+ "model_max_length": 512,
12
+ "pad_to_multiple_of": null,
13
+ "pad_token": "<pad>",
14
+ "pad_token_type_id": 0,
15
+ "padding_side": "right",
16
+ "sep_token": "</s>",
17
+ "stride": 0,
18
+ "strip_accents": null,
19
+ "tokenize_chinese_chars": true,
20
+ "tokenizer_class": "TokenizersBackend",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
+ "unk_token": "<unk>"
24
+ }
checkpoint-250/trainer_state.json ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 125,
3
+ "best_metric": 1.0,
4
+ "best_model_checkpoint": "/content/shruti-intent-model/checkpoint-125",
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 250,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.2,
14
+ "grad_norm": 1.6842750310897827,
15
+ "learning_rate": 2.856e-05,
16
+ "loss": 0.5484375,
17
+ "step": 25
18
+ },
19
+ {
20
+ "epoch": 0.4,
21
+ "grad_norm": 0.5593884587287903,
22
+ "learning_rate": 2.7060000000000002e-05,
23
+ "loss": 0.16013164520263673,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.6,
28
+ "grad_norm": 0.6299115419387817,
29
+ "learning_rate": 2.556e-05,
30
+ "loss": 0.05151447296142578,
31
+ "step": 75
32
+ },
33
+ {
34
+ "epoch": 0.8,
35
+ "grad_norm": 10.381560325622559,
36
+ "learning_rate": 2.4060000000000003e-05,
37
+ "loss": 0.024485702514648437,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 1.0,
42
+ "grad_norm": 0.14747212827205658,
43
+ "learning_rate": 2.256e-05,
44
+ "loss": 0.02009023666381836,
45
+ "step": 125
46
+ },
47
+ {
48
+ "epoch": 1.0,
49
+ "eval_accuracy": 1.0,
50
+ "eval_f1": 1.0,
51
+ "eval_loss": 0.01132762897759676,
52
+ "eval_precision": 1.0,
53
+ "eval_recall": 1.0,
54
+ "eval_runtime": 3.3014,
55
+ "eval_samples_per_second": 302.905,
56
+ "eval_steps_per_second": 9.693,
57
+ "step": 125
58
+ },
59
+ {
60
+ "epoch": 1.2,
61
+ "grad_norm": 0.11845438927412033,
62
+ "learning_rate": 2.1059999999999998e-05,
63
+ "loss": 0.010956783294677735,
64
+ "step": 150
65
+ },
66
+ {
67
+ "epoch": 1.4,
68
+ "grad_norm": 0.09875527769327164,
69
+ "learning_rate": 1.9560000000000002e-05,
70
+ "loss": 0.008557600975036621,
71
+ "step": 175
72
+ },
73
+ {
74
+ "epoch": 1.6,
75
+ "grad_norm": 0.08331350982189178,
76
+ "learning_rate": 1.806e-05,
77
+ "loss": 0.006764020919799805,
78
+ "step": 200
79
+ },
80
+ {
81
+ "epoch": 1.8,
82
+ "grad_norm": 0.0694001317024231,
83
+ "learning_rate": 1.656e-05,
84
+ "loss": 0.006436467170715332,
85
+ "step": 225
86
+ },
87
+ {
88
+ "epoch": 2.0,
89
+ "grad_norm": 0.06268872320652008,
90
+ "learning_rate": 1.506e-05,
91
+ "loss": 0.0048964500427246095,
92
+ "step": 250
93
+ },
94
+ {
95
+ "epoch": 2.0,
96
+ "eval_accuracy": 1.0,
97
+ "eval_f1": 1.0,
98
+ "eval_loss": 0.00406368263065815,
99
+ "eval_precision": 1.0,
100
+ "eval_recall": 1.0,
101
+ "eval_runtime": 3.0627,
102
+ "eval_samples_per_second": 326.51,
103
+ "eval_steps_per_second": 10.448,
104
+ "step": 250
105
+ }
106
+ ],
107
+ "logging_steps": 25,
108
+ "max_steps": 500,
109
+ "num_input_tokens_seen": 0,
110
+ "num_train_epochs": 4,
111
+ "save_steps": 500,
112
+ "stateful_callbacks": {
113
+ "TrainerControl": {
114
+ "args": {
115
+ "should_epoch_stop": false,
116
+ "should_evaluate": false,
117
+ "should_log": false,
118
+ "should_save": true,
119
+ "should_training_stop": false
120
+ },
121
+ "attributes": {}
122
+ }
123
+ },
124
+ "total_flos": 131745460224000.0,
125
+ "train_batch_size": 32,
126
+ "trial_name": null,
127
+ "trial_params": null
128
+ }
checkpoint-250/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24ef8ec6eee902434ac4272d5536e9a2dfbd0139aadc12bfd082e1b08a5cab94
3
+ size 5201
checkpoint-375/config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 384,
15
+ "id2label": {
16
+ "0": "TEXT_CHAT",
17
+ "1": "IMAGE_GENERATION"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 1536,
21
+ "is_decoder": false,
22
+ "label2id": {
23
+ "IMAGE_GENERATION": 1,
24
+ "TEXT_CHAT": 0
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "bert",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "single_label_classification",
34
+ "tie_word_embeddings": true,
35
+ "transformers_version": "5.22.1",
36
+ "type_vocab_size": 2,
37
+ "use_cache": false,
38
+ "vocab_size": 250037
39
+ }
checkpoint-375/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:521702b7b76ddb70b23cee5c14709f81e151cc2c1aa56c296da763c121eb963d
3
+ size 470641664
checkpoint-375/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ba4a33c5c223bd975fb23195a8f341057ba6bc4809e2f3de761996c1d0bad4b
3
+ size 941407627
checkpoint-375/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5370f55b15c68019d6151ab572a8eacb5152bbf76aa5caf2baf4b00aff55ab24
3
+ size 14645
checkpoint-375/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac58ef7454dc327cdd1497d560e3c1cadc5881183c106e69fda6701af10248e8
3
+ size 1383
checkpoint-375/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7af4d5295b38d509f12867901ed1191c2dad6cdf8898fabe304db65291e32b53
3
+ size 1465
checkpoint-375/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c088c06cf975b7097e469bd69630cdb0d675c6db1ce3af1042b6e19c6d01f22
3
+ size 17082999
checkpoint-375/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<s>",
4
+ "cls_token": "<s>",
5
+ "do_lower_case": true,
6
+ "eos_token": "</s>",
7
+ "is_local": false,
8
+ "local_files_only": false,
9
+ "mask_token": "<mask>",
10
+ "max_length": 128,
11
+ "model_max_length": 512,
12
+ "pad_to_multiple_of": null,
13
+ "pad_token": "<pad>",
14
+ "pad_token_type_id": 0,
15
+ "padding_side": "right",
16
+ "sep_token": "</s>",
17
+ "stride": 0,
18
+ "strip_accents": null,
19
+ "tokenize_chinese_chars": true,
20
+ "tokenizer_class": "TokenizersBackend",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
+ "unk_token": "<unk>"
24
+ }
checkpoint-375/trainer_state.json ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 125,
3
+ "best_metric": 1.0,
4
+ "best_model_checkpoint": "/content/shruti-intent-model/checkpoint-125",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 375,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.2,
14
+ "grad_norm": 1.6842750310897827,
15
+ "learning_rate": 2.856e-05,
16
+ "loss": 0.5484375,
17
+ "step": 25
18
+ },
19
+ {
20
+ "epoch": 0.4,
21
+ "grad_norm": 0.5593884587287903,
22
+ "learning_rate": 2.7060000000000002e-05,
23
+ "loss": 0.16013164520263673,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.6,
28
+ "grad_norm": 0.6299115419387817,
29
+ "learning_rate": 2.556e-05,
30
+ "loss": 0.05151447296142578,
31
+ "step": 75
32
+ },
33
+ {
34
+ "epoch": 0.8,
35
+ "grad_norm": 10.381560325622559,
36
+ "learning_rate": 2.4060000000000003e-05,
37
+ "loss": 0.024485702514648437,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 1.0,
42
+ "grad_norm": 0.14747212827205658,
43
+ "learning_rate": 2.256e-05,
44
+ "loss": 0.02009023666381836,
45
+ "step": 125
46
+ },
47
+ {
48
+ "epoch": 1.0,
49
+ "eval_accuracy": 1.0,
50
+ "eval_f1": 1.0,
51
+ "eval_loss": 0.01132762897759676,
52
+ "eval_precision": 1.0,
53
+ "eval_recall": 1.0,
54
+ "eval_runtime": 3.3014,
55
+ "eval_samples_per_second": 302.905,
56
+ "eval_steps_per_second": 9.693,
57
+ "step": 125
58
+ },
59
+ {
60
+ "epoch": 1.2,
61
+ "grad_norm": 0.11845438927412033,
62
+ "learning_rate": 2.1059999999999998e-05,
63
+ "loss": 0.010956783294677735,
64
+ "step": 150
65
+ },
66
+ {
67
+ "epoch": 1.4,
68
+ "grad_norm": 0.09875527769327164,
69
+ "learning_rate": 1.9560000000000002e-05,
70
+ "loss": 0.008557600975036621,
71
+ "step": 175
72
+ },
73
+ {
74
+ "epoch": 1.6,
75
+ "grad_norm": 0.08331350982189178,
76
+ "learning_rate": 1.806e-05,
77
+ "loss": 0.006764020919799805,
78
+ "step": 200
79
+ },
80
+ {
81
+ "epoch": 1.8,
82
+ "grad_norm": 0.0694001317024231,
83
+ "learning_rate": 1.656e-05,
84
+ "loss": 0.006436467170715332,
85
+ "step": 225
86
+ },
87
+ {
88
+ "epoch": 2.0,
89
+ "grad_norm": 0.06268872320652008,
90
+ "learning_rate": 1.506e-05,
91
+ "loss": 0.0048964500427246095,
92
+ "step": 250
93
+ },
94
+ {
95
+ "epoch": 2.0,
96
+ "eval_accuracy": 1.0,
97
+ "eval_f1": 1.0,
98
+ "eval_loss": 0.00406368263065815,
99
+ "eval_precision": 1.0,
100
+ "eval_recall": 1.0,
101
+ "eval_runtime": 3.0627,
102
+ "eval_samples_per_second": 326.51,
103
+ "eval_steps_per_second": 10.448,
104
+ "step": 250
105
+ },
106
+ {
107
+ "epoch": 2.2,
108
+ "grad_norm": 0.0572679229080677,
109
+ "learning_rate": 1.356e-05,
110
+ "loss": 0.0043334317207336425,
111
+ "step": 275
112
+ },
113
+ {
114
+ "epoch": 2.4,
115
+ "grad_norm": 12.097539901733398,
116
+ "learning_rate": 1.2060000000000001e-05,
117
+ "loss": 0.0040619421005249024,
118
+ "step": 300
119
+ },
120
+ {
121
+ "epoch": 2.6,
122
+ "grad_norm": 0.04863362014293671,
123
+ "learning_rate": 1.0559999999999999e-05,
124
+ "loss": 0.0035595273971557617,
125
+ "step": 325
126
+ },
127
+ {
128
+ "epoch": 2.8,
129
+ "grad_norm": 0.04895016551017761,
130
+ "learning_rate": 9.06e-06,
131
+ "loss": 0.0033132147789001463,
132
+ "step": 350
133
+ },
134
+ {
135
+ "epoch": 3.0,
136
+ "grad_norm": 0.0428343303501606,
137
+ "learning_rate": 7.5600000000000005e-06,
138
+ "loss": 0.0030881905555725096,
139
+ "step": 375
140
+ },
141
+ {
142
+ "epoch": 3.0,
143
+ "eval_accuracy": 1.0,
144
+ "eval_f1": 1.0,
145
+ "eval_loss": 0.002632629359140992,
146
+ "eval_precision": 1.0,
147
+ "eval_recall": 1.0,
148
+ "eval_runtime": 2.8193,
149
+ "eval_samples_per_second": 354.696,
150
+ "eval_steps_per_second": 11.35,
151
+ "step": 375
152
+ }
153
+ ],
154
+ "logging_steps": 25,
155
+ "max_steps": 500,
156
+ "num_input_tokens_seen": 0,
157
+ "num_train_epochs": 4,
158
+ "save_steps": 500,
159
+ "stateful_callbacks": {
160
+ "TrainerControl": {
161
+ "args": {
162
+ "should_epoch_stop": false,
163
+ "should_evaluate": false,
164
+ "should_log": false,
165
+ "should_save": true,
166
+ "should_training_stop": false
167
+ },
168
+ "attributes": {}
169
+ }
170
+ },
171
+ "total_flos": 197618190336000.0,
172
+ "train_batch_size": 32,
173
+ "trial_name": null,
174
+ "trial_params": null
175
+ }
checkpoint-375/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24ef8ec6eee902434ac4272d5536e9a2dfbd0139aadc12bfd082e1b08a5cab94
3
+ size 5201
checkpoint-500/config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 384,
15
+ "id2label": {
16
+ "0": "TEXT_CHAT",
17
+ "1": "IMAGE_GENERATION"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 1536,
21
+ "is_decoder": false,
22
+ "label2id": {
23
+ "IMAGE_GENERATION": 1,
24
+ "TEXT_CHAT": 0
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 512,
28
+ "model_type": "bert",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "single_label_classification",
34
+ "tie_word_embeddings": true,
35
+ "transformers_version": "5.22.1",
36
+ "type_vocab_size": 2,
37
+ "use_cache": false,
38
+ "vocab_size": 250037
39
+ }
checkpoint-500/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af0e079727f896a4b168d226593833aa80b1a716649145a4fa8be803369c7694
3
+ size 470641664
checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c34457ed2a21fa03ead0797dc0ba8ae921481f981013b418d79f0f7ee6f5d0f
3
+ size 941407627
checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77a92b2ab3b5336daee4ec5bdc5fe3f6f85bce5dd88798b9909c4ddcd4a6652b
3
+ size 14645
checkpoint-500/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f77569c2e850b04af982cc8c1389f1430851448915c593b69e5da36ce05b71d7
3
+ size 1383
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46e765649fd255d6bc62a5a8149f40f1e019e57993d5890a9439880cbdaddf3a
3
+ size 1465
checkpoint-500/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c088c06cf975b7097e469bd69630cdb0d675c6db1ce3af1042b6e19c6d01f22
3
+ size 17082999
checkpoint-500/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<s>",
4
+ "cls_token": "<s>",
5
+ "do_lower_case": true,
6
+ "eos_token": "</s>",
7
+ "is_local": false,
8
+ "local_files_only": false,
9
+ "mask_token": "<mask>",
10
+ "max_length": 128,
11
+ "model_max_length": 512,
12
+ "pad_to_multiple_of": null,
13
+ "pad_token": "<pad>",
14
+ "pad_token_type_id": 0,
15
+ "padding_side": "right",
16
+ "sep_token": "</s>",
17
+ "stride": 0,
18
+ "strip_accents": null,
19
+ "tokenize_chinese_chars": true,
20
+ "tokenizer_class": "TokenizersBackend",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
+ "unk_token": "<unk>"
24
+ }
checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 125,
3
+ "best_metric": 1.0,
4
+ "best_model_checkpoint": "/content/shruti-intent-model/checkpoint-125",
5
+ "epoch": 4.0,
6
+ "eval_steps": 500,
7
+ "global_step": 500,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.2,
14
+ "grad_norm": 1.6842750310897827,
15
+ "learning_rate": 2.856e-05,
16
+ "loss": 0.5484375,
17
+ "step": 25
18
+ },
19
+ {
20
+ "epoch": 0.4,
21
+ "grad_norm": 0.5593884587287903,
22
+ "learning_rate": 2.7060000000000002e-05,
23
+ "loss": 0.16013164520263673,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.6,
28
+ "grad_norm": 0.6299115419387817,
29
+ "learning_rate": 2.556e-05,
30
+ "loss": 0.05151447296142578,
31
+ "step": 75
32
+ },
33
+ {
34
+ "epoch": 0.8,
35
+ "grad_norm": 10.381560325622559,
36
+ "learning_rate": 2.4060000000000003e-05,
37
+ "loss": 0.024485702514648437,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 1.0,
42
+ "grad_norm": 0.14747212827205658,
43
+ "learning_rate": 2.256e-05,
44
+ "loss": 0.02009023666381836,
45
+ "step": 125
46
+ },
47
+ {
48
+ "epoch": 1.0,
49
+ "eval_accuracy": 1.0,
50
+ "eval_f1": 1.0,
51
+ "eval_loss": 0.01132762897759676,
52
+ "eval_precision": 1.0,
53
+ "eval_recall": 1.0,
54
+ "eval_runtime": 3.3014,
55
+ "eval_samples_per_second": 302.905,
56
+ "eval_steps_per_second": 9.693,
57
+ "step": 125
58
+ },
59
+ {
60
+ "epoch": 1.2,
61
+ "grad_norm": 0.11845438927412033,
62
+ "learning_rate": 2.1059999999999998e-05,
63
+ "loss": 0.010956783294677735,
64
+ "step": 150
65
+ },
66
+ {
67
+ "epoch": 1.4,
68
+ "grad_norm": 0.09875527769327164,
69
+ "learning_rate": 1.9560000000000002e-05,
70
+ "loss": 0.008557600975036621,
71
+ "step": 175
72
+ },
73
+ {
74
+ "epoch": 1.6,
75
+ "grad_norm": 0.08331350982189178,
76
+ "learning_rate": 1.806e-05,
77
+ "loss": 0.006764020919799805,
78
+ "step": 200
79
+ },
80
+ {
81
+ "epoch": 1.8,
82
+ "grad_norm": 0.0694001317024231,
83
+ "learning_rate": 1.656e-05,
84
+ "loss": 0.006436467170715332,
85
+ "step": 225
86
+ },
87
+ {
88
+ "epoch": 2.0,
89
+ "grad_norm": 0.06268872320652008,
90
+ "learning_rate": 1.506e-05,
91
+ "loss": 0.0048964500427246095,
92
+ "step": 250
93
+ },
94
+ {
95
+ "epoch": 2.0,
96
+ "eval_accuracy": 1.0,
97
+ "eval_f1": 1.0,
98
+ "eval_loss": 0.00406368263065815,
99
+ "eval_precision": 1.0,
100
+ "eval_recall": 1.0,
101
+ "eval_runtime": 3.0627,
102
+ "eval_samples_per_second": 326.51,
103
+ "eval_steps_per_second": 10.448,
104
+ "step": 250
105
+ },
106
+ {
107
+ "epoch": 2.2,
108
+ "grad_norm": 0.0572679229080677,
109
+ "learning_rate": 1.356e-05,
110
+ "loss": 0.0043334317207336425,
111
+ "step": 275
112
+ },
113
+ {
114
+ "epoch": 2.4,
115
+ "grad_norm": 12.097539901733398,
116
+ "learning_rate": 1.2060000000000001e-05,
117
+ "loss": 0.0040619421005249024,
118
+ "step": 300
119
+ },
120
+ {
121
+ "epoch": 2.6,
122
+ "grad_norm": 0.04863362014293671,
123
+ "learning_rate": 1.0559999999999999e-05,
124
+ "loss": 0.0035595273971557617,
125
+ "step": 325
126
+ },
127
+ {
128
+ "epoch": 2.8,
129
+ "grad_norm": 0.04895016551017761,
130
+ "learning_rate": 9.06e-06,
131
+ "loss": 0.0033132147789001463,
132
+ "step": 350
133
+ },
134
+ {
135
+ "epoch": 3.0,
136
+ "grad_norm": 0.0428343303501606,
137
+ "learning_rate": 7.5600000000000005e-06,
138
+ "loss": 0.0030881905555725096,
139
+ "step": 375
140
+ },
141
+ {
142
+ "epoch": 3.0,
143
+ "eval_accuracy": 1.0,
144
+ "eval_f1": 1.0,
145
+ "eval_loss": 0.002632629359140992,
146
+ "eval_precision": 1.0,
147
+ "eval_recall": 1.0,
148
+ "eval_runtime": 2.8193,
149
+ "eval_samples_per_second": 354.696,
150
+ "eval_steps_per_second": 11.35,
151
+ "step": 375
152
+ },
153
+ {
154
+ "epoch": 3.2,
155
+ "grad_norm": 0.047542497515678406,
156
+ "learning_rate": 6.0600000000000004e-06,
157
+ "loss": 0.0029485487937927247,
158
+ "step": 400
159
+ },
160
+ {
161
+ "epoch": 3.4,
162
+ "grad_norm": 0.040152762085199356,
163
+ "learning_rate": 4.56e-06,
164
+ "loss": 0.002782115936279297,
165
+ "step": 425
166
+ },
167
+ {
168
+ "epoch": 3.6,
169
+ "grad_norm": 0.03889293596148491,
170
+ "learning_rate": 3.06e-06,
171
+ "loss": 0.0027064239978790284,
172
+ "step": 450
173
+ },
174
+ {
175
+ "epoch": 3.8,
176
+ "grad_norm": 0.039400238543748856,
177
+ "learning_rate": 1.5599999999999999e-06,
178
+ "loss": 0.0026453208923339845,
179
+ "step": 475
180
+ },
181
+ {
182
+ "epoch": 4.0,
183
+ "grad_norm": 0.038670528680086136,
184
+ "learning_rate": 6.000000000000001e-08,
185
+ "loss": 0.002638068199157715,
186
+ "step": 500
187
+ },
188
+ {
189
+ "epoch": 4.0,
190
+ "eval_accuracy": 1.0,
191
+ "eval_f1": 1.0,
192
+ "eval_loss": 0.0022992705926299095,
193
+ "eval_precision": 1.0,
194
+ "eval_recall": 1.0,
195
+ "eval_runtime": 2.9917,
196
+ "eval_samples_per_second": 334.254,
197
+ "eval_steps_per_second": 10.696,
198
+ "step": 500
199
+ }
200
+ ],
201
+ "logging_steps": 25,
202
+ "max_steps": 500,
203
+ "num_input_tokens_seen": 0,
204
+ "num_train_epochs": 4,
205
+ "save_steps": 500,
206
+ "stateful_callbacks": {
207
+ "TrainerControl": {
208
+ "args": {
209
+ "should_epoch_stop": false,
210
+ "should_evaluate": false,
211
+ "should_log": false,
212
+ "should_save": true,
213
+ "should_training_stop": true
214
+ },
215
+ "attributes": {}
216
+ }
217
+ },
218
+ "total_flos": 263490920448000.0,
219
+ "train_batch_size": 32,
220
+ "trial_name": null,
221
+ "trial_params": null
222
+ }
checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24ef8ec6eee902434ac4272d5536e9a2dfbd0139aadc12bfd082e1b08a5cab94
3
+ size 5201
confidence_distribution.png CHANGED

Git LFS Details

  • SHA256: 548fb32624a5af1284544a9b1ed3c38e6674e043a0fff66da11baadbd44036f6
  • Pointer size: 131 Bytes
  • Size of remote file: 161 kB

Git LFS Details

  • SHA256: a9e02cc39101f635203fc5c342eb08950b25825b9bd73572cd81d80f2fd90bd2
  • Pointer size: 131 Bytes
  • Size of remote file: 165 kB
confusion_matrix.png CHANGED

Git LFS Details

  • SHA256: d2151d2c355a862ae6e330fbec35c33bc6651a3cdab377dca24408b2ddf5dbf0
  • Pointer size: 131 Bytes
  • Size of remote file: 128 kB

Git LFS Details

  • SHA256: cdffae50b86ab3ac75cab35a6669f79736256fbe2597c4a3e10639953992eb5e
  • Pointer size: 131 Bytes
  • Size of remote file: 133 kB
latency_comparison.png CHANGED

Git LFS Details

  • SHA256: bfedd0072069d0abad4175f937dbedc000e350bf2fcdf59976218477f00b5988
  • Pointer size: 131 Bytes
  • Size of remote file: 129 kB

Git LFS Details

  • SHA256: 4ceea3b482b2c51e9036db359f880200dfcf6e179d2836632ec1b60265aac4a2
  • Pointer size: 131 Bytes
  • Size of remote file: 130 kB
model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f3e8b952549c2e1d7eda275a621a0ecaf8fa18c483a62b259828f953bf5d6ffc
3
- size 1494123
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42c2ad29d44b8c2dc2c0b1ce0f14bf62fecf5ad6ebaec0af89d20527aaf3f855
3
+ size 767618
model.onnx.data CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1d402375ee621c83f9a190794fe70a5ae4c5806d175d077f3d66acaf43751a49
3
- size 470626304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e8509ad63eaa4d3a4fdcda1124e1776366b06d8fcc7979df3434e16600f5818
3
+ size 470541056
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d78e471975dccba7c40a02c88b0a56025fa7b01575e3d16652946668c51d25f9
3
  size 470641664
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6be0a25531ab286e1f66c2a11d91f7b39e7d5d08073c0b6122729040819294ea
3
  size 470641664
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e63c7a5faf7f3257542d756311f64572a52913c2845c4a3849529e1ef87f8eef
3
- size 17082832
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c088c06cf975b7097e469bd69630cdb0d675c6db1ce3af1042b6e19c6d01f22
3
+ size 17082999
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:51b592f1b47ee1563562c813a7e626230ff0831ab009815cc86edb0b0b8828ef
3
  size 5201
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24ef8ec6eee902434ac4272d5536e9a2dfbd0139aadc12bfd082e1b08a5cab94
3
  size 5201