khulnasoft commited on
Commit
157fe2e
·
verified ·
1 Parent(s): 19f01f7

Add files using upload-large-folder tool

Browse files
Files changed (2) hide show
  1. config.json +64 -0
  2. task_config.json +34 -0
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "bert",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "task_type": "token-classification",
7
+ "num_labels": 19,
8
+ "label2id": {
9
+ "O": 0,
10
+ "B-PER": 1,
11
+ "I-PER": 2,
12
+ "B-ORG": 3,
13
+ "I-ORG": 4,
14
+ "B-LOC": 5,
15
+ "I-LOC": 6,
16
+ "B-DATE": 7,
17
+ "I-DATE": 8,
18
+ "B-TIME": 9,
19
+ "I-TIME": 10,
20
+ "B-WORK": 11,
21
+ "I-WORK": 12,
22
+ "B-EVENT": 13,
23
+ "I-EVENT": 14,
24
+ "B-LANG": 15,
25
+ "I-LANG": 16,
26
+ "B-MISC": 17,
27
+ "I-MISC": 18
28
+ },
29
+ "id2label": {
30
+ "0": "O",
31
+ "1": "B-PER",
32
+ "2": "I-PER",
33
+ "3": "B-ORG",
34
+ "4": "I-ORG",
35
+ "5": "B-LOC",
36
+ "6": "I-LOC",
37
+ "7": "B-DATE",
38
+ "8": "I-DATE",
39
+ "9": "B-TIME",
40
+ "10": "I-TIME",
41
+ "11": "B-WORK",
42
+ "12": "I-WORK",
43
+ "13": "B-EVENT",
44
+ "14": "I-EVENT",
45
+ "15": "B-LANG",
46
+ "16": "I-LANG",
47
+ "17": "B-MISC",
48
+ "18": "I-MISC"
49
+ },
50
+ "hidden_size": 768,
51
+ "num_attention_heads": 12,
52
+ "num_hidden_layers": 12,
53
+ "intermediate_size": 3072,
54
+ "hidden_act": "gelu",
55
+ "hidden_dropout_prob": 0.1,
56
+ "attention_probs_dropout_prob": 0.1,
57
+ "max_position_embeddings": 512,
58
+ "vocab_size": 30522,
59
+ "type_vocab_size": 2,
60
+ "initializer_range": 0.02,
61
+ "layer_norm_eps": 1e-12,
62
+ "pad_token_id": 0,
63
+ "transformers_version": "4.57.6"
64
+ }
task_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_name": "named_entity_recognition",
3
+ "model_type": "token_classification",
4
+ "num_labels": 19,
5
+ "label_names": [
6
+ "O",
7
+ "B-PER",
8
+ "I-PER",
9
+ "B-ORG",
10
+ "I-ORG",
11
+ "B-LOC",
12
+ "I-LOC",
13
+ "B-DATE",
14
+ "I-DATE",
15
+ "B-TIME",
16
+ "I-TIME",
17
+ "B-WORK",
18
+ "I-WORK",
19
+ "B-EVENT",
20
+ "I-EVENT",
21
+ "B-LANG",
22
+ "I-LANG",
23
+ "B-MISC",
24
+ "I-MISC"
25
+ ],
26
+ "max_length": 256,
27
+ "training": {
28
+ "num_epochs": 20,
29
+ "batch_size": 16,
30
+ "learning_rate": 3e-5,
31
+ "warmup_ratio": 0.1,
32
+ "weight_decay": 0.01
33
+ }
34
+ }