Upload config.json with huggingface_hub
Browse files- config.json +99 -0
config.json
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "SCUT-DLVCLab/lilt-roberta-en-base",
|
3 |
+
"architectures": [
|
4 |
+
"LiltForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"channel_shrink_ratio": 4,
|
9 |
+
"classifier_dropout": null,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "I-CLIENT",
|
16 |
+
"1": "I-SOCIETE",
|
17 |
+
"2": "S-DEVISE",
|
18 |
+
"3": "S-TOTALAMOUNT",
|
19 |
+
"4": "I-PAGE NUMBER",
|
20 |
+
"5": "S-TVA",
|
21 |
+
"6": "B-CLIENT",
|
22 |
+
"7": "B-NUM\u00c9RO FACTURE",
|
23 |
+
"8": "B-PAGE NUMBER",
|
24 |
+
"9": "I-TOTALHT",
|
25 |
+
"10": "E-NUM\u00c9RO FACTURE",
|
26 |
+
"11": "I-NUM\u00c9RO FACTURE",
|
27 |
+
"12": "B-TOTALHT",
|
28 |
+
"13": "B-TVA",
|
29 |
+
"14": "B-INVOICEDATE",
|
30 |
+
"15": "E-TOTALAMOUNT",
|
31 |
+
"16": "E-INVOICEDATE",
|
32 |
+
"17": "O",
|
33 |
+
"18": "B-SOCIETE",
|
34 |
+
"19": "E-TVA",
|
35 |
+
"20": "E-SOCIETE",
|
36 |
+
"21": "B-TOTALAMOUNT",
|
37 |
+
"22": "S-NUM\u00c9RO FACTURE",
|
38 |
+
"23": "S-CLIENT",
|
39 |
+
"24": "I-TOTALAMOUNT",
|
40 |
+
"25": "E-TOTALHT",
|
41 |
+
"26": "S-SOCIETE",
|
42 |
+
"27": "S-TOTALHT",
|
43 |
+
"28": "S-INVOICEDATE",
|
44 |
+
"29": "E-PAGE NUMBER",
|
45 |
+
"30": "E-CLIENT",
|
46 |
+
"31": "I-INVOICEDATE",
|
47 |
+
"32": "I-TVA"
|
48 |
+
},
|
49 |
+
"initializer_range": 0.02,
|
50 |
+
"intermediate_size": 3072,
|
51 |
+
"label2id": {
|
52 |
+
"B-CLIENT": 6,
|
53 |
+
"B-INVOICEDATE": 14,
|
54 |
+
"B-NUM\u00c9RO FACTURE": 7,
|
55 |
+
"B-PAGE NUMBER": 8,
|
56 |
+
"B-SOCIETE": 18,
|
57 |
+
"B-TOTALAMOUNT": 21,
|
58 |
+
"B-TOTALHT": 12,
|
59 |
+
"B-TVA": 13,
|
60 |
+
"E-CLIENT": 30,
|
61 |
+
"E-INVOICEDATE": 16,
|
62 |
+
"E-NUM\u00c9RO FACTURE": 10,
|
63 |
+
"E-PAGE NUMBER": 29,
|
64 |
+
"E-SOCIETE": 20,
|
65 |
+
"E-TOTALAMOUNT": 15,
|
66 |
+
"E-TOTALHT": 25,
|
67 |
+
"E-TVA": 19,
|
68 |
+
"I-CLIENT": 0,
|
69 |
+
"I-INVOICEDATE": 31,
|
70 |
+
"I-NUM\u00c9RO FACTURE": 11,
|
71 |
+
"I-PAGE NUMBER": 4,
|
72 |
+
"I-SOCIETE": 1,
|
73 |
+
"I-TOTALAMOUNT": 24,
|
74 |
+
"I-TOTALHT": 9,
|
75 |
+
"I-TVA": 32,
|
76 |
+
"O": 17,
|
77 |
+
"S-CLIENT": 23,
|
78 |
+
"S-DEVISE": 2,
|
79 |
+
"S-INVOICEDATE": 28,
|
80 |
+
"S-NUM\u00c9RO FACTURE": 22,
|
81 |
+
"S-SOCIETE": 26,
|
82 |
+
"S-TOTALAMOUNT": 3,
|
83 |
+
"S-TOTALHT": 27,
|
84 |
+
"S-TVA": 5
|
85 |
+
},
|
86 |
+
"layer_norm_eps": 1e-05,
|
87 |
+
"max_2d_position_embeddings": 1024,
|
88 |
+
"max_position_embeddings": 514,
|
89 |
+
"model_type": "lilt",
|
90 |
+
"num_attention_heads": 12,
|
91 |
+
"num_hidden_layers": 12,
|
92 |
+
"pad_token_id": 1,
|
93 |
+
"position_embedding_type": "absolute",
|
94 |
+
"torch_dtype": "float32",
|
95 |
+
"transformers_version": "4.39.0",
|
96 |
+
"type_vocab_size": 1,
|
97 |
+
"use_cache": true,
|
98 |
+
"vocab_size": 50265
|
99 |
+
}
|