Upload folder using huggingface_hub
Browse files- README.md +16 -17
- category_benchmark.png +2 -2
- checkpoint-125/config.json +39 -0
- checkpoint-125/model.safetensors +3 -0
- checkpoint-125/optimizer.pt +3 -0
- checkpoint-125/rng_state.pth +3 -0
- checkpoint-125/scaler.pt +3 -0
- checkpoint-125/scheduler.pt +3 -0
- checkpoint-125/tokenizer.json +3 -0
- checkpoint-125/tokenizer_config.json +24 -0
- checkpoint-125/trainer_state.json +81 -0
- checkpoint-125/training_args.bin +3 -0
- checkpoint-250/config.json +39 -0
- checkpoint-250/model.safetensors +3 -0
- checkpoint-250/optimizer.pt +3 -0
- checkpoint-250/rng_state.pth +3 -0
- checkpoint-250/scaler.pt +3 -0
- checkpoint-250/scheduler.pt +3 -0
- checkpoint-250/tokenizer.json +3 -0
- checkpoint-250/tokenizer_config.json +24 -0
- checkpoint-250/trainer_state.json +128 -0
- checkpoint-250/training_args.bin +3 -0
- checkpoint-375/config.json +39 -0
- checkpoint-375/model.safetensors +3 -0
- checkpoint-375/optimizer.pt +3 -0
- checkpoint-375/rng_state.pth +3 -0
- checkpoint-375/scaler.pt +3 -0
- checkpoint-375/scheduler.pt +3 -0
- checkpoint-375/tokenizer.json +3 -0
- checkpoint-375/tokenizer_config.json +24 -0
- checkpoint-375/trainer_state.json +175 -0
- checkpoint-375/training_args.bin +3 -0
- checkpoint-500/config.json +39 -0
- checkpoint-500/model.safetensors +3 -0
- checkpoint-500/optimizer.pt +3 -0
- checkpoint-500/rng_state.pth +3 -0
- checkpoint-500/scaler.pt +3 -0
- checkpoint-500/scheduler.pt +3 -0
- checkpoint-500/tokenizer.json +3 -0
- checkpoint-500/tokenizer_config.json +24 -0
- checkpoint-500/trainer_state.json +222 -0
- checkpoint-500/training_args.bin +3 -0
- confidence_distribution.png +2 -2
- confusion_matrix.png +2 -2
- latency_comparison.png +2 -2
- model.onnx +2 -2
- model.onnx.data +2 -2
- model.safetensors +1 -1
- tokenizer.json +2 -2
- 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 |
-
|
| 31 |
|
| 32 |
---
|
| 33 |
|
| 34 |
-
## 📊 Comprehensive Benchmark Results
|
| 35 |
|
| 36 |
-
### 1. Test Split Performance (
|
| 37 |
-
Trained on [Umranz/shruti-intent-dataset](https://huggingface.co/datasets/Umranz/shruti-intent-dataset)
|
| 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` | **
|
| 58 |
-
| **Attire & Scene Requests** | `IMAGE_GENERATION` | **
|
| 59 |
-
| **Sweet Companion Requests** | `IMAGE_GENERATION` | **
|
| 60 |
| **Hinglish & Regional Dialects** | `IMAGE_GENERATION` | **100.0%** | Passed |
|
| 61 |
-
| **Typos & Slang Requests** | `IMAGE_GENERATION` | **
|
| 62 |
-
| **Trap: Negations & Prohibitions** | `TEXT_CHAT` | **
|
| 63 |
-
| **Trap: User Sharing Own Photos** | `TEXT_CHAT` | **
|
| 64 |
-
| **Trap: Photography Q&A** | `TEXT_CHAT` | **83.3%** |
|
| 65 |
-
| **Trap: Romantic Compliments** | `TEXT_CHAT` | **
|
| 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)** | **
|
| 81 |
-
| **PyTorch (Native)** | **CPU** | **
|
| 82 |
-
| **PyTorch (Native)** | **T4 GPU** | **
|
| 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
|
|
Git LFS Details
|
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
|
|
Git LFS Details
|
confusion_matrix.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
latency_comparison.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
model.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
size 5201
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24ef8ec6eee902434ac4272d5536e9a2dfbd0139aadc12bfd082e1b08a5cab94
|
| 3 |
size 5201
|