Harry2166 commited on
Commit
5004319
·
verified ·
1 Parent(s): 12bf1c9

feat: upload new fine-tuned bert model with lowest validation loss (so far)

Browse files
config.json CHANGED
@@ -1,37 +1,35 @@
1
  {
2
- "_name_or_path": "google-bert/bert-base-uncased",
 
3
  "architectures": [
4
- "BertForSequenceClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "gradient_checkpointing": false,
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
12
  "id2label": {
13
  "0": "LABEL_0",
14
  "1": "LABEL_1",
15
  "2": "LABEL_2"
16
  },
17
  "initializer_range": 0.02,
18
- "intermediate_size": 3072,
19
  "label2id": {
20
  "LABEL_0": 0,
21
  "LABEL_1": 1,
22
  "LABEL_2": 2
23
  },
24
- "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
26
- "model_type": "bert",
27
- "num_attention_heads": 12,
28
- "num_hidden_layers": 12,
29
  "pad_token_id": 0,
30
- "position_embedding_type": "absolute",
31
  "problem_type": "single_label_classification",
 
 
 
 
32
  "torch_dtype": "float32",
33
  "transformers_version": "4.38.0",
34
- "type_vocab_size": 2,
35
- "use_cache": true,
36
  "vocab_size": 30522
37
  }
 
1
  {
2
+ "_name_or_path": "./results/optuna/best_model",
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.38.0",
 
 
34
  "vocab_size": 30522
35
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cace0fe730f8fafdc14f5b3686686cd9f1a10777005ef061a2e632f76330d4cc
3
- size 437961724
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88b46e6a3b14afdce7bc32c8e1d1645cae3016fb2099a6ea60209efc71e88b48
3
+ size 267835644
special_tokens_map.json CHANGED
@@ -1,7 +1,37 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
  }
tokenizer_config.json CHANGED
@@ -50,6 +50,6 @@
50
  "sep_token": "[SEP]",
51
  "strip_accents": null,
52
  "tokenize_chinese_chars": true,
53
- "tokenizer_class": "BertTokenizer",
54
  "unk_token": "[UNK]"
55
  }
 
50
  "sep_token": "[SEP]",
51
  "strip_accents": null,
52
  "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
  "unk_token": "[UNK]"
55
  }