Upload model
Browse files- config.json +132 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "models\\bt-conll-5\\checkpoint-final",
|
3 |
+
"architectures": [
|
4 |
+
"SpanMarkerModel"
|
5 |
+
],
|
6 |
+
"encoder": {
|
7 |
+
"_name_or_path": "prajjwal1/bert-tiny",
|
8 |
+
"add_cross_attention": false,
|
9 |
+
"architectures": null,
|
10 |
+
"attention_probs_dropout_prob": 0.1,
|
11 |
+
"bad_words_ids": null,
|
12 |
+
"begin_suppress_tokens": null,
|
13 |
+
"bos_token_id": null,
|
14 |
+
"chunk_size_feed_forward": 0,
|
15 |
+
"classifier_dropout": null,
|
16 |
+
"cross_attention_hidden_size": null,
|
17 |
+
"decoder_start_token_id": null,
|
18 |
+
"diversity_penalty": 0.0,
|
19 |
+
"do_sample": false,
|
20 |
+
"early_stopping": false,
|
21 |
+
"encoder_no_repeat_ngram_size": 0,
|
22 |
+
"eos_token_id": null,
|
23 |
+
"exponential_decay_length_penalty": null,
|
24 |
+
"finetuning_task": null,
|
25 |
+
"forced_bos_token_id": null,
|
26 |
+
"forced_eos_token_id": null,
|
27 |
+
"hidden_act": "gelu",
|
28 |
+
"hidden_dropout_prob": 0.1,
|
29 |
+
"hidden_size": 128,
|
30 |
+
"id2label": {
|
31 |
+
"0": "O",
|
32 |
+
"1": "B-PER",
|
33 |
+
"2": "I-PER",
|
34 |
+
"3": "B-ORG",
|
35 |
+
"4": "I-ORG",
|
36 |
+
"5": "B-LOC",
|
37 |
+
"6": "I-LOC",
|
38 |
+
"7": "B-MISC",
|
39 |
+
"8": "I-MISC"
|
40 |
+
},
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"intermediate_size": 512,
|
43 |
+
"is_decoder": false,
|
44 |
+
"is_encoder_decoder": false,
|
45 |
+
"label2id": {
|
46 |
+
"B-LOC": 5,
|
47 |
+
"B-MISC": 7,
|
48 |
+
"B-ORG": 3,
|
49 |
+
"B-PER": 1,
|
50 |
+
"I-LOC": 6,
|
51 |
+
"I-MISC": 8,
|
52 |
+
"I-ORG": 4,
|
53 |
+
"I-PER": 2,
|
54 |
+
"O": 0
|
55 |
+
},
|
56 |
+
"layer_norm_eps": 1e-12,
|
57 |
+
"length_penalty": 1.0,
|
58 |
+
"max_length": 20,
|
59 |
+
"max_position_embeddings": 512,
|
60 |
+
"min_length": 0,
|
61 |
+
"model_type": "bert",
|
62 |
+
"no_repeat_ngram_size": 0,
|
63 |
+
"num_attention_heads": 2,
|
64 |
+
"num_beam_groups": 1,
|
65 |
+
"num_beams": 1,
|
66 |
+
"num_hidden_layers": 2,
|
67 |
+
"num_return_sequences": 1,
|
68 |
+
"output_attentions": false,
|
69 |
+
"output_hidden_states": false,
|
70 |
+
"output_scores": false,
|
71 |
+
"pad_token_id": 0,
|
72 |
+
"position_embedding_type": "absolute",
|
73 |
+
"prefix": null,
|
74 |
+
"problem_type": null,
|
75 |
+
"pruned_heads": {},
|
76 |
+
"remove_invalid_values": false,
|
77 |
+
"repetition_penalty": 1.0,
|
78 |
+
"return_dict": true,
|
79 |
+
"return_dict_in_generate": false,
|
80 |
+
"sep_token_id": null,
|
81 |
+
"suppress_tokens": null,
|
82 |
+
"task_specific_params": null,
|
83 |
+
"temperature": 1.0,
|
84 |
+
"tf_legacy_loss": false,
|
85 |
+
"tie_encoder_decoder": false,
|
86 |
+
"tie_word_embeddings": true,
|
87 |
+
"tokenizer_class": null,
|
88 |
+
"top_k": 50,
|
89 |
+
"top_p": 1.0,
|
90 |
+
"torch_dtype": null,
|
91 |
+
"torchscript": false,
|
92 |
+
"transformers_version": "4.27.2",
|
93 |
+
"type_vocab_size": 2,
|
94 |
+
"typical_p": 1.0,
|
95 |
+
"use_bfloat16": false,
|
96 |
+
"use_cache": true,
|
97 |
+
"vocab_size": 30524
|
98 |
+
},
|
99 |
+
"entity_max_length": 16,
|
100 |
+
"id2label": {
|
101 |
+
"0": "O",
|
102 |
+
"1": "LOC",
|
103 |
+
"2": "MISC",
|
104 |
+
"3": "ORG",
|
105 |
+
"4": "PER"
|
106 |
+
},
|
107 |
+
"id2reduced_id": {
|
108 |
+
"0": 0,
|
109 |
+
"1": 4,
|
110 |
+
"2": 4,
|
111 |
+
"3": 3,
|
112 |
+
"4": 3,
|
113 |
+
"5": 1,
|
114 |
+
"6": 1,
|
115 |
+
"7": 2,
|
116 |
+
"8": 2
|
117 |
+
},
|
118 |
+
"label2id": {
|
119 |
+
"LOC": 1,
|
120 |
+
"MISC": 2,
|
121 |
+
"O": 0,
|
122 |
+
"ORG": 3,
|
123 |
+
"PER": 4
|
124 |
+
},
|
125 |
+
"marker_max_length": 256,
|
126 |
+
"model_max_length": null,
|
127 |
+
"model_max_length_default": 512,
|
128 |
+
"model_type": "span-marker",
|
129 |
+
"torch_dtype": "float32",
|
130 |
+
"transformers_version": "4.27.2",
|
131 |
+
"vocab_size": 30524
|
132 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:217dcde95ab73c6fd2f420aef483162e552947b65ef33af93801745e9885ed9e
|
3 |
+
size 17567279
|