graval commited on
Commit
2ed2122
·
verified ·
1 Parent(s): 16f232e

Fix: Replace LSA v1 with genuine DeBERTa-v3 Small checkpoint (config.json)

Browse files
models/v1_temscon/edgeshield_lsa/config.json CHANGED
@@ -1,35 +1,48 @@
1
- {
2
- "_name_or_path": "distilbert-base-uncased",
3
- "activation": "gelu",
4
- "architectures": [
5
- "DistilBertForSequenceClassification"
6
- ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
11
- "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2"
15
- },
16
- "initializer_range": 0.02,
17
- "label2id": {
18
- "LABEL_0": 0,
19
- "LABEL_1": 1,
20
- "LABEL_2": 2
21
- },
22
- "max_position_embeddings": 512,
23
- "model_type": "distilbert",
24
- "n_heads": 12,
25
- "n_layers": 6,
26
- "pad_token_id": 0,
27
- "problem_type": "single_label_classification",
28
- "qa_dropout": 0.1,
29
- "seq_classif_dropout": 0.2,
30
- "sinusoidal_pos_embds": false,
31
- "tie_weights_": true,
32
- "torch_dtype": "float32",
33
- "transformers_version": "4.46.3",
34
- "vocab_size": 30522
35
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DebertaV2ForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": null,
7
+ "dtype": "float32",
8
+ "eos_token_id": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "Normal",
14
+ "1": "EoRS",
15
+ "2": "EoHT"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "EoHT": 2,
21
+ "EoRS": 1,
22
+ "Normal": 0
23
+ },
24
+ "layer_norm_eps": 1e-07,
25
+ "legacy": true,
26
+ "max_position_embeddings": 512,
27
+ "max_relative_positions": -1,
28
+ "model_type": "deberta-v2",
29
+ "norm_rel_ebd": "layer_norm",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 6,
32
+ "pad_token_id": 0,
33
+ "pooler_dropout": 0.0,
34
+ "pooler_hidden_act": "gelu",
35
+ "pooler_hidden_size": 768,
36
+ "pos_att_type": [
37
+ "p2c",
38
+ "c2p"
39
+ ],
40
+ "position_biased_input": false,
41
+ "position_buckets": 256,
42
+ "relative_attention": true,
43
+ "share_att_key": true,
44
+ "tie_word_embeddings": true,
45
+ "transformers_version": "5.20.2",
46
+ "type_vocab_size": 0,
47
+ "vocab_size": 128100
48
+ }