Besrour commited on
Commit
749fc04
1 Parent(s): ff699b8

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +91 -0
  2. model.safetensors +3 -0
  3. training_args.bin +3 -0
config.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "S-NUM\u00c9RO FACTURE",
16
+ "1": "E-PAGE NUMBER",
17
+ "2": "S-SOCIETE",
18
+ "3": "B-CLIENT",
19
+ "4": "I-NUM\u00c9RO FACTURE",
20
+ "5": "S-INVOICEDATE",
21
+ "6": "O",
22
+ "7": "E-TOTALAMOUNT",
23
+ "8": "I-INVOICEDATE",
24
+ "9": "E-TVA",
25
+ "10": "I-SOCIETE",
26
+ "11": "I-TVA",
27
+ "12": "B-NUM\u00c9RO FACTURE",
28
+ "13": "I-CLIENT",
29
+ "14": "I-PAGE NUMBER",
30
+ "15": "B-INVOICEDATE",
31
+ "16": "S-TVA",
32
+ "17": "B-SOCIETE",
33
+ "18": "S-TOTALAMOUNT",
34
+ "19": "I-TOTALAMOUNT",
35
+ "20": "E-CLIENT",
36
+ "21": "B-PAGE NUMBER",
37
+ "22": "E-NUM\u00c9RO FACTURE",
38
+ "23": "S-CLIENT",
39
+ "24": "E-SOCIETE",
40
+ "25": "S-DEVISE",
41
+ "26": "B-TOTALAMOUNT",
42
+ "27": "E-INVOICEDATE",
43
+ "28": "B-TVA"
44
+ },
45
+ "initializer_range": 0.02,
46
+ "intermediate_size": 3072,
47
+ "label2id": {
48
+ "B-CLIENT": 3,
49
+ "B-INVOICEDATE": 15,
50
+ "B-NUM\u00c9RO FACTURE": 12,
51
+ "B-PAGE NUMBER": 21,
52
+ "B-SOCIETE": 17,
53
+ "B-TOTALAMOUNT": 26,
54
+ "B-TVA": 28,
55
+ "E-CLIENT": 20,
56
+ "E-INVOICEDATE": 27,
57
+ "E-NUM\u00c9RO FACTURE": 22,
58
+ "E-PAGE NUMBER": 1,
59
+ "E-SOCIETE": 24,
60
+ "E-TOTALAMOUNT": 7,
61
+ "E-TVA": 9,
62
+ "I-CLIENT": 13,
63
+ "I-INVOICEDATE": 8,
64
+ "I-NUM\u00c9RO FACTURE": 4,
65
+ "I-PAGE NUMBER": 14,
66
+ "I-SOCIETE": 10,
67
+ "I-TOTALAMOUNT": 19,
68
+ "I-TVA": 11,
69
+ "O": 6,
70
+ "S-CLIENT": 23,
71
+ "S-DEVISE": 25,
72
+ "S-INVOICEDATE": 5,
73
+ "S-NUM\u00c9RO FACTURE": 0,
74
+ "S-SOCIETE": 2,
75
+ "S-TOTALAMOUNT": 18,
76
+ "S-TVA": 16
77
+ },
78
+ "layer_norm_eps": 1e-05,
79
+ "max_2d_position_embeddings": 1024,
80
+ "max_position_embeddings": 514,
81
+ "model_type": "lilt",
82
+ "num_attention_heads": 12,
83
+ "num_hidden_layers": 12,
84
+ "pad_token_id": 1,
85
+ "position_embedding_type": "absolute",
86
+ "torch_dtype": "float32",
87
+ "transformers_version": "4.39.0",
88
+ "type_vocab_size": 1,
89
+ "use_cache": true,
90
+ "vocab_size": 50265
91
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f336f29380d15711a0812677eee571b5427868f3d12855a91c4a92e8b2ff0564
3
+ size 520795236
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8bfbd55fb025e5f4ea981840226c973481f876875275c5c615ef44c023fc937
3
+ size 4920