Upload model
Browse files- config.json +107 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "models\\bt-coarse-fewnerd-1e-3-0\\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": "art",
|
33 |
+
"2": "building",
|
34 |
+
"3": "event",
|
35 |
+
"4": "location",
|
36 |
+
"5": "organization",
|
37 |
+
"6": "other",
|
38 |
+
"7": "person",
|
39 |
+
"8": "product"
|
40 |
+
},
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"intermediate_size": 512,
|
43 |
+
"is_decoder": false,
|
44 |
+
"is_encoder_decoder": false,
|
45 |
+
"label2id": {
|
46 |
+
"O": 0,
|
47 |
+
"art": 1,
|
48 |
+
"building": 2,
|
49 |
+
"event": 3,
|
50 |
+
"location": 4,
|
51 |
+
"organization": 5,
|
52 |
+
"other": 6,
|
53 |
+
"person": 7,
|
54 |
+
"product": 8
|
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 |
+
"marker_max_length": 256,
|
101 |
+
"model_max_length": null,
|
102 |
+
"model_max_length_default": 512,
|
103 |
+
"model_type": "span-marker",
|
104 |
+
"torch_dtype": "float32",
|
105 |
+
"transformers_version": "4.27.2",
|
106 |
+
"vocab_size": 30524
|
107 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aaa2b68d313a8ee4d876d5240a251073b5b8168ea04e6578de32aaf43d099c5c
|
3 |
+
size 17571375
|