eyaHarbaoui
commited on
Commit
•
87e3905
1
Parent(s):
f9754cb
Upload MarkupLMForTokenClassification
Browse files- config.json +52 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/markuplm-base",
|
3 |
+
"architectures": [
|
4 |
+
"MarkupLMForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "title",
|
16 |
+
"1": "author",
|
17 |
+
"2": "date",
|
18 |
+
"3": "body",
|
19 |
+
"4": "topic",
|
20 |
+
"5": "source",
|
21 |
+
"6": "other"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"author": 1,
|
27 |
+
"body": 3,
|
28 |
+
"date": 2,
|
29 |
+
"other": 6,
|
30 |
+
"source": 5,
|
31 |
+
"title": 0,
|
32 |
+
"topic": 4
|
33 |
+
},
|
34 |
+
"layer_norm_eps": 1e-05,
|
35 |
+
"max_depth": 50,
|
36 |
+
"max_position_embeddings": 514,
|
37 |
+
"max_xpath_subs_unit_embeddings": 1024,
|
38 |
+
"max_xpath_tag_unit_embeddings": 256,
|
39 |
+
"model_type": "markuplm",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_hidden_layers": 12,
|
42 |
+
"pad_token_id": 1,
|
43 |
+
"position_embedding_type": "absolute",
|
44 |
+
"subs_pad_id": 1001,
|
45 |
+
"tag_pad_id": 216,
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.29.0.dev0",
|
48 |
+
"type_vocab_size": 1,
|
49 |
+
"use_cache": true,
|
50 |
+
"vocab_size": 50267,
|
51 |
+
"xpath_unit_hidden_size": 32
|
52 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b706d05e5c7eba474e3917a08eab7ec0b1487f1751ff65b20c1eadb9798b569d
|
3 |
+
size 538583445
|