File size: 1,583 Bytes
eae091e
66c29b3
eae091e
66c29b3
eae091e
 
dc7ddd9
eae091e
 
 
 
 
dc7ddd9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
eae091e
 
 
 
dc7ddd9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
eae091e
 
 
 
 
 
 
 
dc7ddd9
 
 
eae091e
dc7ddd9
eae091e
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
  "_name_or_path": "/home/mohamed/Downloads/ar-ner.model/ar-ner.model",
  "architectures": [
    "BertForTokenClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "classifier_dropout": null,
  "gradient_checkpointing": false,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "id2label": {
    "0": "O",
    "1": "B-PERSON",
    "2": "I-PERSON",
    "3": "B-ORGANIZATION",
    "4": "I-ORGANIZATION",
    "5": "B-LOCATION",
    "6": "I-LOCATION",
    "7": "B-PRODUCT",
    "8": "I-PRODUCT",
    "9": "B-EVENT",
    "10": "I-EVENT",
    "11": "B-DATE",
    "12": "I-DATE",
    "13": "B-COMPETITION",
    "14": "I-COMPETITION",
    "15": "B-PRICE",
    "16": "I-PRICE",
    "17": "B-DISEASE",
    "18": "I-DISEASE"
  },
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "label2id": {
    "B-COMPETITION": 13,
    "B-DATE": 11,
    "B-DISEASE": 17,
    "B-EVENT": 9,
    "B-LOCATION": 5,
    "B-ORGANIZATION": 3,
    "B-PERSON": 1,
    "B-PRICE": 15,
    "B-PRODUCT": 7,
    "I-COMPETITION": 14,
    "I-DATE": 12,
    "I-DISEASE": 18,
    "I-EVENT": 10,
    "I-LOCATION": 6,
    "I-ORGANIZATION": 4,
    "I-PERSON": 2,
    "I-PRICE": 16,
    "I-PRODUCT": 8,
    "O": 0
  },
  "layer_norm_eps": 1e-12,
  "max_position_embeddings": 512,
  "model_type": "bert",
  "num_attention_heads": 12,
  "num_hidden_layers": 12,
  "output_past": true,
  "pad_token_id": 0,
  "position_embedding_type": "absolute",
  "torch_dtype": "float32",
  "transformers_version": "4.19.0.dev0",
  "type_vocab_size": 2,
  "use_cache": true,
  "vocab_size": 32000
}