Instructions to use craa/exceptions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use craa/exceptions with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="craa/exceptions")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("craa/exceptions", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use craa/exceptions with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "craa/exceptions" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "craa/exceptions", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/craa/exceptions
- SGLang
How to use craa/exceptions with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "craa/exceptions" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "craa/exceptions", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "craa/exceptions" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "craa/exceptions", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use craa/exceptions with Docker Model Runner:
docker model run hf.co/craa/exceptions
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- exp2b/swap_0.3_cost_to_drop_1032/README.md +155 -0
- exp2b/swap_0.3_cost_to_drop_1032/all_results.json +16 -0
- exp2b/swap_0.3_cost_to_drop_1032/config.json +31 -0
- exp2b/swap_0.3_cost_to_drop_1032/eval_results.json +10 -0
- exp2b/swap_0.3_cost_to_drop_1032/generation_config.json +6 -0
- exp2b/swap_0.3_cost_to_drop_1032/merges.txt +0 -0
- exp2b/swap_0.3_cost_to_drop_1032/special_tokens_map.json +5 -0
- exp2b/swap_0.3_cost_to_drop_1032/tokenizer.json +0 -0
- exp2b/swap_0.3_cost_to_drop_1032/tokenizer_config.json +20 -0
- exp2b/swap_0.3_cost_to_drop_1032/train_results.json +9 -0
- exp2b/swap_0.3_cost_to_drop_1032/trainer_state.json +0 -0
- exp2b/swap_0.3_cost_to_drop_1032/vocab.json +0 -0
- exp2b/swap_0.3_cost_to_drop_2128/README.md +165 -0
- exp2b/swap_0.3_cost_to_drop_2128/all_results.json +16 -0
- exp2b/swap_0.3_cost_to_drop_2128/config.json +31 -0
- exp2b/swap_0.3_cost_to_drop_2128/eval_results.json +10 -0
- exp2b/swap_0.3_cost_to_drop_2128/generation_config.json +6 -0
- exp2b/swap_0.3_cost_to_drop_2128/merges.txt +0 -0
- exp2b/swap_0.3_cost_to_drop_2128/special_tokens_map.json +5 -0
- exp2b/swap_0.3_cost_to_drop_2128/tokenizer.json +0 -0
- exp2b/swap_0.3_cost_to_drop_2128/tokenizer_config.json +20 -0
- exp2b/swap_0.3_cost_to_drop_2128/train_results.json +9 -0
- exp2b/swap_0.3_cost_to_drop_2128/trainer_state.json +0 -0
- exp2b/swap_0.3_cost_to_drop_2128/vocab.json +0 -0
- exp2b/swap_0.3_cost_to_drop_3591/README.md +163 -0
- exp2b/swap_0.3_cost_to_drop_3591/all_results.json +16 -0
- exp2b/swap_0.3_cost_to_drop_3591/config.json +31 -0
- exp2b/swap_0.3_cost_to_drop_3591/eval_results.json +10 -0
- exp2b/swap_0.3_cost_to_drop_3591/generation_config.json +6 -0
- exp2b/swap_0.3_cost_to_drop_3591/merges.txt +0 -0
- exp2b/swap_0.3_cost_to_drop_3591/special_tokens_map.json +5 -0
- exp2b/swap_0.3_cost_to_drop_3591/tokenizer.json +0 -0
- exp2b/swap_0.3_cost_to_drop_3591/tokenizer_config.json +20 -0
- exp2b/swap_0.3_cost_to_drop_3591/train_results.json +9 -0
- exp2b/swap_0.3_cost_to_drop_3591/trainer_state.json +0 -0
- exp2b/swap_0.3_cost_to_drop_3591/vocab.json +0 -0
- exp2b/swap_0.3_cost_to_drop_40817/README.md +155 -0
- exp2b/swap_0.3_cost_to_drop_40817/all_results.json +16 -0
- exp2b/swap_0.3_cost_to_drop_40817/config.json +31 -0
- exp2b/swap_0.3_cost_to_drop_40817/eval_results.json +10 -0
- exp2b/swap_0.3_cost_to_drop_40817/generation_config.json +6 -0
- exp2b/swap_0.3_cost_to_drop_40817/merges.txt +0 -0
- exp2b/swap_0.3_cost_to_drop_40817/special_tokens_map.json +5 -0
- exp2b/swap_0.3_cost_to_drop_40817/tokenizer.json +0 -0
- exp2b/swap_0.3_cost_to_drop_40817/tokenizer_config.json +20 -0
- exp2b/swap_0.3_cost_to_drop_40817/train_results.json +9 -0
- exp2b/swap_0.3_cost_to_drop_40817/trainer_state.json +0 -0
- exp2b/swap_0.3_cost_to_drop_40817/vocab.json +0 -0
- exp2b/swap_0.3_cost_to_drop_5039/README.md +172 -0
- exp2b/swap_0.3_cost_to_drop_5039/all_results.json +16 -0
exp2b/swap_0.3_cost_to_drop_1032/README.md
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
model-index:
|
| 8 |
+
- name: exceptions_exp2_swap_0.3_cost_to_drop_1032
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/craaaa/exceptions_exp2/runs/g647l2pm)
|
| 16 |
+
# exceptions_exp2_swap_0.3_cost_to_drop_1032
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 3.5839
|
| 21 |
+
- Accuracy: 0.3658
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0006
|
| 41 |
+
- train_batch_size: 16
|
| 42 |
+
- eval_batch_size: 16
|
| 43 |
+
- seed: 1032
|
| 44 |
+
- gradient_accumulation_steps: 5
|
| 45 |
+
- total_train_batch_size: 80
|
| 46 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.98) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- lr_scheduler_warmup_steps: 100
|
| 49 |
+
- num_epochs: 50.0
|
| 50 |
+
- mixed_precision_training: Native AMP
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
+
|:-------------:|:-------:|:-----:|:---------------:|:--------:|
|
| 56 |
+
| 4.8221 | 0.2916 | 1000 | 4.7488 | 0.2547 |
|
| 57 |
+
| 4.3555 | 0.5831 | 2000 | 4.2862 | 0.2988 |
|
| 58 |
+
| 4.1468 | 0.8747 | 3000 | 4.1061 | 0.3138 |
|
| 59 |
+
| 4.0089 | 1.1662 | 4000 | 3.9981 | 0.3239 |
|
| 60 |
+
| 3.9422 | 1.4578 | 5000 | 3.9251 | 0.3304 |
|
| 61 |
+
| 3.8787 | 1.7493 | 6000 | 3.8665 | 0.3358 |
|
| 62 |
+
| 3.7557 | 2.0408 | 7000 | 3.8216 | 0.3401 |
|
| 63 |
+
| 3.7567 | 2.3324 | 8000 | 3.7918 | 0.3430 |
|
| 64 |
+
| 3.7487 | 2.6239 | 9000 | 3.7621 | 0.3459 |
|
| 65 |
+
| 3.7323 | 2.9155 | 10000 | 3.7356 | 0.3482 |
|
| 66 |
+
| 3.6476 | 3.2070 | 11000 | 3.7249 | 0.3500 |
|
| 67 |
+
| 3.6577 | 3.4986 | 12000 | 3.7042 | 0.3520 |
|
| 68 |
+
| 3.634 | 3.7901 | 13000 | 3.6858 | 0.3535 |
|
| 69 |
+
| 3.5548 | 4.0816 | 14000 | 3.6784 | 0.3552 |
|
| 70 |
+
| 3.5881 | 4.3732 | 15000 | 3.6678 | 0.3557 |
|
| 71 |
+
| 3.5723 | 4.6648 | 16000 | 3.6532 | 0.3572 |
|
| 72 |
+
| 3.6017 | 4.9563 | 17000 | 3.6420 | 0.3584 |
|
| 73 |
+
| 3.5155 | 5.2478 | 18000 | 3.6461 | 0.3585 |
|
| 74 |
+
| 3.5305 | 5.5394 | 19000 | 3.6327 | 0.3598 |
|
| 75 |
+
| 3.5203 | 5.8310 | 20000 | 3.6215 | 0.3607 |
|
| 76 |
+
| 3.4567 | 6.1225 | 21000 | 3.6236 | 0.3614 |
|
| 77 |
+
| 3.4791 | 6.4140 | 22000 | 3.6179 | 0.3622 |
|
| 78 |
+
| 3.4968 | 6.7056 | 23000 | 3.6079 | 0.3627 |
|
| 79 |
+
| 3.4976 | 6.9971 | 24000 | 3.5998 | 0.3633 |
|
| 80 |
+
| 3.4409 | 7.2886 | 25000 | 3.6082 | 0.3632 |
|
| 81 |
+
| 3.4434 | 7.5802 | 26000 | 3.5985 | 0.3638 |
|
| 82 |
+
| 3.479 | 7.8718 | 27000 | 3.5888 | 0.3649 |
|
| 83 |
+
| 3.3946 | 8.1633 | 28000 | 3.5970 | 0.3644 |
|
| 84 |
+
| 3.4239 | 8.4548 | 29000 | 3.5905 | 0.3653 |
|
| 85 |
+
| 3.437 | 8.7464 | 30000 | 3.5839 | 0.3658 |
|
| 86 |
+
| 3.3318 | 9.0379 | 31000 | 3.5885 | 0.3658 |
|
| 87 |
+
| 3.3781 | 9.3295 | 32000 | 3.5854 | 0.3659 |
|
| 88 |
+
| 3.4108 | 9.6210 | 33000 | 3.5766 | 0.3667 |
|
| 89 |
+
| 3.4274 | 9.9126 | 34000 | 3.5707 | 0.3673 |
|
| 90 |
+
| 3.3505 | 10.2041 | 35000 | 3.5813 | 0.3669 |
|
| 91 |
+
| 3.3773 | 10.4957 | 36000 | 3.5736 | 0.3675 |
|
| 92 |
+
| 3.3963 | 10.7872 | 37000 | 3.5660 | 0.3681 |
|
| 93 |
+
| 3.3042 | 11.0787 | 38000 | 3.5795 | 0.3678 |
|
| 94 |
+
| 3.3448 | 11.3703 | 39000 | 3.5743 | 0.3680 |
|
| 95 |
+
| 3.3706 | 11.6618 | 40000 | 3.5664 | 0.3684 |
|
| 96 |
+
| 3.3846 | 11.9534 | 41000 | 3.5581 | 0.3689 |
|
| 97 |
+
| 3.3202 | 12.2449 | 42000 | 3.5720 | 0.3685 |
|
| 98 |
+
| 3.3493 | 12.5365 | 43000 | 3.5636 | 0.3685 |
|
| 99 |
+
| 3.367 | 12.8280 | 44000 | 3.5583 | 0.3696 |
|
| 100 |
+
| 3.2663 | 13.1195 | 45000 | 3.5691 | 0.3691 |
|
| 101 |
+
| 3.309 | 13.4111 | 46000 | 3.5634 | 0.3692 |
|
| 102 |
+
| 3.3335 | 13.7027 | 47000 | 3.5546 | 0.3698 |
|
| 103 |
+
| 3.3487 | 13.9942 | 48000 | 3.5496 | 0.3701 |
|
| 104 |
+
| 3.2792 | 14.2857 | 49000 | 3.5649 | 0.3696 |
|
| 105 |
+
| 3.3064 | 14.5773 | 50000 | 3.5573 | 0.3699 |
|
| 106 |
+
| 3.3363 | 14.8689 | 51000 | 3.5480 | 0.3706 |
|
| 107 |
+
| 3.2446 | 15.1604 | 52000 | 3.5664 | 0.3700 |
|
| 108 |
+
| 3.2848 | 15.4519 | 53000 | 3.5603 | 0.3702 |
|
| 109 |
+
| 3.3058 | 15.7435 | 54000 | 3.5453 | 0.3710 |
|
| 110 |
+
| 3.2076 | 16.0350 | 55000 | 3.5576 | 0.3706 |
|
| 111 |
+
| 3.2679 | 16.3265 | 56000 | 3.5547 | 0.3709 |
|
| 112 |
+
| 3.2942 | 16.6181 | 57000 | 3.5536 | 0.3706 |
|
| 113 |
+
| 3.3099 | 16.9097 | 58000 | 3.5449 | 0.3713 |
|
| 114 |
+
| 3.2476 | 17.2012 | 59000 | 3.5615 | 0.3707 |
|
| 115 |
+
| 3.2693 | 17.4927 | 60000 | 3.5523 | 0.3713 |
|
| 116 |
+
| 3.2908 | 17.7843 | 61000 | 3.5449 | 0.3714 |
|
| 117 |
+
| 3.205 | 18.0758 | 62000 | 3.5588 | 0.3712 |
|
| 118 |
+
| 3.2554 | 18.3674 | 63000 | 3.5547 | 0.3712 |
|
| 119 |
+
| 3.2703 | 18.6589 | 64000 | 3.5525 | 0.3715 |
|
| 120 |
+
| 3.2909 | 18.9505 | 65000 | 3.5421 | 0.3722 |
|
| 121 |
+
| 3.2095 | 19.2420 | 66000 | 3.5582 | 0.3716 |
|
| 122 |
+
| 3.2457 | 19.5336 | 67000 | 3.5511 | 0.3721 |
|
| 123 |
+
| 3.2676 | 19.8251 | 68000 | 3.5441 | 0.3721 |
|
| 124 |
+
| 3.1825 | 20.1166 | 69000 | 3.5578 | 0.3715 |
|
| 125 |
+
| 3.2339 | 20.4082 | 70000 | 3.5531 | 0.3716 |
|
| 126 |
+
| 3.2581 | 20.6997 | 71000 | 3.5460 | 0.3721 |
|
| 127 |
+
| 3.2604 | 20.9913 | 72000 | 3.5375 | 0.3726 |
|
| 128 |
+
| 3.2032 | 21.2828 | 73000 | 3.5557 | 0.3719 |
|
| 129 |
+
| 3.2375 | 21.5744 | 74000 | 3.5470 | 0.3724 |
|
| 130 |
+
| 3.2491 | 21.8659 | 75000 | 3.5403 | 0.3728 |
|
| 131 |
+
| 3.1692 | 22.1574 | 76000 | 3.5603 | 0.3718 |
|
| 132 |
+
| 3.2165 | 22.4490 | 77000 | 3.5531 | 0.3721 |
|
| 133 |
+
| 3.2322 | 22.7406 | 78000 | 3.5444 | 0.3729 |
|
| 134 |
+
| 3.1449 | 23.0321 | 79000 | 3.5596 | 0.3723 |
|
| 135 |
+
| 3.1896 | 23.3236 | 80000 | 3.5578 | 0.3722 |
|
| 136 |
+
| 3.2083 | 23.6152 | 81000 | 3.5471 | 0.3725 |
|
| 137 |
+
| 3.224 | 23.9068 | 82000 | 3.5402 | 0.3732 |
|
| 138 |
+
| 3.171 | 24.1983 | 83000 | 3.5561 | 0.3726 |
|
| 139 |
+
| 3.2066 | 24.4898 | 84000 | 3.5516 | 0.3730 |
|
| 140 |
+
| 3.2235 | 24.7814 | 85000 | 3.5446 | 0.3731 |
|
| 141 |
+
| 3.1408 | 25.0729 | 86000 | 3.5595 | 0.3726 |
|
| 142 |
+
| 3.1736 | 25.3645 | 87000 | 3.5544 | 0.3728 |
|
| 143 |
+
| 3.1914 | 25.6560 | 88000 | 3.5453 | 0.3734 |
|
| 144 |
+
| 3.2119 | 25.9476 | 89000 | 3.5402 | 0.3735 |
|
| 145 |
+
| 3.1569 | 26.2391 | 90000 | 3.5583 | 0.3727 |
|
| 146 |
+
| 3.1936 | 26.5306 | 91000 | 3.5492 | 0.3728 |
|
| 147 |
+
| 3.1956 | 26.8222 | 92000 | 3.5419 | 0.3735 |
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
### Framework versions
|
| 151 |
+
|
| 152 |
+
- Transformers 4.55.2
|
| 153 |
+
- Pytorch 2.8.0+cu128
|
| 154 |
+
- Datasets 4.0.0
|
| 155 |
+
- Tokenizers 0.21.4
|
exp2b/swap_0.3_cost_to_drop_1032/all_results.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 26.82220537640679,
|
| 3 |
+
"eval_accuracy": 0.36580799960608973,
|
| 4 |
+
"eval_loss": 3.5838623046875,
|
| 5 |
+
"eval_runtime": 53.8483,
|
| 6 |
+
"eval_samples": 16613,
|
| 7 |
+
"eval_samples_per_second": 308.515,
|
| 8 |
+
"eval_steps_per_second": 19.295,
|
| 9 |
+
"perplexity": 36.0123633067796,
|
| 10 |
+
"total_flos": 1.923000658034688e+18,
|
| 11 |
+
"train_loss": 3.4192942959329358,
|
| 12 |
+
"train_runtime": 41176.7228,
|
| 13 |
+
"train_samples": 274384,
|
| 14 |
+
"train_samples_per_second": 333.179,
|
| 15 |
+
"train_steps_per_second": 4.165
|
| 16 |
+
}
|
exp2b/swap_0.3_cost_to_drop_1032/config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_function": "gelu_new",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"GPT2LMHeadModel"
|
| 5 |
+
],
|
| 6 |
+
"attn_pdrop": 0.1,
|
| 7 |
+
"bos_token_id": 50256,
|
| 8 |
+
"embd_pdrop": 0.1,
|
| 9 |
+
"eos_token_id": 50256,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"layer_norm_epsilon": 1e-05,
|
| 12 |
+
"model_type": "gpt2",
|
| 13 |
+
"n_embd": 768,
|
| 14 |
+
"n_head": 12,
|
| 15 |
+
"n_inner": null,
|
| 16 |
+
"n_layer": 12,
|
| 17 |
+
"n_positions": 1024,
|
| 18 |
+
"reorder_and_upcast_attn": false,
|
| 19 |
+
"resid_pdrop": 0.1,
|
| 20 |
+
"scale_attn_by_inverse_layer_idx": false,
|
| 21 |
+
"scale_attn_weights": true,
|
| 22 |
+
"summary_activation": null,
|
| 23 |
+
"summary_first_dropout": 0.1,
|
| 24 |
+
"summary_proj_to_labels": true,
|
| 25 |
+
"summary_type": "cls_index",
|
| 26 |
+
"summary_use_proj": true,
|
| 27 |
+
"torch_dtype": "float32",
|
| 28 |
+
"transformers_version": "4.55.2",
|
| 29 |
+
"use_cache": true,
|
| 30 |
+
"vocab_size": 50257
|
| 31 |
+
}
|
exp2b/swap_0.3_cost_to_drop_1032/eval_results.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 26.82220537640679,
|
| 3 |
+
"eval_accuracy": 0.36580799960608973,
|
| 4 |
+
"eval_loss": 3.5838623046875,
|
| 5 |
+
"eval_runtime": 53.8483,
|
| 6 |
+
"eval_samples": 16613,
|
| 7 |
+
"eval_samples_per_second": 308.515,
|
| 8 |
+
"eval_steps_per_second": 19.295,
|
| 9 |
+
"perplexity": 36.0123633067796
|
| 10 |
+
}
|
exp2b/swap_0.3_cost_to_drop_1032/generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 50256,
|
| 4 |
+
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "4.55.2"
|
| 6 |
+
}
|
exp2b/swap_0.3_cost_to_drop_1032/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_1032/special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<|endoftext|>",
|
| 3 |
+
"eos_token": "<|endoftext|>",
|
| 4 |
+
"unk_token": "<|endoftext|>"
|
| 5 |
+
}
|
exp2b/swap_0.3_cost_to_drop_1032/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_1032/tokenizer_config.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"50256": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
"bos_token": "<|endoftext|>",
|
| 14 |
+
"clean_up_tokenization_spaces": false,
|
| 15 |
+
"eos_token": "<|endoftext|>",
|
| 16 |
+
"extra_special_tokens": {},
|
| 17 |
+
"model_max_length": 1024,
|
| 18 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 19 |
+
"unk_token": "<|endoftext|>"
|
| 20 |
+
}
|
exp2b/swap_0.3_cost_to_drop_1032/train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 26.82220537640679,
|
| 3 |
+
"total_flos": 1.923000658034688e+18,
|
| 4 |
+
"train_loss": 3.4192942959329358,
|
| 5 |
+
"train_runtime": 41176.7228,
|
| 6 |
+
"train_samples": 274384,
|
| 7 |
+
"train_samples_per_second": 333.179,
|
| 8 |
+
"train_steps_per_second": 4.165
|
| 9 |
+
}
|
exp2b/swap_0.3_cost_to_drop_1032/trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_1032/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_2128/README.md
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
model-index:
|
| 8 |
+
- name: exceptions_exp2_swap_0.3_cost_to_drop_2128
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/craaaa/exceptions_exp2/runs/9mwuqnix)
|
| 16 |
+
# exceptions_exp2_swap_0.3_cost_to_drop_2128
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 3.5645
|
| 21 |
+
- Accuracy: 0.3686
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0006
|
| 41 |
+
- train_batch_size: 16
|
| 42 |
+
- eval_batch_size: 16
|
| 43 |
+
- seed: 2128
|
| 44 |
+
- gradient_accumulation_steps: 5
|
| 45 |
+
- total_train_batch_size: 80
|
| 46 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.98) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- lr_scheduler_warmup_steps: 100
|
| 49 |
+
- num_epochs: 50.0
|
| 50 |
+
- mixed_precision_training: Native AMP
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
+
|:-------------:|:-------:|:------:|:---------------:|:--------:|
|
| 56 |
+
| 4.8412 | 0.2916 | 1000 | 4.7675 | 0.2525 |
|
| 57 |
+
| 4.3629 | 0.5831 | 2000 | 4.2992 | 0.2974 |
|
| 58 |
+
| 4.1467 | 0.8747 | 3000 | 4.1125 | 0.3142 |
|
| 59 |
+
| 4.0091 | 1.1662 | 4000 | 3.9979 | 0.3240 |
|
| 60 |
+
| 3.9325 | 1.4578 | 5000 | 3.9250 | 0.3302 |
|
| 61 |
+
| 3.8863 | 1.7493 | 6000 | 3.8661 | 0.3356 |
|
| 62 |
+
| 3.7587 | 2.0408 | 7000 | 3.8232 | 0.3400 |
|
| 63 |
+
| 3.7568 | 2.3324 | 8000 | 3.7916 | 0.3431 |
|
| 64 |
+
| 3.7504 | 2.6239 | 9000 | 3.7629 | 0.3457 |
|
| 65 |
+
| 3.7423 | 2.9155 | 10000 | 3.7371 | 0.3482 |
|
| 66 |
+
| 3.6398 | 3.2070 | 11000 | 3.7222 | 0.3501 |
|
| 67 |
+
| 3.6404 | 3.4986 | 12000 | 3.7053 | 0.3518 |
|
| 68 |
+
| 3.6436 | 3.7901 | 13000 | 3.6884 | 0.3535 |
|
| 69 |
+
| 3.5458 | 4.0816 | 14000 | 3.6811 | 0.3546 |
|
| 70 |
+
| 3.5789 | 4.3732 | 15000 | 3.6694 | 0.3560 |
|
| 71 |
+
| 3.5978 | 4.6648 | 16000 | 3.6576 | 0.3570 |
|
| 72 |
+
| 3.5815 | 4.9563 | 17000 | 3.6433 | 0.3581 |
|
| 73 |
+
| 3.5227 | 5.2478 | 18000 | 3.6438 | 0.3590 |
|
| 74 |
+
| 3.5329 | 5.5394 | 19000 | 3.6334 | 0.3598 |
|
| 75 |
+
| 3.5403 | 5.8310 | 20000 | 3.6214 | 0.3607 |
|
| 76 |
+
| 3.4624 | 6.1225 | 21000 | 3.6298 | 0.3607 |
|
| 77 |
+
| 3.4801 | 6.4140 | 22000 | 3.6188 | 0.3618 |
|
| 78 |
+
| 3.499 | 6.7056 | 23000 | 3.6087 | 0.3624 |
|
| 79 |
+
| 3.5005 | 6.9971 | 24000 | 3.5999 | 0.3635 |
|
| 80 |
+
| 3.4326 | 7.2886 | 25000 | 3.6095 | 0.3631 |
|
| 81 |
+
| 3.4619 | 7.5802 | 26000 | 3.5995 | 0.3637 |
|
| 82 |
+
| 3.4767 | 7.8718 | 27000 | 3.5887 | 0.3647 |
|
| 83 |
+
| 3.3875 | 8.1633 | 28000 | 3.5997 | 0.3644 |
|
| 84 |
+
| 3.4172 | 8.4548 | 29000 | 3.5920 | 0.3650 |
|
| 85 |
+
| 3.442 | 8.7464 | 30000 | 3.5813 | 0.3657 |
|
| 86 |
+
| 3.3494 | 9.0379 | 31000 | 3.5922 | 0.3659 |
|
| 87 |
+
| 3.3838 | 9.3295 | 32000 | 3.5890 | 0.3661 |
|
| 88 |
+
| 3.4142 | 9.6210 | 33000 | 3.5799 | 0.3665 |
|
| 89 |
+
| 3.4202 | 9.9126 | 34000 | 3.5699 | 0.3671 |
|
| 90 |
+
| 3.3572 | 10.2041 | 35000 | 3.5847 | 0.3668 |
|
| 91 |
+
| 3.3677 | 10.4957 | 36000 | 3.5785 | 0.3669 |
|
| 92 |
+
| 3.3858 | 10.7872 | 37000 | 3.5684 | 0.3675 |
|
| 93 |
+
| 3.3138 | 11.0787 | 38000 | 3.5779 | 0.3678 |
|
| 94 |
+
| 3.3435 | 11.3703 | 39000 | 3.5729 | 0.3681 |
|
| 95 |
+
| 3.3632 | 11.6618 | 40000 | 3.5645 | 0.3686 |
|
| 96 |
+
| 3.3812 | 11.9534 | 41000 | 3.5576 | 0.3690 |
|
| 97 |
+
| 3.2993 | 12.2449 | 42000 | 3.5710 | 0.3682 |
|
| 98 |
+
| 3.3399 | 12.5365 | 43000 | 3.5659 | 0.3689 |
|
| 99 |
+
| 3.3545 | 12.8280 | 44000 | 3.5561 | 0.3695 |
|
| 100 |
+
| 3.2804 | 13.1195 | 45000 | 3.5699 | 0.3687 |
|
| 101 |
+
| 3.3232 | 13.4111 | 46000 | 3.5670 | 0.3689 |
|
| 102 |
+
| 3.3411 | 13.7027 | 47000 | 3.5578 | 0.3697 |
|
| 103 |
+
| 3.3427 | 13.9942 | 48000 | 3.5520 | 0.3701 |
|
| 104 |
+
| 3.2652 | 14.2857 | 49000 | 3.5674 | 0.3695 |
|
| 105 |
+
| 3.3215 | 14.5773 | 50000 | 3.5607 | 0.3700 |
|
| 106 |
+
| 3.3388 | 14.8689 | 51000 | 3.5499 | 0.3706 |
|
| 107 |
+
| 3.263 | 15.1604 | 52000 | 3.5668 | 0.3698 |
|
| 108 |
+
| 3.2958 | 15.4519 | 53000 | 3.5581 | 0.3703 |
|
| 109 |
+
| 3.3097 | 15.7435 | 54000 | 3.5523 | 0.3708 |
|
| 110 |
+
| 3.2196 | 16.0350 | 55000 | 3.5626 | 0.3702 |
|
| 111 |
+
| 3.2662 | 16.3265 | 56000 | 3.5624 | 0.3704 |
|
| 112 |
+
| 3.2873 | 16.6181 | 57000 | 3.5548 | 0.3705 |
|
| 113 |
+
| 3.3024 | 16.9097 | 58000 | 3.5470 | 0.3713 |
|
| 114 |
+
| 3.2379 | 17.2012 | 59000 | 3.5632 | 0.3707 |
|
| 115 |
+
| 3.2753 | 17.4927 | 60000 | 3.5568 | 0.3709 |
|
| 116 |
+
| 3.2848 | 17.7843 | 61000 | 3.5484 | 0.3714 |
|
| 117 |
+
| 3.2023 | 18.0758 | 62000 | 3.5607 | 0.3713 |
|
| 118 |
+
| 3.2515 | 18.3674 | 63000 | 3.5598 | 0.3710 |
|
| 119 |
+
| 3.2652 | 18.6589 | 64000 | 3.5506 | 0.3717 |
|
| 120 |
+
| 3.2867 | 18.9505 | 65000 | 3.5431 | 0.3719 |
|
| 121 |
+
| 3.2242 | 19.2420 | 66000 | 3.5621 | 0.3713 |
|
| 122 |
+
| 3.2556 | 19.5336 | 67000 | 3.5534 | 0.3716 |
|
| 123 |
+
| 3.2738 | 19.8251 | 68000 | 3.5475 | 0.3721 |
|
| 124 |
+
| 3.2021 | 20.1166 | 69000 | 3.5616 | 0.3713 |
|
| 125 |
+
| 3.2299 | 20.4082 | 70000 | 3.5592 | 0.3716 |
|
| 126 |
+
| 3.2573 | 20.6997 | 71000 | 3.5481 | 0.3723 |
|
| 127 |
+
| 3.2701 | 20.9913 | 72000 | 3.5409 | 0.3725 |
|
| 128 |
+
| 3.2204 | 21.2828 | 73000 | 3.5582 | 0.3716 |
|
| 129 |
+
| 3.2229 | 21.5744 | 74000 | 3.5522 | 0.3720 |
|
| 130 |
+
| 3.2339 | 21.8659 | 75000 | 3.5419 | 0.3727 |
|
| 131 |
+
| 3.1707 | 22.1574 | 76000 | 3.5588 | 0.3722 |
|
| 132 |
+
| 3.2119 | 22.4490 | 77000 | 3.5525 | 0.3723 |
|
| 133 |
+
| 3.2174 | 22.7406 | 78000 | 3.5479 | 0.3725 |
|
| 134 |
+
| 3.1437 | 23.0321 | 79000 | 3.5616 | 0.3721 |
|
| 135 |
+
| 3.197 | 23.3236 | 80000 | 3.5559 | 0.3722 |
|
| 136 |
+
| 3.2125 | 23.6152 | 81000 | 3.5491 | 0.3728 |
|
| 137 |
+
| 3.2511 | 23.9068 | 82000 | 3.5405 | 0.3731 |
|
| 138 |
+
| 3.162 | 24.1983 | 83000 | 3.5605 | 0.3720 |
|
| 139 |
+
| 3.1887 | 24.4898 | 84000 | 3.5551 | 0.3724 |
|
| 140 |
+
| 3.2115 | 24.7814 | 85000 | 3.5455 | 0.3729 |
|
| 141 |
+
| 3.1402 | 25.0729 | 86000 | 3.5610 | 0.3727 |
|
| 142 |
+
| 3.1789 | 25.3645 | 87000 | 3.5575 | 0.3722 |
|
| 143 |
+
| 3.1993 | 25.6560 | 88000 | 3.5498 | 0.3731 |
|
| 144 |
+
| 3.218 | 25.9476 | 89000 | 3.5447 | 0.3734 |
|
| 145 |
+
| 3.1469 | 26.2391 | 90000 | 3.5599 | 0.3725 |
|
| 146 |
+
| 3.1894 | 26.5306 | 91000 | 3.5501 | 0.3733 |
|
| 147 |
+
| 3.1931 | 26.8222 | 92000 | 3.5464 | 0.3733 |
|
| 148 |
+
| 3.1294 | 27.1137 | 93000 | 3.5635 | 0.3724 |
|
| 149 |
+
| 3.1452 | 27.4053 | 94000 | 3.5562 | 0.3731 |
|
| 150 |
+
| 3.1861 | 27.6968 | 95000 | 3.5468 | 0.3732 |
|
| 151 |
+
| 3.1921 | 27.9884 | 96000 | 3.5444 | 0.3735 |
|
| 152 |
+
| 3.1493 | 28.2799 | 97000 | 3.5572 | 0.3730 |
|
| 153 |
+
| 3.1537 | 28.5715 | 98000 | 3.5511 | 0.3730 |
|
| 154 |
+
| 3.1804 | 28.8630 | 99000 | 3.5434 | 0.3739 |
|
| 155 |
+
| 3.1242 | 29.1545 | 100000 | 3.5606 | 0.3727 |
|
| 156 |
+
| 3.1423 | 29.4461 | 101000 | 3.5562 | 0.3731 |
|
| 157 |
+
| 3.1702 | 29.7377 | 102000 | 3.5504 | 0.3735 |
|
| 158 |
+
|
| 159 |
+
|
| 160 |
+
### Framework versions
|
| 161 |
+
|
| 162 |
+
- Transformers 4.55.2
|
| 163 |
+
- Pytorch 2.8.0+cu128
|
| 164 |
+
- Datasets 4.0.0
|
| 165 |
+
- Tokenizers 0.21.4
|
exp2b/swap_0.3_cost_to_drop_2128/all_results.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 29.737652341244388,
|
| 3 |
+
"eval_accuracy": 0.36855724356105724,
|
| 4 |
+
"eval_loss": 3.564516067504883,
|
| 5 |
+
"eval_runtime": 53.6794,
|
| 6 |
+
"eval_samples": 16613,
|
| 7 |
+
"eval_samples_per_second": 309.485,
|
| 8 |
+
"eval_steps_per_second": 19.356,
|
| 9 |
+
"perplexity": 35.3223556318352,
|
| 10 |
+
"total_flos": 2.132021741617152e+18,
|
| 11 |
+
"train_loss": 3.3939477501663506,
|
| 12 |
+
"train_runtime": 45494.094,
|
| 13 |
+
"train_samples": 274384,
|
| 14 |
+
"train_samples_per_second": 301.56,
|
| 15 |
+
"train_steps_per_second": 3.77
|
| 16 |
+
}
|
exp2b/swap_0.3_cost_to_drop_2128/config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_function": "gelu_new",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"GPT2LMHeadModel"
|
| 5 |
+
],
|
| 6 |
+
"attn_pdrop": 0.1,
|
| 7 |
+
"bos_token_id": 50256,
|
| 8 |
+
"embd_pdrop": 0.1,
|
| 9 |
+
"eos_token_id": 50256,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"layer_norm_epsilon": 1e-05,
|
| 12 |
+
"model_type": "gpt2",
|
| 13 |
+
"n_embd": 768,
|
| 14 |
+
"n_head": 12,
|
| 15 |
+
"n_inner": null,
|
| 16 |
+
"n_layer": 12,
|
| 17 |
+
"n_positions": 1024,
|
| 18 |
+
"reorder_and_upcast_attn": false,
|
| 19 |
+
"resid_pdrop": 0.1,
|
| 20 |
+
"scale_attn_by_inverse_layer_idx": false,
|
| 21 |
+
"scale_attn_weights": true,
|
| 22 |
+
"summary_activation": null,
|
| 23 |
+
"summary_first_dropout": 0.1,
|
| 24 |
+
"summary_proj_to_labels": true,
|
| 25 |
+
"summary_type": "cls_index",
|
| 26 |
+
"summary_use_proj": true,
|
| 27 |
+
"torch_dtype": "float32",
|
| 28 |
+
"transformers_version": "4.55.2",
|
| 29 |
+
"use_cache": true,
|
| 30 |
+
"vocab_size": 50257
|
| 31 |
+
}
|
exp2b/swap_0.3_cost_to_drop_2128/eval_results.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 29.737652341244388,
|
| 3 |
+
"eval_accuracy": 0.36855724356105724,
|
| 4 |
+
"eval_loss": 3.564516067504883,
|
| 5 |
+
"eval_runtime": 53.6794,
|
| 6 |
+
"eval_samples": 16613,
|
| 7 |
+
"eval_samples_per_second": 309.485,
|
| 8 |
+
"eval_steps_per_second": 19.356,
|
| 9 |
+
"perplexity": 35.3223556318352
|
| 10 |
+
}
|
exp2b/swap_0.3_cost_to_drop_2128/generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 50256,
|
| 4 |
+
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "4.55.2"
|
| 6 |
+
}
|
exp2b/swap_0.3_cost_to_drop_2128/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_2128/special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<|endoftext|>",
|
| 3 |
+
"eos_token": "<|endoftext|>",
|
| 4 |
+
"unk_token": "<|endoftext|>"
|
| 5 |
+
}
|
exp2b/swap_0.3_cost_to_drop_2128/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_2128/tokenizer_config.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"50256": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
"bos_token": "<|endoftext|>",
|
| 14 |
+
"clean_up_tokenization_spaces": false,
|
| 15 |
+
"eos_token": "<|endoftext|>",
|
| 16 |
+
"extra_special_tokens": {},
|
| 17 |
+
"model_max_length": 1024,
|
| 18 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 19 |
+
"unk_token": "<|endoftext|>"
|
| 20 |
+
}
|
exp2b/swap_0.3_cost_to_drop_2128/train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 29.737652341244388,
|
| 3 |
+
"total_flos": 2.132021741617152e+18,
|
| 4 |
+
"train_loss": 3.3939477501663506,
|
| 5 |
+
"train_runtime": 45494.094,
|
| 6 |
+
"train_samples": 274384,
|
| 7 |
+
"train_samples_per_second": 301.56,
|
| 8 |
+
"train_steps_per_second": 3.77
|
| 9 |
+
}
|
exp2b/swap_0.3_cost_to_drop_2128/trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_2128/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_3591/README.md
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
model-index:
|
| 8 |
+
- name: exceptions_exp2_swap_0.3_cost_to_drop_3591
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/craaaa/exceptions_exp2/runs/eauilxa9)
|
| 16 |
+
# exceptions_exp2_swap_0.3_cost_to_drop_3591
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 3.5628
|
| 21 |
+
- Accuracy: 0.3685
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0006
|
| 41 |
+
- train_batch_size: 16
|
| 42 |
+
- eval_batch_size: 16
|
| 43 |
+
- seed: 3591
|
| 44 |
+
- gradient_accumulation_steps: 5
|
| 45 |
+
- total_train_batch_size: 80
|
| 46 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.98) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- lr_scheduler_warmup_steps: 100
|
| 49 |
+
- num_epochs: 50.0
|
| 50 |
+
- mixed_precision_training: Native AMP
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|
| 55 |
+
|:-------------:|:-------:|:------:|:--------:|:---------------:|
|
| 56 |
+
| 4.8365 | 0.2916 | 1000 | 0.2548 | 4.7491 |
|
| 57 |
+
| 4.3471 | 0.5831 | 2000 | 0.2988 | 4.2858 |
|
| 58 |
+
| 4.1508 | 0.8747 | 3000 | 0.3151 | 4.0989 |
|
| 59 |
+
| 3.9896 | 1.1662 | 4000 | 0.3244 | 3.9914 |
|
| 60 |
+
| 3.9465 | 1.4578 | 5000 | 0.3314 | 3.9160 |
|
| 61 |
+
| 3.8798 | 1.7493 | 6000 | 0.3365 | 3.8590 |
|
| 62 |
+
| 3.7577 | 2.0408 | 7000 | 0.3405 | 3.8170 |
|
| 63 |
+
| 3.7548 | 2.3324 | 8000 | 0.3436 | 3.7865 |
|
| 64 |
+
| 3.7612 | 2.6239 | 9000 | 0.3464 | 3.7582 |
|
| 65 |
+
| 3.7282 | 2.9155 | 10000 | 0.3491 | 3.7295 |
|
| 66 |
+
| 3.6436 | 3.2070 | 11000 | 0.3508 | 3.7194 |
|
| 67 |
+
| 3.6459 | 3.4986 | 12000 | 0.3524 | 3.6989 |
|
| 68 |
+
| 3.6481 | 3.7901 | 13000 | 0.3541 | 3.6826 |
|
| 69 |
+
| 3.5535 | 4.0816 | 14000 | 0.3553 | 3.6771 |
|
| 70 |
+
| 3.5787 | 4.3732 | 15000 | 0.3564 | 3.6656 |
|
| 71 |
+
| 3.5765 | 4.6648 | 16000 | 0.3577 | 3.6524 |
|
| 72 |
+
| 3.584 | 4.9563 | 17000 | 0.3591 | 3.6387 |
|
| 73 |
+
| 3.5087 | 5.2478 | 18000 | 0.3591 | 3.6413 |
|
| 74 |
+
| 3.5284 | 5.5394 | 19000 | 0.3603 | 3.6312 |
|
| 75 |
+
| 3.5434 | 5.8310 | 20000 | 0.3609 | 3.6183 |
|
| 76 |
+
| 3.4492 | 6.1225 | 21000 | 0.3614 | 3.6239 |
|
| 77 |
+
| 3.487 | 6.4140 | 22000 | 0.3624 | 3.6121 |
|
| 78 |
+
| 3.4875 | 6.7056 | 23000 | 0.3631 | 3.6044 |
|
| 79 |
+
| 3.5 | 6.9971 | 24000 | 0.3638 | 3.5953 |
|
| 80 |
+
| 3.4285 | 7.2886 | 25000 | 0.3637 | 3.6057 |
|
| 81 |
+
| 3.4546 | 7.5802 | 26000 | 0.3645 | 3.5960 |
|
| 82 |
+
| 3.4594 | 7.8718 | 27000 | 0.3652 | 3.5860 |
|
| 83 |
+
| 3.3818 | 8.1633 | 28000 | 0.3648 | 3.5961 |
|
| 84 |
+
| 3.4168 | 8.4548 | 29000 | 0.3655 | 3.5885 |
|
| 85 |
+
| 3.4465 | 8.7464 | 30000 | 0.3661 | 3.5820 |
|
| 86 |
+
| 3.3283 | 9.0379 | 31000 | 0.3660 | 3.5848 |
|
| 87 |
+
| 3.3822 | 9.3295 | 32000 | 0.3662 | 3.5840 |
|
| 88 |
+
| 3.402 | 9.6210 | 33000 | 0.3671 | 3.5742 |
|
| 89 |
+
| 3.4218 | 9.9126 | 34000 | 0.3676 | 3.5681 |
|
| 90 |
+
| 3.3471 | 10.2041 | 35000 | 0.3673 | 3.5807 |
|
| 91 |
+
| 3.3754 | 10.4957 | 36000 | 0.3676 | 3.5724 |
|
| 92 |
+
| 3.3889 | 10.7872 | 37000 | 0.3681 | 3.5649 |
|
| 93 |
+
| 3.3111 | 11.0787 | 38000 | 0.3678 | 3.5778 |
|
| 94 |
+
| 3.3445 | 11.3703 | 39000 | 0.3684 | 3.5678 |
|
| 95 |
+
| 3.3621 | 11.6618 | 40000 | 0.3685 | 3.5628 |
|
| 96 |
+
| 3.3843 | 11.9534 | 41000 | 0.3692 | 3.5562 |
|
| 97 |
+
| 3.3039 | 12.2449 | 42000 | 0.3684 | 3.5673 |
|
| 98 |
+
| 3.3371 | 12.5365 | 43000 | 0.3692 | 3.5636 |
|
| 99 |
+
| 3.357 | 12.8280 | 44000 | 0.3698 | 3.5513 |
|
| 100 |
+
| 3.2723 | 13.1195 | 45000 | 0.3691 | 3.5671 |
|
| 101 |
+
| 3.3072 | 13.4111 | 46000 | 0.3695 | 3.5618 |
|
| 102 |
+
| 3.3428 | 13.7027 | 47000 | 0.3702 | 3.5526 |
|
| 103 |
+
| 3.3393 | 13.9942 | 48000 | 0.3705 | 3.5471 |
|
| 104 |
+
| 3.2803 | 14.2857 | 49000 | 0.3699 | 3.5606 |
|
| 105 |
+
| 3.3086 | 14.5773 | 50000 | 0.3704 | 3.5528 |
|
| 106 |
+
| 3.3236 | 14.8689 | 51000 | 0.3710 | 3.5478 |
|
| 107 |
+
| 3.248 | 15.1604 | 52000 | 0.3703 | 3.5615 |
|
| 108 |
+
| 3.2804 | 15.4519 | 53000 | 0.3706 | 3.5556 |
|
| 109 |
+
| 3.3118 | 15.7435 | 54000 | 0.3709 | 3.5484 |
|
| 110 |
+
| 3.2093 | 16.0350 | 55000 | 0.3705 | 3.5584 |
|
| 111 |
+
| 3.2675 | 16.3265 | 56000 | 0.3710 | 3.5577 |
|
| 112 |
+
| 3.2897 | 16.6181 | 57000 | 0.3714 | 3.5507 |
|
| 113 |
+
| 3.2994 | 16.9097 | 58000 | 0.3717 | 3.5419 |
|
| 114 |
+
| 3.235 | 17.2012 | 59000 | 0.3709 | 3.5576 |
|
| 115 |
+
| 3.2628 | 17.4927 | 60000 | 0.3708 | 3.5542 |
|
| 116 |
+
| 3.2733 | 17.7843 | 61000 | 0.3716 | 3.5446 |
|
| 117 |
+
| 3.1962 | 18.0758 | 62000 | 0.3713 | 3.5552 |
|
| 118 |
+
| 3.2368 | 18.3674 | 63000 | 0.3713 | 3.5570 |
|
| 119 |
+
| 3.2627 | 18.6589 | 64000 | 0.3719 | 3.5456 |
|
| 120 |
+
| 3.2811 | 18.9505 | 65000 | 0.3722 | 3.5395 |
|
| 121 |
+
| 3.2051 | 19.2420 | 66000 | 0.3717 | 3.5561 |
|
| 122 |
+
| 3.2372 | 19.5336 | 67000 | 0.3720 | 3.5484 |
|
| 123 |
+
| 3.2646 | 19.8251 | 68000 | 0.3726 | 3.5410 |
|
| 124 |
+
| 3.1758 | 20.1166 | 69000 | 0.3721 | 3.5565 |
|
| 125 |
+
| 3.2262 | 20.4082 | 70000 | 0.3720 | 3.5522 |
|
| 126 |
+
| 3.2448 | 20.6997 | 71000 | 0.3727 | 3.5422 |
|
| 127 |
+
| 3.2535 | 20.9913 | 72000 | 0.3731 | 3.5363 |
|
| 128 |
+
| 3.2035 | 21.2828 | 73000 | 0.3719 | 3.5573 |
|
| 129 |
+
| 3.227 | 21.5744 | 74000 | 0.3725 | 3.5450 |
|
| 130 |
+
| 3.2327 | 21.8659 | 75000 | 0.3731 | 3.5384 |
|
| 131 |
+
| 3.1776 | 22.1574 | 76000 | 0.3723 | 3.5553 |
|
| 132 |
+
| 3.2118 | 22.4490 | 77000 | 0.3730 | 3.5483 |
|
| 133 |
+
| 3.2266 | 22.7406 | 78000 | 0.3730 | 3.5435 |
|
| 134 |
+
| 3.1331 | 23.0321 | 79000 | 0.3724 | 3.5540 |
|
| 135 |
+
| 3.1916 | 23.3236 | 80000 | 0.3729 | 3.5507 |
|
| 136 |
+
| 3.187 | 23.6152 | 81000 | 3.5549 | 0.3726 |
|
| 137 |
+
| 3.2057 | 23.9068 | 82000 | 3.5462 | 0.3730 |
|
| 138 |
+
| 3.1548 | 24.1986 | 83000 | 3.5578 | 0.3727 |
|
| 139 |
+
| 3.1716 | 24.4901 | 84000 | 3.5530 | 0.3727 |
|
| 140 |
+
| 3.2119 | 24.7817 | 85000 | 3.5454 | 0.3734 |
|
| 141 |
+
| 3.1349 | 25.0732 | 86000 | 3.5582 | 0.3726 |
|
| 142 |
+
| 3.1728 | 25.3647 | 87000 | 3.5531 | 0.3734 |
|
| 143 |
+
| 3.1959 | 25.6563 | 88000 | 3.5434 | 0.3732 |
|
| 144 |
+
| 3.2124 | 25.9479 | 89000 | 3.5389 | 0.3738 |
|
| 145 |
+
| 3.144 | 26.2394 | 90000 | 3.5542 | 0.3731 |
|
| 146 |
+
| 3.1763 | 26.5309 | 91000 | 3.5478 | 0.3733 |
|
| 147 |
+
| 3.1947 | 26.8225 | 92000 | 3.5423 | 0.3738 |
|
| 148 |
+
| 3.1318 | 27.1140 | 93000 | 3.5578 | 0.3730 |
|
| 149 |
+
| 3.1523 | 27.4056 | 94000 | 3.5547 | 0.3735 |
|
| 150 |
+
| 3.1788 | 27.6971 | 95000 | 3.5462 | 0.3738 |
|
| 151 |
+
| 3.1949 | 27.9887 | 96000 | 3.5371 | 0.3745 |
|
| 152 |
+
| 3.1268 | 28.2802 | 97000 | 3.5564 | 0.3731 |
|
| 153 |
+
| 3.1661 | 28.5718 | 98000 | 3.5473 | 0.3737 |
|
| 154 |
+
| 3.1665 | 28.8633 | 99000 | 3.5398 | 0.3741 |
|
| 155 |
+
| 3.1139 | 29.1548 | 100000 | 3.5575 | 0.3734 |
|
| 156 |
+
|
| 157 |
+
|
| 158 |
+
### Framework versions
|
| 159 |
+
|
| 160 |
+
- Transformers 4.55.2
|
| 161 |
+
- Pytorch 2.8.0+cu128
|
| 162 |
+
- Datasets 4.0.0
|
| 163 |
+
- Tokenizers 0.21.4
|
exp2b/swap_0.3_cost_to_drop_3591/all_results.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 29.154819523004257,
|
| 3 |
+
"eval_accuracy": 0.3685325063730653,
|
| 4 |
+
"eval_loss": 3.5627942085266113,
|
| 5 |
+
"eval_runtime": 80.853,
|
| 6 |
+
"eval_samples": 16613,
|
| 7 |
+
"eval_samples_per_second": 205.472,
|
| 8 |
+
"eval_steps_per_second": 12.85,
|
| 9 |
+
"perplexity": 35.26158784844721,
|
| 10 |
+
"total_flos": 2.090235919859712e+18,
|
| 11 |
+
"train_loss": 0.6341165426635742,
|
| 12 |
+
"train_runtime": 16222.486,
|
| 13 |
+
"train_samples": 274384,
|
| 14 |
+
"train_samples_per_second": 845.69,
|
| 15 |
+
"train_steps_per_second": 10.572
|
| 16 |
+
}
|
exp2b/swap_0.3_cost_to_drop_3591/config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_function": "gelu_new",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"GPT2LMHeadModel"
|
| 5 |
+
],
|
| 6 |
+
"attn_pdrop": 0.1,
|
| 7 |
+
"bos_token_id": 50256,
|
| 8 |
+
"embd_pdrop": 0.1,
|
| 9 |
+
"eos_token_id": 50256,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"layer_norm_epsilon": 1e-05,
|
| 12 |
+
"model_type": "gpt2",
|
| 13 |
+
"n_embd": 768,
|
| 14 |
+
"n_head": 12,
|
| 15 |
+
"n_inner": null,
|
| 16 |
+
"n_layer": 12,
|
| 17 |
+
"n_positions": 1024,
|
| 18 |
+
"reorder_and_upcast_attn": false,
|
| 19 |
+
"resid_pdrop": 0.1,
|
| 20 |
+
"scale_attn_by_inverse_layer_idx": false,
|
| 21 |
+
"scale_attn_weights": true,
|
| 22 |
+
"summary_activation": null,
|
| 23 |
+
"summary_first_dropout": 0.1,
|
| 24 |
+
"summary_proj_to_labels": true,
|
| 25 |
+
"summary_type": "cls_index",
|
| 26 |
+
"summary_use_proj": true,
|
| 27 |
+
"torch_dtype": "float32",
|
| 28 |
+
"transformers_version": "4.55.2",
|
| 29 |
+
"use_cache": true,
|
| 30 |
+
"vocab_size": 50257
|
| 31 |
+
}
|
exp2b/swap_0.3_cost_to_drop_3591/eval_results.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 29.154819523004257,
|
| 3 |
+
"eval_accuracy": 0.3685325063730653,
|
| 4 |
+
"eval_loss": 3.5627942085266113,
|
| 5 |
+
"eval_runtime": 80.853,
|
| 6 |
+
"eval_samples": 16613,
|
| 7 |
+
"eval_samples_per_second": 205.472,
|
| 8 |
+
"eval_steps_per_second": 12.85,
|
| 9 |
+
"perplexity": 35.26158784844721
|
| 10 |
+
}
|
exp2b/swap_0.3_cost_to_drop_3591/generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 50256,
|
| 4 |
+
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "4.55.2"
|
| 6 |
+
}
|
exp2b/swap_0.3_cost_to_drop_3591/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_3591/special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<|endoftext|>",
|
| 3 |
+
"eos_token": "<|endoftext|>",
|
| 4 |
+
"unk_token": "<|endoftext|>"
|
| 5 |
+
}
|
exp2b/swap_0.3_cost_to_drop_3591/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_3591/tokenizer_config.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"50256": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
"bos_token": "<|endoftext|>",
|
| 14 |
+
"clean_up_tokenization_spaces": false,
|
| 15 |
+
"eos_token": "<|endoftext|>",
|
| 16 |
+
"extra_special_tokens": {},
|
| 17 |
+
"model_max_length": 1024,
|
| 18 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 19 |
+
"unk_token": "<|endoftext|>"
|
| 20 |
+
}
|
exp2b/swap_0.3_cost_to_drop_3591/train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 29.154819523004257,
|
| 3 |
+
"total_flos": 2.090235919859712e+18,
|
| 4 |
+
"train_loss": 0.6341165426635742,
|
| 5 |
+
"train_runtime": 16222.486,
|
| 6 |
+
"train_samples": 274384,
|
| 7 |
+
"train_samples_per_second": 845.69,
|
| 8 |
+
"train_steps_per_second": 10.572
|
| 9 |
+
}
|
exp2b/swap_0.3_cost_to_drop_3591/trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_3591/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_40817/README.md
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
model-index:
|
| 8 |
+
- name: exceptions_exp2_swap_0.3_cost_to_drop_40817
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/craaaa/exceptions_exp2/runs/tevm949y)
|
| 16 |
+
# exceptions_exp2_swap_0.3_cost_to_drop_40817
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 3.5843
|
| 21 |
+
- Accuracy: 0.3658
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0006
|
| 41 |
+
- train_batch_size: 16
|
| 42 |
+
- eval_batch_size: 16
|
| 43 |
+
- seed: 40817
|
| 44 |
+
- gradient_accumulation_steps: 5
|
| 45 |
+
- total_train_batch_size: 80
|
| 46 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.98) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- lr_scheduler_warmup_steps: 100
|
| 49 |
+
- num_epochs: 50.0
|
| 50 |
+
- mixed_precision_training: Native AMP
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
+
|:-------------:|:-------:|:-----:|:---------------:|:--------:|
|
| 56 |
+
| 4.8253 | 0.2916 | 1000 | 4.7509 | 0.2547 |
|
| 57 |
+
| 4.3464 | 0.5831 | 2000 | 4.2883 | 0.2984 |
|
| 58 |
+
| 4.1463 | 0.8747 | 3000 | 4.1065 | 0.3143 |
|
| 59 |
+
| 4.0014 | 1.1662 | 4000 | 3.9989 | 0.3242 |
|
| 60 |
+
| 3.9414 | 1.4578 | 5000 | 3.9235 | 0.3304 |
|
| 61 |
+
| 3.8969 | 1.7493 | 6000 | 3.8642 | 0.3355 |
|
| 62 |
+
| 3.7561 | 2.0408 | 7000 | 3.8230 | 0.3403 |
|
| 63 |
+
| 3.7663 | 2.3324 | 8000 | 3.7936 | 0.3428 |
|
| 64 |
+
| 3.7423 | 2.6239 | 9000 | 3.7637 | 0.3461 |
|
| 65 |
+
| 3.7236 | 2.9155 | 10000 | 3.7368 | 0.3483 |
|
| 66 |
+
| 3.6389 | 3.2070 | 11000 | 3.7250 | 0.3501 |
|
| 67 |
+
| 3.6502 | 3.4986 | 12000 | 3.7054 | 0.3518 |
|
| 68 |
+
| 3.6544 | 3.7901 | 13000 | 3.6876 | 0.3536 |
|
| 69 |
+
| 3.5502 | 4.0816 | 14000 | 3.6809 | 0.3549 |
|
| 70 |
+
| 3.583 | 4.3732 | 15000 | 3.6712 | 0.3560 |
|
| 71 |
+
| 3.5796 | 4.6648 | 16000 | 3.6538 | 0.3572 |
|
| 72 |
+
| 3.581 | 4.9563 | 17000 | 3.6421 | 0.3586 |
|
| 73 |
+
| 3.5122 | 5.2478 | 18000 | 3.6446 | 0.3584 |
|
| 74 |
+
| 3.525 | 5.5394 | 19000 | 3.6348 | 0.3598 |
|
| 75 |
+
| 3.5368 | 5.8310 | 20000 | 3.6213 | 0.3606 |
|
| 76 |
+
| 3.4484 | 6.1225 | 21000 | 3.6261 | 0.3613 |
|
| 77 |
+
| 3.4845 | 6.4140 | 22000 | 3.6184 | 0.3622 |
|
| 78 |
+
| 3.4977 | 6.7056 | 23000 | 3.6091 | 0.3627 |
|
| 79 |
+
| 3.4924 | 6.9971 | 24000 | 3.6000 | 0.3634 |
|
| 80 |
+
| 3.4321 | 7.2886 | 25000 | 3.6098 | 0.3632 |
|
| 81 |
+
| 3.4541 | 7.5802 | 26000 | 3.5999 | 0.3639 |
|
| 82 |
+
| 3.4603 | 7.8718 | 27000 | 3.5904 | 0.3650 |
|
| 83 |
+
| 3.3916 | 8.1633 | 28000 | 3.5991 | 0.3646 |
|
| 84 |
+
| 3.4293 | 8.4548 | 29000 | 3.5937 | 0.3650 |
|
| 85 |
+
| 3.4353 | 8.7464 | 30000 | 3.5843 | 0.3658 |
|
| 86 |
+
| 3.3256 | 9.0379 | 31000 | 3.5890 | 0.3658 |
|
| 87 |
+
| 3.389 | 9.3295 | 32000 | 3.5875 | 0.3660 |
|
| 88 |
+
| 3.4145 | 9.6210 | 33000 | 3.5771 | 0.3668 |
|
| 89 |
+
| 3.4229 | 9.9126 | 34000 | 3.5694 | 0.3673 |
|
| 90 |
+
| 3.3505 | 10.2041 | 35000 | 3.5863 | 0.3668 |
|
| 91 |
+
| 3.3784 | 10.4957 | 36000 | 3.5753 | 0.3674 |
|
| 92 |
+
| 3.3983 | 10.7872 | 37000 | 3.5668 | 0.3682 |
|
| 93 |
+
| 3.3011 | 11.0787 | 38000 | 3.5799 | 0.3674 |
|
| 94 |
+
| 3.3479 | 11.3703 | 39000 | 3.5759 | 0.3679 |
|
| 95 |
+
| 3.3693 | 11.6618 | 40000 | 3.5683 | 0.3684 |
|
| 96 |
+
| 3.3889 | 11.9534 | 41000 | 3.5575 | 0.3695 |
|
| 97 |
+
| 3.3164 | 12.2449 | 42000 | 3.5740 | 0.3685 |
|
| 98 |
+
| 3.3456 | 12.5365 | 43000 | 3.5672 | 0.3688 |
|
| 99 |
+
| 3.3534 | 12.8280 | 44000 | 3.5567 | 0.3695 |
|
| 100 |
+
| 3.2725 | 13.1195 | 45000 | 3.5710 | 0.3689 |
|
| 101 |
+
| 3.3196 | 13.4111 | 46000 | 3.5633 | 0.3693 |
|
| 102 |
+
| 3.3422 | 13.7027 | 47000 | 3.5570 | 0.3702 |
|
| 103 |
+
| 3.3471 | 13.9942 | 48000 | 3.5477 | 0.3704 |
|
| 104 |
+
| 3.2938 | 14.2857 | 49000 | 3.5640 | 0.3698 |
|
| 105 |
+
| 3.319 | 14.5773 | 50000 | 3.5593 | 0.3703 |
|
| 106 |
+
| 3.3273 | 14.8689 | 51000 | 3.5482 | 0.3708 |
|
| 107 |
+
| 3.2519 | 15.1604 | 52000 | 3.5683 | 0.3700 |
|
| 108 |
+
| 3.2842 | 15.4519 | 53000 | 3.5604 | 0.3704 |
|
| 109 |
+
| 3.2954 | 15.7435 | 54000 | 3.5522 | 0.3707 |
|
| 110 |
+
| 3.2043 | 16.0350 | 55000 | 3.5648 | 0.3704 |
|
| 111 |
+
| 3.2567 | 16.3265 | 56000 | 3.5596 | 0.3707 |
|
| 112 |
+
| 3.292 | 16.6181 | 57000 | 3.5538 | 0.3712 |
|
| 113 |
+
| 3.3029 | 16.9097 | 58000 | 3.5476 | 0.3716 |
|
| 114 |
+
| 3.2451 | 17.2012 | 59000 | 3.5595 | 0.3707 |
|
| 115 |
+
| 3.2652 | 17.4927 | 60000 | 3.5539 | 0.3713 |
|
| 116 |
+
| 3.295 | 17.7843 | 61000 | 3.5509 | 0.3715 |
|
| 117 |
+
| 3.2147 | 18.0758 | 62000 | 3.5609 | 0.3713 |
|
| 118 |
+
| 3.245 | 18.3674 | 63000 | 3.5601 | 0.3711 |
|
| 119 |
+
| 3.2796 | 18.6589 | 64000 | 3.5508 | 0.3717 |
|
| 120 |
+
| 3.2952 | 18.9505 | 65000 | 3.5425 | 0.3721 |
|
| 121 |
+
| 3.216 | 19.2420 | 66000 | 3.5589 | 0.3716 |
|
| 122 |
+
| 3.2585 | 19.5336 | 67000 | 3.5516 | 0.3715 |
|
| 123 |
+
| 3.2594 | 19.8251 | 68000 | 3.5475 | 0.3721 |
|
| 124 |
+
| 3.1957 | 20.1166 | 69000 | 3.5620 | 0.3719 |
|
| 125 |
+
| 3.2145 | 20.4082 | 70000 | 3.5529 | 0.3721 |
|
| 126 |
+
| 3.2456 | 20.6997 | 71000 | 3.5489 | 0.3723 |
|
| 127 |
+
| 3.2628 | 20.9913 | 72000 | 3.5371 | 0.3730 |
|
| 128 |
+
| 3.1993 | 21.2828 | 73000 | 3.5585 | 0.3719 |
|
| 129 |
+
| 3.231 | 21.5744 | 74000 | 3.5494 | 0.3725 |
|
| 130 |
+
| 3.2477 | 21.8659 | 75000 | 3.5436 | 0.3729 |
|
| 131 |
+
| 3.1661 | 22.1574 | 76000 | 3.5601 | 0.3721 |
|
| 132 |
+
| 3.2189 | 22.4490 | 77000 | 3.5512 | 0.3726 |
|
| 133 |
+
| 3.2296 | 22.7406 | 78000 | 3.5443 | 0.3730 |
|
| 134 |
+
| 3.142 | 23.0321 | 79000 | 3.5527 | 0.3727 |
|
| 135 |
+
| 3.1853 | 23.3236 | 80000 | 3.5581 | 0.3724 |
|
| 136 |
+
| 3.2124 | 23.6152 | 81000 | 3.5495 | 0.3729 |
|
| 137 |
+
| 3.2265 | 23.9068 | 82000 | 3.5426 | 0.3734 |
|
| 138 |
+
| 3.1684 | 24.1983 | 83000 | 3.5639 | 0.3723 |
|
| 139 |
+
| 3.2058 | 24.4898 | 84000 | 3.5531 | 0.3729 |
|
| 140 |
+
| 3.1945 | 24.7814 | 85000 | 3.5442 | 0.3733 |
|
| 141 |
+
| 3.1343 | 25.0729 | 86000 | 3.5590 | 0.3727 |
|
| 142 |
+
| 3.1752 | 25.3645 | 87000 | 3.5542 | 0.3730 |
|
| 143 |
+
| 3.1882 | 25.6560 | 88000 | 3.5493 | 0.3734 |
|
| 144 |
+
| 3.2231 | 25.9476 | 89000 | 3.5403 | 0.3736 |
|
| 145 |
+
| 3.1648 | 26.2391 | 90000 | 3.5593 | 0.3726 |
|
| 146 |
+
| 3.1801 | 26.5306 | 91000 | 3.5525 | 0.3732 |
|
| 147 |
+
| 3.1926 | 26.8222 | 92000 | 3.5414 | 0.3738 |
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
### Framework versions
|
| 151 |
+
|
| 152 |
+
- Transformers 4.55.2
|
| 153 |
+
- Pytorch 2.8.0+cu128
|
| 154 |
+
- Datasets 4.0.0
|
| 155 |
+
- Tokenizers 0.21.4
|
exp2b/swap_0.3_cost_to_drop_40817/all_results.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 26.82220537640679,
|
| 3 |
+
"eval_accuracy": 0.365785736136897,
|
| 4 |
+
"eval_loss": 3.5843005180358887,
|
| 5 |
+
"eval_runtime": 84.2675,
|
| 6 |
+
"eval_samples": 16613,
|
| 7 |
+
"eval_samples_per_second": 197.146,
|
| 8 |
+
"eval_steps_per_second": 12.33,
|
| 9 |
+
"perplexity": 36.02814786333675,
|
| 10 |
+
"total_flos": 1.923000658034688e+18,
|
| 11 |
+
"train_loss": 3.419246922866158,
|
| 12 |
+
"train_runtime": 68665.402,
|
| 13 |
+
"train_samples": 274384,
|
| 14 |
+
"train_samples_per_second": 199.798,
|
| 15 |
+
"train_steps_per_second": 2.498
|
| 16 |
+
}
|
exp2b/swap_0.3_cost_to_drop_40817/config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_function": "gelu_new",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"GPT2LMHeadModel"
|
| 5 |
+
],
|
| 6 |
+
"attn_pdrop": 0.1,
|
| 7 |
+
"bos_token_id": 50256,
|
| 8 |
+
"embd_pdrop": 0.1,
|
| 9 |
+
"eos_token_id": 50256,
|
| 10 |
+
"initializer_range": 0.02,
|
| 11 |
+
"layer_norm_epsilon": 1e-05,
|
| 12 |
+
"model_type": "gpt2",
|
| 13 |
+
"n_embd": 768,
|
| 14 |
+
"n_head": 12,
|
| 15 |
+
"n_inner": null,
|
| 16 |
+
"n_layer": 12,
|
| 17 |
+
"n_positions": 1024,
|
| 18 |
+
"reorder_and_upcast_attn": false,
|
| 19 |
+
"resid_pdrop": 0.1,
|
| 20 |
+
"scale_attn_by_inverse_layer_idx": false,
|
| 21 |
+
"scale_attn_weights": true,
|
| 22 |
+
"summary_activation": null,
|
| 23 |
+
"summary_first_dropout": 0.1,
|
| 24 |
+
"summary_proj_to_labels": true,
|
| 25 |
+
"summary_type": "cls_index",
|
| 26 |
+
"summary_use_proj": true,
|
| 27 |
+
"torch_dtype": "float32",
|
| 28 |
+
"transformers_version": "4.55.2",
|
| 29 |
+
"use_cache": true,
|
| 30 |
+
"vocab_size": 50257
|
| 31 |
+
}
|
exp2b/swap_0.3_cost_to_drop_40817/eval_results.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 26.82220537640679,
|
| 3 |
+
"eval_accuracy": 0.365785736136897,
|
| 4 |
+
"eval_loss": 3.5843005180358887,
|
| 5 |
+
"eval_runtime": 84.2675,
|
| 6 |
+
"eval_samples": 16613,
|
| 7 |
+
"eval_samples_per_second": 197.146,
|
| 8 |
+
"eval_steps_per_second": 12.33,
|
| 9 |
+
"perplexity": 36.02814786333675
|
| 10 |
+
}
|
exp2b/swap_0.3_cost_to_drop_40817/generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 50256,
|
| 4 |
+
"eos_token_id": 50256,
|
| 5 |
+
"transformers_version": "4.55.2"
|
| 6 |
+
}
|
exp2b/swap_0.3_cost_to_drop_40817/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_40817/special_tokens_map.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<|endoftext|>",
|
| 3 |
+
"eos_token": "<|endoftext|>",
|
| 4 |
+
"unk_token": "<|endoftext|>"
|
| 5 |
+
}
|
exp2b/swap_0.3_cost_to_drop_40817/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_40817/tokenizer_config.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"50256": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": true,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
"bos_token": "<|endoftext|>",
|
| 14 |
+
"clean_up_tokenization_spaces": false,
|
| 15 |
+
"eos_token": "<|endoftext|>",
|
| 16 |
+
"extra_special_tokens": {},
|
| 17 |
+
"model_max_length": 1024,
|
| 18 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 19 |
+
"unk_token": "<|endoftext|>"
|
| 20 |
+
}
|
exp2b/swap_0.3_cost_to_drop_40817/train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 26.82220537640679,
|
| 3 |
+
"total_flos": 1.923000658034688e+18,
|
| 4 |
+
"train_loss": 3.419246922866158,
|
| 5 |
+
"train_runtime": 68665.402,
|
| 6 |
+
"train_samples": 274384,
|
| 7 |
+
"train_samples_per_second": 199.798,
|
| 8 |
+
"train_steps_per_second": 2.498
|
| 9 |
+
}
|
exp2b/swap_0.3_cost_to_drop_40817/trainer_state.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_40817/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
exp2b/swap_0.3_cost_to_drop_5039/README.md
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
model-index:
|
| 8 |
+
- name: exceptions_exp2_swap_0.3_cost_to_drop_5039
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/craaaa/exceptions_exp2/runs/gmmwslh6)
|
| 16 |
+
# exceptions_exp2_swap_0.3_cost_to_drop_5039
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
| 19 |
+
It achieves the following results on the evaluation set:
|
| 20 |
+
- Loss: 3.5648
|
| 21 |
+
- Accuracy: 0.3685
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0006
|
| 41 |
+
- train_batch_size: 16
|
| 42 |
+
- eval_batch_size: 16
|
| 43 |
+
- seed: 5039
|
| 44 |
+
- gradient_accumulation_steps: 5
|
| 45 |
+
- total_train_batch_size: 80
|
| 46 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.98) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
+
- lr_scheduler_type: linear
|
| 48 |
+
- lr_scheduler_warmup_steps: 100
|
| 49 |
+
- num_epochs: 50.0
|
| 50 |
+
- mixed_precision_training: Native AMP
|
| 51 |
+
|
| 52 |
+
### Training results
|
| 53 |
+
|
| 54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 55 |
+
|:-------------:|:-------:|:------:|:---------------:|:--------:|
|
| 56 |
+
| 4.8389 | 0.2916 | 1000 | 4.7840 | 0.2508 |
|
| 57 |
+
| 4.3668 | 0.5831 | 2000 | 4.2972 | 0.2979 |
|
| 58 |
+
| 4.1742 | 0.8747 | 3000 | 4.1106 | 0.3136 |
|
| 59 |
+
| 4.0092 | 1.1662 | 4000 | 4.0018 | 0.3235 |
|
| 60 |
+
| 3.9283 | 1.4578 | 5000 | 3.9267 | 0.3306 |
|
| 61 |
+
| 3.9025 | 1.7493 | 6000 | 3.8681 | 0.3360 |
|
| 62 |
+
| 3.7392 | 2.0408 | 7000 | 3.8234 | 0.3399 |
|
| 63 |
+
| 3.7636 | 2.3324 | 8000 | 3.7944 | 0.3429 |
|
| 64 |
+
| 3.729 | 2.6239 | 9000 | 3.7647 | 0.3459 |
|
| 65 |
+
| 3.7381 | 2.9155 | 10000 | 3.7375 | 0.3482 |
|
| 66 |
+
| 3.6516 | 3.2070 | 11000 | 3.7226 | 0.3504 |
|
| 67 |
+
| 3.6536 | 3.4986 | 12000 | 3.7043 | 0.3518 |
|
| 68 |
+
| 3.6419 | 3.7901 | 13000 | 3.6872 | 0.3537 |
|
| 69 |
+
| 3.5465 | 4.0816 | 14000 | 3.6797 | 0.3549 |
|
| 70 |
+
| 3.5873 | 4.3732 | 15000 | 3.6692 | 0.3563 |
|
| 71 |
+
| 3.5885 | 4.6648 | 16000 | 3.6552 | 0.3569 |
|
| 72 |
+
| 3.592 | 4.9563 | 17000 | 3.6410 | 0.3584 |
|
| 73 |
+
| 3.5235 | 5.2478 | 18000 | 3.6458 | 0.3588 |
|
| 74 |
+
| 3.5286 | 5.5394 | 19000 | 3.6334 | 0.3599 |
|
| 75 |
+
| 3.5339 | 5.8310 | 20000 | 3.6228 | 0.3610 |
|
| 76 |
+
| 3.4402 | 6.1225 | 21000 | 3.6266 | 0.3614 |
|
| 77 |
+
| 3.488 | 6.4140 | 22000 | 3.6171 | 0.3620 |
|
| 78 |
+
| 3.4822 | 6.7056 | 23000 | 3.6088 | 0.3626 |
|
| 79 |
+
| 3.5088 | 6.9971 | 24000 | 3.5973 | 0.3632 |
|
| 80 |
+
| 3.4569 | 7.2886 | 25000 | 3.6074 | 0.3634 |
|
| 81 |
+
| 3.4598 | 7.5802 | 26000 | 3.6001 | 0.3639 |
|
| 82 |
+
| 3.4805 | 7.8718 | 27000 | 3.5892 | 0.3647 |
|
| 83 |
+
| 3.391 | 8.1633 | 28000 | 3.5987 | 0.3648 |
|
| 84 |
+
| 3.4192 | 8.4548 | 29000 | 3.5941 | 0.3649 |
|
| 85 |
+
| 3.4553 | 8.7464 | 30000 | 3.5835 | 0.3656 |
|
| 86 |
+
| 3.3433 | 9.0379 | 31000 | 3.5879 | 0.3658 |
|
| 87 |
+
| 3.3777 | 9.3295 | 32000 | 3.5863 | 0.3660 |
|
| 88 |
+
| 3.4124 | 9.6210 | 33000 | 3.5779 | 0.3669 |
|
| 89 |
+
| 3.4163 | 9.9126 | 34000 | 3.5696 | 0.3671 |
|
| 90 |
+
| 3.3552 | 10.2041 | 35000 | 3.5840 | 0.3665 |
|
| 91 |
+
| 3.3787 | 10.4957 | 36000 | 3.5789 | 0.3674 |
|
| 92 |
+
| 3.3957 | 10.7872 | 37000 | 3.5704 | 0.3675 |
|
| 93 |
+
| 3.3018 | 11.0787 | 38000 | 3.5795 | 0.3677 |
|
| 94 |
+
| 3.3555 | 11.3703 | 39000 | 3.5742 | 0.3679 |
|
| 95 |
+
| 3.3832 | 11.6618 | 40000 | 3.5648 | 0.3685 |
|
| 96 |
+
| 3.3791 | 11.9534 | 41000 | 3.5585 | 0.3690 |
|
| 97 |
+
| 3.3167 | 12.2449 | 42000 | 3.5723 | 0.3683 |
|
| 98 |
+
| 3.3413 | 12.5365 | 43000 | 3.5661 | 0.3689 |
|
| 99 |
+
| 3.3628 | 12.8280 | 44000 | 3.5583 | 0.3694 |
|
| 100 |
+
| 3.2734 | 13.1195 | 45000 | 3.5724 | 0.3691 |
|
| 101 |
+
| 3.3231 | 13.4111 | 46000 | 3.5654 | 0.3693 |
|
| 102 |
+
| 3.3429 | 13.7027 | 47000 | 3.5575 | 0.3698 |
|
| 103 |
+
| 3.3593 | 13.9942 | 48000 | 3.5502 | 0.3706 |
|
| 104 |
+
| 3.2888 | 14.2857 | 49000 | 3.5649 | 0.3696 |
|
| 105 |
+
| 3.3147 | 14.5773 | 50000 | 3.5584 | 0.3701 |
|
| 106 |
+
| 3.3218 | 14.8689 | 51000 | 3.5499 | 0.3707 |
|
| 107 |
+
| 3.2606 | 15.1604 | 52000 | 3.5661 | 0.3699 |
|
| 108 |
+
| 3.2897 | 15.4519 | 53000 | 3.5600 | 0.3704 |
|
| 109 |
+
| 3.3127 | 15.7435 | 54000 | 3.5523 | 0.3707 |
|
| 110 |
+
| 3.2188 | 16.0350 | 55000 | 3.5637 | 0.3702 |
|
| 111 |
+
| 3.2612 | 16.3265 | 56000 | 3.5612 | 0.3705 |
|
| 112 |
+
| 3.2943 | 16.6181 | 57000 | 3.5506 | 0.3713 |
|
| 113 |
+
| 3.3085 | 16.9097 | 58000 | 3.5449 | 0.3714 |
|
| 114 |
+
| 3.2314 | 17.2012 | 59000 | 3.5642 | 0.3707 |
|
| 115 |
+
| 3.2629 | 17.4927 | 60000 | 3.5536 | 0.3713 |
|
| 116 |
+
| 3.2787 | 17.7843 | 61000 | 3.5458 | 0.3717 |
|
| 117 |
+
| 3.2018 | 18.0758 | 62000 | 3.5633 | 0.3710 |
|
| 118 |
+
| 3.2435 | 18.3674 | 63000 | 3.5584 | 0.3713 |
|
| 119 |
+
| 3.2724 | 18.6589 | 64000 | 3.5488 | 0.3718 |
|
| 120 |
+
| 3.284 | 18.9505 | 65000 | 3.5413 | 0.3723 |
|
| 121 |
+
| 3.2149 | 19.2420 | 66000 | 3.5605 | 0.3713 |
|
| 122 |
+
| 3.2538 | 19.5336 | 67000 | 3.5527 | 0.3717 |
|
| 123 |
+
| 3.2765 | 19.8251 | 68000 | 3.5437 | 0.3726 |
|
| 124 |
+
| 3.1922 | 20.1166 | 69000 | 3.5602 | 0.3712 |
|
| 125 |
+
| 3.2177 | 20.4082 | 70000 | 3.5591 | 0.3715 |
|
| 126 |
+
| 3.2451 | 20.6997 | 71000 | 3.5503 | 0.3720 |
|
| 127 |
+
| 3.2648 | 20.9913 | 72000 | 3.5401 | 0.3729 |
|
| 128 |
+
| 3.206 | 21.2828 | 73000 | 3.5584 | 0.3716 |
|
| 129 |
+
| 3.2347 | 21.5744 | 74000 | 3.5520 | 0.3721 |
|
| 130 |
+
| 3.2503 | 21.8659 | 75000 | 3.5425 | 0.3728 |
|
| 131 |
+
| 3.1884 | 22.1574 | 76000 | 3.5599 | 0.3720 |
|
| 132 |
+
| 3.201 | 22.4490 | 77000 | 3.5554 | 0.3722 |
|
| 133 |
+
| 3.2315 | 22.7406 | 78000 | 3.5435 | 0.3729 |
|
| 134 |
+
| 3.1297 | 23.0321 | 79000 | 3.5574 | 0.3722 |
|
| 135 |
+
| 3.181 | 23.3236 | 80000 | 3.5602 | 0.3721 |
|
| 136 |
+
| 3.2171 | 23.6152 | 81000 | 3.5474 | 0.3729 |
|
| 137 |
+
| 3.2329 | 23.9068 | 82000 | 3.5409 | 0.3731 |
|
| 138 |
+
| 3.1634 | 24.1983 | 83000 | 3.5631 | 0.3721 |
|
| 139 |
+
| 3.2056 | 24.4898 | 84000 | 3.5525 | 0.3726 |
|
| 140 |
+
| 3.2099 | 24.7814 | 85000 | 3.5461 | 0.3732 |
|
| 141 |
+
| 3.137 | 25.0729 | 86000 | 3.5613 | 0.3723 |
|
| 142 |
+
| 3.1779 | 25.3645 | 87000 | 3.5577 | 0.3723 |
|
| 143 |
+
| 3.1919 | 25.6560 | 88000 | 3.5501 | 0.3730 |
|
| 144 |
+
| 3.2131 | 25.9476 | 89000 | 3.5394 | 0.3736 |
|
| 145 |
+
| 3.1418 | 26.2391 | 90000 | 3.5594 | 0.3726 |
|
| 146 |
+
| 3.1775 | 26.5306 | 91000 | 3.5563 | 0.3727 |
|
| 147 |
+
| 3.1992 | 26.8222 | 92000 | 3.5488 | 0.3734 |
|
| 148 |
+
| 3.1247 | 27.1137 | 93000 | 3.5643 | 0.3725 |
|
| 149 |
+
| 3.1699 | 27.4053 | 94000 | 3.5572 | 0.3729 |
|
| 150 |
+
| 3.1893 | 27.6968 | 95000 | 3.5476 | 0.3734 |
|
| 151 |
+
| 3.1944 | 27.9884 | 96000 | 3.5439 | 0.3739 |
|
| 152 |
+
| 3.1462 | 28.2799 | 97000 | 3.5595 | 0.3729 |
|
| 153 |
+
| 3.1687 | 28.5715 | 98000 | 3.5537 | 0.3733 |
|
| 154 |
+
| 3.1761 | 28.8630 | 99000 | 3.5453 | 0.3738 |
|
| 155 |
+
| 3.1207 | 29.1545 | 100000 | 3.5631 | 0.3731 |
|
| 156 |
+
| 3.1545 | 29.4461 | 101000 | 3.5610 | 0.3732 |
|
| 157 |
+
| 3.1726 | 29.7377 | 102000 | 3.5489 | 0.3735 |
|
| 158 |
+
| 3.0964 | 30.0292 | 103000 | 3.5597 | 0.3731 |
|
| 159 |
+
| 3.1257 | 30.3207 | 104000 | 3.5614 | 0.3733 |
|
| 160 |
+
| 3.1518 | 30.6123 | 105000 | 3.5540 | 0.3735 |
|
| 161 |
+
| 3.1596 | 30.9038 | 106000 | 3.5481 | 0.3741 |
|
| 162 |
+
| 3.1093 | 31.1953 | 107000 | 3.5633 | 0.3731 |
|
| 163 |
+
| 3.131 | 31.4869 | 108000 | 3.5570 | 0.3737 |
|
| 164 |
+
| 3.1623 | 31.7785 | 109000 | 3.5498 | 0.3740 |
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
### Framework versions
|
| 168 |
+
|
| 169 |
+
- Transformers 4.55.2
|
| 170 |
+
- Pytorch 2.8.0+cu128
|
| 171 |
+
- Datasets 4.0.0
|
| 172 |
+
- Tokenizers 0.21.4
|
exp2b/swap_0.3_cost_to_drop_5039/all_results.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 31.77847104787451,
|
| 3 |
+
"eval_accuracy": 0.3685449927631946,
|
| 4 |
+
"eval_loss": 3.564793586730957,
|
| 5 |
+
"eval_runtime": 88.1112,
|
| 6 |
+
"eval_samples": 16613,
|
| 7 |
+
"eval_samples_per_second": 188.546,
|
| 8 |
+
"eval_steps_per_second": 11.792,
|
| 9 |
+
"perplexity": 35.33215962496863,
|
| 10 |
+
"total_flos": 2.278336918192128e+18,
|
| 11 |
+
"train_loss": 3.3781057582470253,
|
| 12 |
+
"train_runtime": 81761.4476,
|
| 13 |
+
"train_samples": 274384,
|
| 14 |
+
"train_samples_per_second": 167.795,
|
| 15 |
+
"train_steps_per_second": 2.098
|
| 16 |
+
}
|