End of training
Browse files- README.md +60 -0
- added_tokens.json +3 -0
- config.json +170 -0
- model.safetensors +3 -0
- runs/Oct28_11-20-21_8c3b0a1c799e/events.out.tfevents.1730115250.8c3b0a1c799e.966.0 +3 -0
- special_tokens_map.json +15 -0
- spm.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: microsoft/deberta-v3-small
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
model-index:
|
| 8 |
+
- name: my_DeBERTa_model
|
| 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 |
+
# my_DeBERTa_model
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [microsoft/deberta-v3-small](https://huggingface.co/microsoft/deberta-v3-small) on an unknown dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- eval_loss: 0.7012
|
| 20 |
+
- eval_model_preparation_time: 0.0087
|
| 21 |
+
- eval_accuracy: 0.4814
|
| 22 |
+
- eval_f1: 0.0747
|
| 23 |
+
- eval_precision: 0.0400
|
| 24 |
+
- eval_recall: 0.5741
|
| 25 |
+
- eval_runtime: 19.2911
|
| 26 |
+
- eval_samples_per_second: 55.777
|
| 27 |
+
- eval_steps_per_second: 18.61
|
| 28 |
+
- step: 0
|
| 29 |
+
|
| 30 |
+
## Model description
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Intended uses & limitations
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training and evaluation data
|
| 39 |
+
|
| 40 |
+
More information needed
|
| 41 |
+
|
| 42 |
+
## Training procedure
|
| 43 |
+
|
| 44 |
+
### Training hyperparameters
|
| 45 |
+
|
| 46 |
+
The following hyperparameters were used during training:
|
| 47 |
+
- learning_rate: 2e-05
|
| 48 |
+
- train_batch_size: 3
|
| 49 |
+
- eval_batch_size: 3
|
| 50 |
+
- seed: 42
|
| 51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 52 |
+
- lr_scheduler_type: linear
|
| 53 |
+
- num_epochs: 5
|
| 54 |
+
|
| 55 |
+
### Framework versions
|
| 56 |
+
|
| 57 |
+
- Transformers 4.44.2
|
| 58 |
+
- Pytorch 2.5.0+cu121
|
| 59 |
+
- Datasets 3.0.2
|
| 60 |
+
- Tokenizers 0.19.1
|
added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"[MASK]": 128000
|
| 3 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 8 |
+
"hidden_dropout_prob": 0.1,
|
| 9 |
+
"hidden_size": 768,
|
| 10 |
+
"id2label": {
|
| 11 |
+
"0": "Rebar",
|
| 12 |
+
"1": "CRS",
|
| 13 |
+
"2": "Raw Mat",
|
| 14 |
+
"3": "Mining",
|
| 15 |
+
"4": "Tinplate",
|
| 16 |
+
"5": "Merchant Bar",
|
| 17 |
+
"6": "Opinion",
|
| 18 |
+
"7": "Wire Rod",
|
| 19 |
+
"8": "Scrap",
|
| 20 |
+
"9": "Steel Dynamics",
|
| 21 |
+
"10": "Steelmaking",
|
| 22 |
+
"11": "Decarbonization",
|
| 23 |
+
"12": "Conferences",
|
| 24 |
+
"13": "Iron Ore",
|
| 25 |
+
"14": "labor dispute",
|
| 26 |
+
"15": "Manufacturing",
|
| 27 |
+
"16": "World",
|
| 28 |
+
"17": "HRS",
|
| 29 |
+
"18": "Galva Metal",
|
| 30 |
+
"19": "Hollow section",
|
| 31 |
+
"20": "Alloys",
|
| 32 |
+
"21": "Trading",
|
| 33 |
+
"22": "Distribution",
|
| 34 |
+
"23": "Production",
|
| 35 |
+
"24": "Slab",
|
| 36 |
+
"25": "Imp/exp Statistics",
|
| 37 |
+
"26": "Semis",
|
| 38 |
+
"27": "Steel Futures",
|
| 39 |
+
"28": "Automotive",
|
| 40 |
+
"29": "Sail",
|
| 41 |
+
"30": "Quotas & Duties",
|
| 42 |
+
"31": "Longs",
|
| 43 |
+
"32": "Hrc",
|
| 44 |
+
"33": "Plate",
|
| 45 |
+
"34": "Shipbuilding",
|
| 46 |
+
"35": "Galvanized",
|
| 47 |
+
"36": "M&A",
|
| 48 |
+
"37": "Stainless",
|
| 49 |
+
"38": "Construction",
|
| 50 |
+
"39": "Beams",
|
| 51 |
+
"40": "Economics",
|
| 52 |
+
"41": "Baosteel ",
|
| 53 |
+
"42": "Coking Coal",
|
| 54 |
+
"43": "Billet",
|
| 55 |
+
"44": "research",
|
| 56 |
+
"45": "Investments",
|
| 57 |
+
"46": "Pig Iron",
|
| 58 |
+
"47": "Tubing",
|
| 59 |
+
"48": "Flats",
|
| 60 |
+
"49": "Crude Steel",
|
| 61 |
+
"50": "Consumption",
|
| 62 |
+
"51": "Economia",
|
| 63 |
+
"52": "Fabrication",
|
| 64 |
+
"53": "Crc",
|
| 65 |
+
"54": "Met Coke",
|
| 66 |
+
"55": "Pellet",
|
| 67 |
+
"56": "Wire ",
|
| 68 |
+
"57": "Manganese Ore",
|
| 69 |
+
"58": "Stainless ",
|
| 70 |
+
"59": "Freight",
|
| 71 |
+
"60": "Fitch Ratings",
|
| 72 |
+
"61": "Fin. Reports",
|
| 73 |
+
"62": "Coated",
|
| 74 |
+
"63": "Tubular",
|
| 75 |
+
"64": "Pipe"
|
| 76 |
+
},
|
| 77 |
+
"initializer_range": 0.02,
|
| 78 |
+
"intermediate_size": 3072,
|
| 79 |
+
"label2id": {
|
| 80 |
+
"Alloys": 20,
|
| 81 |
+
"Automotive": 28,
|
| 82 |
+
"Baosteel ": 41,
|
| 83 |
+
"Beams": 39,
|
| 84 |
+
"Billet": 43,
|
| 85 |
+
"CRS": 1,
|
| 86 |
+
"Coated": 62,
|
| 87 |
+
"Coking Coal": 42,
|
| 88 |
+
"Conferences": 12,
|
| 89 |
+
"Construction": 38,
|
| 90 |
+
"Consumption": 50,
|
| 91 |
+
"Crc": 53,
|
| 92 |
+
"Crude Steel": 49,
|
| 93 |
+
"Decarbonization": 11,
|
| 94 |
+
"Distribution": 22,
|
| 95 |
+
"Economia": 51,
|
| 96 |
+
"Economics": 40,
|
| 97 |
+
"Fabrication": 52,
|
| 98 |
+
"Fin. Reports": 61,
|
| 99 |
+
"Fitch Ratings": 60,
|
| 100 |
+
"Flats": 48,
|
| 101 |
+
"Freight": 59,
|
| 102 |
+
"Galva Metal": 18,
|
| 103 |
+
"Galvanized": 35,
|
| 104 |
+
"HRS": 17,
|
| 105 |
+
"Hollow section": 19,
|
| 106 |
+
"Hrc": 32,
|
| 107 |
+
"Imp/exp Statistics": 25,
|
| 108 |
+
"Investments": 45,
|
| 109 |
+
"Iron Ore": 13,
|
| 110 |
+
"Longs": 31,
|
| 111 |
+
"M&A": 36,
|
| 112 |
+
"Manganese Ore": 57,
|
| 113 |
+
"Manufacturing": 15,
|
| 114 |
+
"Merchant Bar": 5,
|
| 115 |
+
"Met Coke": 54,
|
| 116 |
+
"Mining": 3,
|
| 117 |
+
"Opinion": 6,
|
| 118 |
+
"Pellet": 55,
|
| 119 |
+
"Pig Iron": 46,
|
| 120 |
+
"Pipe": 64,
|
| 121 |
+
"Plate": 33,
|
| 122 |
+
"Production": 23,
|
| 123 |
+
"Quotas & Duties": 30,
|
| 124 |
+
"Raw Mat": 2,
|
| 125 |
+
"Rebar": 0,
|
| 126 |
+
"Sail": 29,
|
| 127 |
+
"Scrap": 8,
|
| 128 |
+
"Semis": 26,
|
| 129 |
+
"Shipbuilding": 34,
|
| 130 |
+
"Slab": 24,
|
| 131 |
+
"Stainless": 37,
|
| 132 |
+
"Stainless ": 58,
|
| 133 |
+
"Steel Dynamics": 9,
|
| 134 |
+
"Steel Futures": 27,
|
| 135 |
+
"Steelmaking": 10,
|
| 136 |
+
"Tinplate": 4,
|
| 137 |
+
"Trading": 21,
|
| 138 |
+
"Tubing": 47,
|
| 139 |
+
"Tubular": 63,
|
| 140 |
+
"Wire ": 56,
|
| 141 |
+
"Wire Rod": 7,
|
| 142 |
+
"World": 16,
|
| 143 |
+
"labor dispute": 14,
|
| 144 |
+
"research": 44
|
| 145 |
+
},
|
| 146 |
+
"layer_norm_eps": 1e-07,
|
| 147 |
+
"max_position_embeddings": 512,
|
| 148 |
+
"max_relative_positions": -1,
|
| 149 |
+
"model_type": "deberta-v2",
|
| 150 |
+
"norm_rel_ebd": "layer_norm",
|
| 151 |
+
"num_attention_heads": 12,
|
| 152 |
+
"num_hidden_layers": 6,
|
| 153 |
+
"pad_token_id": 0,
|
| 154 |
+
"pooler_dropout": 0,
|
| 155 |
+
"pooler_hidden_act": "gelu",
|
| 156 |
+
"pooler_hidden_size": 768,
|
| 157 |
+
"pos_att_type": [
|
| 158 |
+
"p2c",
|
| 159 |
+
"c2p"
|
| 160 |
+
],
|
| 161 |
+
"position_biased_input": false,
|
| 162 |
+
"position_buckets": 256,
|
| 163 |
+
"problem_type": "multi_label_classification",
|
| 164 |
+
"relative_attention": true,
|
| 165 |
+
"share_att_key": true,
|
| 166 |
+
"torch_dtype": "float32",
|
| 167 |
+
"transformers_version": "4.44.2",
|
| 168 |
+
"type_vocab_size": 0,
|
| 169 |
+
"vocab_size": 128100
|
| 170 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1640d22730aeeadfdeee66a255d8e2c7b3ab7fd215c40a194713cbe7ad38e300
|
| 3 |
+
size 567792356
|
runs/Oct28_11-20-21_8c3b0a1c799e/events.out.tfevents.1730115250.8c3b0a1c799e.966.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99d2172999aaedf0a7bea6b60a5713c809d0bbcd89deb901a6d04bf3171b41b5
|
| 3 |
+
size 549
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "[CLS]",
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"eos_token": "[SEP]",
|
| 5 |
+
"mask_token": "[MASK]",
|
| 6 |
+
"pad_token": "[PAD]",
|
| 7 |
+
"sep_token": "[SEP]",
|
| 8 |
+
"unk_token": {
|
| 9 |
+
"content": "[UNK]",
|
| 10 |
+
"lstrip": false,
|
| 11 |
+
"normalized": true,
|
| 12 |
+
"rstrip": false,
|
| 13 |
+
"single_word": false
|
| 14 |
+
}
|
| 15 |
+
}
|
spm.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
|
| 3 |
+
size 2464616
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "[CLS]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "[SEP]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "[UNK]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": true,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"128000": {
|
| 36 |
+
"content": "[MASK]",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"bos_token": "[CLS]",
|
| 45 |
+
"clean_up_tokenization_spaces": true,
|
| 46 |
+
"cls_token": "[CLS]",
|
| 47 |
+
"do_lower_case": false,
|
| 48 |
+
"eos_token": "[SEP]",
|
| 49 |
+
"mask_token": "[MASK]",
|
| 50 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 51 |
+
"pad_token": "[PAD]",
|
| 52 |
+
"sep_token": "[SEP]",
|
| 53 |
+
"sp_model_kwargs": {},
|
| 54 |
+
"split_by_punct": false,
|
| 55 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
| 56 |
+
"unk_token": "[UNK]",
|
| 57 |
+
"vocab_type": "spm"
|
| 58 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc70365dbdb6ad9637ab20acd4c514f38c5dd2a143572b405b869fa45cb1d770
|
| 3 |
+
size 5176
|