Commit
46f55ed
·
verified ·
1 Parent(s): b8237ba

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +57 -1
config.json CHANGED
@@ -1 +1,57 @@
1
- {"model_type": "demo", "architecture": "toy-model"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 9,
3
+ "add_cross_attention": false,
4
+ "architectures": [
5
+ "BertModel"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": null,
9
+ "classifier_dropout": null,
10
+ "directionality": "bidi",
11
+ "dtype": "float32",
12
+ "eos_token_id": null,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 2,
16
+ "id2label": {
17
+ "0": "O",
18
+ "1": "B-MISC",
19
+ "2": "I-MISC",
20
+ "3": "B-PER",
21
+ "4": "I-PER",
22
+ "5": "B-ORG",
23
+ "6": "I-ORG",
24
+ "7": "B-LOC",
25
+ "8": "I-LOC"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 4,
29
+ "is_decoder": false,
30
+ "label2id": {
31
+ "B-LOC": 7,
32
+ "B-MISC": 1,
33
+ "B-ORG": 5,
34
+ "B-PER": 3,
35
+ "I-LOC": 8,
36
+ "I-MISC": 2,
37
+ "I-ORG": 6,
38
+ "I-PER": 4,
39
+ "O": 0
40
+ },
41
+ "layer_norm_eps": 1e-12,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "bert",
44
+ "num_attention_heads": 2,
45
+ "num_hidden_layers": 2,
46
+ "pad_token_id": 0,
47
+ "pooler_fc_size": 768,
48
+ "pooler_num_attention_heads": 12,
49
+ "pooler_num_fc_layers": 3,
50
+ "pooler_size_per_head": 128,
51
+ "pooler_type": "first_token_transform",
52
+ "tie_word_embeddings": true,
53
+ "transformers_version": "5.3.0",
54
+ "type_vocab_size": 2,
55
+ "use_cache": true,
56
+ "vocab_size": 28996
57
+ }