ramybaly commited on
Commit
6548d2d
1 Parent(s): 6d07f84
README.md CHANGED
@@ -22,7 +22,7 @@ model_index:
22
  metric:
23
  name: Accuracy
24
  type: accuracy
25
- value: 0.907666728485449
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -32,10 +32,10 @@ should probably proofread and complete it, then remove this comment. -->
32
 
33
  This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the nerd dataset.
34
  It achieves the following results on the evaluation set:
35
- - Loss: 0.3754
36
- - Precision: 0.6353
37
- - Recall: 0.6808
38
- - F1: 0.6573
39
  - Accuracy: 0.9077
40
 
41
  ## Model description
@@ -68,11 +68,11 @@ The following hyperparameters were used during training:
68
 
69
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
70
  |:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
71
- | 0.5486 | 1.0 | 8235 | 0.3279 | 0.6152 | 0.6643 | 0.6388 | 0.9034 |
72
- | 0.286 | 2.0 | 16470 | 0.3147 | 0.6392 | 0.6702 | 0.6543 | 0.9076 |
73
- | 0.2186 | 3.0 | 24705 | 0.3301 | 0.6402 | 0.6804 | 0.6597 | 0.9085 |
74
- | 0.1662 | 4.0 | 32940 | 0.3450 | 0.6369 | 0.6818 | 0.6586 | 0.9081 |
75
- | 0.1291 | 5.0 | 41175 | 0.3718 | 0.6398 | 0.6833 | 0.6608 | 0.9081 |
76
 
77
 
78
  ### Framework versions
 
22
  metric:
23
  name: Accuracy
24
  type: accuracy
25
+ value: 0.9077183979155076
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
32
 
33
  This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the nerd dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.3494
36
+ - Precision: 0.6327
37
+ - Recall: 0.6793
38
+ - F1: 0.6551
39
  - Accuracy: 0.9077
40
 
41
  ## Model description
 
68
 
69
  | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
70
  |:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
71
+ | 0.548 | 1.0 | 8235 | 0.3281 | 0.6101 | 0.6630 | 0.6355 | 0.9029 |
72
+ | 0.2857 | 2.0 | 16470 | 0.3139 | 0.6355 | 0.6706 | 0.6526 | 0.9073 |
73
+ | 0.2183 | 3.0 | 24705 | 0.3294 | 0.6374 | 0.6788 | 0.6575 | 0.9082 |
74
+ | 0.1658 | 4.0 | 32940 | 0.3440 | 0.6366 | 0.6815 | 0.6583 | 0.9087 |
75
+ | 0.1286 | 5.0 | 41175 | 0.3702 | 0.6364 | 0.6812 | 0.6580 | 0.9081 |
76
 
77
 
78
  ### Framework versions
config.json CHANGED
@@ -10,142 +10,142 @@
10
  "hidden_size": 768,
11
  "id2label": {
12
  "0": "O",
13
- "1": "I-ART-broadcastprogram",
14
- "2": "I-ART-film",
15
- "3": "I-ART-music",
16
- "4": "I-ART-other",
17
- "5": "I-ART-painting",
18
- "6": "I-ART-writtenart",
19
- "7": "I-BUILDING-airport",
20
- "8": "I-BUILDING-hospital",
21
- "9": "I-BUILDING-hotel",
22
- "10": "I-BUILDING-library",
23
- "11": "I-BUILDING-other",
24
- "12": "I-BUILDING-restaurant",
25
- "13": "I-BUILDING-sportsfacility",
26
- "14": "I-BUILDING-theater",
27
- "15": "I-EVENT-attack/battle/war/militaryconflict",
28
- "16": "I-EVENT-disaster",
29
- "17": "I-EVENT-election",
30
- "18": "I-EVENT-other",
31
- "19": "I-EVENT-protest",
32
- "20": "I-EVENT-sportsevent",
33
- "21": "I-LOC-GPE",
34
- "22": "I-LOC-bodiesofwater",
35
- "23": "I-LOC-island",
36
- "24": "I-LOC-mountain",
37
- "25": "I-LOC-other",
38
- "26": "I-LOC-park",
39
- "27": "I-LOC-road/railway/highway/transit",
40
- "28": "I-ORG-company",
41
- "29": "I-ORG-education",
42
- "30": "I-ORG-government/governmentagency",
43
- "31": "I-ORG-media/newspaper",
44
- "32": "I-ORG-other",
45
- "33": "I-ORG-politicalparty",
46
- "34": "I-ORG-religion",
47
- "35": "I-ORG-showorganization",
48
- "36": "I-ORG-sportsleague",
49
- "37": "I-ORG-sportsteam",
50
- "38": "I-MISC-astronomything",
51
- "39": "I-MISC-award",
52
- "40": "I-MISC-biologything",
53
- "41": "I-MISC-chemicalthing",
54
- "42": "I-MISC-currency",
55
- "43": "I-MISC-disease",
56
- "44": "I-MISC-educationaldegree",
57
- "45": "I-MISC-god",
58
- "46": "I-MISC-language",
59
- "47": "I-MISC-law",
60
- "48": "I-MISC-livingthing",
61
- "49": "I-MISC-medical",
62
- "50": "I-PER-actor",
63
- "51": "I-PER-artist/author",
64
- "52": "I-PER-athlete",
65
- "53": "I-PER-director",
66
- "54": "I-PER-other",
67
- "55": "I-PER-politician",
68
- "56": "I-PER-scholar",
69
- "57": "I-PER-soldier",
70
- "58": "I-PRODUCT-airplane",
71
- "59": "I-PRODUCT-car",
72
- "60": "I-PRODUCT-food",
73
- "61": "I-PRODUCT-game",
74
- "62": "I-PRODUCT-other",
75
- "63": "I-PRODUCT-ship",
76
- "64": "I-PRODUCT-software",
77
- "65": "I-PRODUCT-train",
78
- "66": "I-PRODUCT-weapon"
79
  },
80
  "initializer_range": 0.02,
81
  "intermediate_size": 3072,
82
  "label2id": {
83
- "I-ART-broadcastprogram": 1,
84
- "I-ART-film": 2,
85
- "I-ART-music": 3,
86
- "I-ART-other": 4,
87
- "I-ART-painting": 5,
88
- "I-ART-writtenart": 6,
89
- "I-BUILDING-airport": 7,
90
- "I-BUILDING-hospital": 8,
91
- "I-BUILDING-hotel": 9,
92
- "I-BUILDING-library": 10,
93
- "I-BUILDING-other": 11,
94
- "I-BUILDING-restaurant": 12,
95
- "I-BUILDING-sportsfacility": 13,
96
- "I-BUILDING-theater": 14,
97
- "I-EVENT-attack/battle/war/militaryconflict": 15,
98
- "I-EVENT-disaster": 16,
99
- "I-EVENT-election": 17,
100
- "I-EVENT-other": 18,
101
- "I-EVENT-protest": 19,
102
- "I-EVENT-sportsevent": 20,
103
- "I-LOC-GPE": 21,
104
- "I-LOC-bodiesofwater": 22,
105
- "I-LOC-island": 23,
106
- "I-LOC-mountain": 24,
107
- "I-LOC-other": 25,
108
- "I-LOC-park": 26,
109
- "I-LOC-road/railway/highway/transit": 27,
110
- "I-MISC-astronomything": 38,
111
- "I-MISC-award": 39,
112
- "I-MISC-biologything": 40,
113
- "I-MISC-chemicalthing": 41,
114
- "I-MISC-currency": 42,
115
- "I-MISC-disease": 43,
116
- "I-MISC-educationaldegree": 44,
117
- "I-MISC-god": 45,
118
- "I-MISC-language": 46,
119
- "I-MISC-law": 47,
120
- "I-MISC-livingthing": 48,
121
- "I-MISC-medical": 49,
122
- "I-ORG-company": 28,
123
- "I-ORG-education": 29,
124
- "I-ORG-government/governmentagency": 30,
125
- "I-ORG-media/newspaper": 31,
126
- "I-ORG-other": 32,
127
- "I-ORG-politicalparty": 33,
128
- "I-ORG-religion": 34,
129
- "I-ORG-showorganization": 35,
130
- "I-ORG-sportsleague": 36,
131
- "I-ORG-sportsteam": 37,
132
- "I-PER-actor": 50,
133
- "I-PER-artist/author": 51,
134
- "I-PER-athlete": 52,
135
- "I-PER-director": 53,
136
- "I-PER-other": 54,
137
- "I-PER-politician": 55,
138
- "I-PER-scholar": 56,
139
- "I-PER-soldier": 57,
140
- "I-PRODUCT-airplane": 58,
141
- "I-PRODUCT-car": 59,
142
- "I-PRODUCT-food": 60,
143
- "I-PRODUCT-game": 61,
144
- "I-PRODUCT-other": 62,
145
- "I-PRODUCT-ship": 63,
146
- "I-PRODUCT-software": 64,
147
- "I-PRODUCT-train": 65,
148
- "I-PRODUCT-weapon": 66,
149
  "O": 0
150
  },
151
  "layer_norm_eps": 1e-12,
 
10
  "hidden_size": 768,
11
  "id2label": {
12
  "0": "O",
13
+ "1": "I-ART_broadcastprogram",
14
+ "2": "I-ART_film",
15
+ "3": "I-ART_music",
16
+ "4": "I-ART_other",
17
+ "5": "I-ART_painting",
18
+ "6": "I-ART_writtenart",
19
+ "7": "I-BUILDING_airport",
20
+ "8": "I-BUILDING_hospital",
21
+ "9": "I-BUILDING_hotel",
22
+ "10": "I-BUILDING_library",
23
+ "11": "I-BUILDING_other",
24
+ "12": "I-BUILDING_restaurant",
25
+ "13": "I-BUILDING_sportsfacility",
26
+ "14": "I-BUILDING_theater",
27
+ "15": "I-EVENT_attack/battle/war/militaryconflict",
28
+ "16": "I-EVENT_disaster",
29
+ "17": "I-EVENT_election",
30
+ "18": "I-EVENT_other",
31
+ "19": "I-EVENT_protest",
32
+ "20": "I-EVENT_sportsevent",
33
+ "21": "I-LOC_GPE",
34
+ "22": "I-LOC_bodiesofwater",
35
+ "23": "I-LOC_island",
36
+ "24": "I-LOC_mountain",
37
+ "25": "I-LOC_other",
38
+ "26": "I-LOC_park",
39
+ "27": "I-LOC_road/railway/highway/transit",
40
+ "28": "I-ORG_company",
41
+ "29": "I-ORG_education",
42
+ "30": "I-ORG_government/governmentagency",
43
+ "31": "I-ORG_media/newspaper",
44
+ "32": "I-ORG_other",
45
+ "33": "I-ORG_politicalparty",
46
+ "34": "I-ORG_religion",
47
+ "35": "I-ORG_showorganization",
48
+ "36": "I-ORG_sportsleague",
49
+ "37": "I-ORG_sportsteam",
50
+ "38": "I-MISC_astronomything",
51
+ "39": "I-MISC_award",
52
+ "40": "I-MISC_biologything",
53
+ "41": "I-MISC_chemicalthing",
54
+ "42": "I-MISC_currency",
55
+ "43": "I-MISC_disease",
56
+ "44": "I-MISC_educationaldegree",
57
+ "45": "I-MISC_god",
58
+ "46": "I-MISC_language",
59
+ "47": "I-MISC_law",
60
+ "48": "I-MISC_livingthing",
61
+ "49": "I-MISC_medical",
62
+ "50": "I-PER_actor",
63
+ "51": "I-PER_artist/author",
64
+ "52": "I-PER_athlete",
65
+ "53": "I-PER_director",
66
+ "54": "I-PER_other",
67
+ "55": "I-PER_politician",
68
+ "56": "I-PER_scholar",
69
+ "57": "I-PER_soldier",
70
+ "58": "I-PRODUCT_airplane",
71
+ "59": "I-PRODUCT_car",
72
+ "60": "I-PRODUCT_food",
73
+ "61": "I-PRODUCT_game",
74
+ "62": "I-PRODUCT_other",
75
+ "63": "I-PRODUCT_ship",
76
+ "64": "I-PRODUCT_software",
77
+ "65": "I-PRODUCT_train",
78
+ "66": "I-PRODUCT_weapon"
79
  },
80
  "initializer_range": 0.02,
81
  "intermediate_size": 3072,
82
  "label2id": {
83
+ "I-ART_broadcastprogram": 1,
84
+ "I-ART_film": 2,
85
+ "I-ART_music": 3,
86
+ "I-ART_other": 4,
87
+ "I-ART_painting": 5,
88
+ "I-ART_writtenart": 6,
89
+ "I-BUILDING_airport": 7,
90
+ "I-BUILDING_hospital": 8,
91
+ "I-BUILDING_hotel": 9,
92
+ "I-BUILDING_library": 10,
93
+ "I-BUILDING_other": 11,
94
+ "I-BUILDING_restaurant": 12,
95
+ "I-BUILDING_sportsfacility": 13,
96
+ "I-BUILDING_theater": 14,
97
+ "I-EVENT_attack/battle/war/militaryconflict": 15,
98
+ "I-EVENT_disaster": 16,
99
+ "I-EVENT_election": 17,
100
+ "I-EVENT_other": 18,
101
+ "I-EVENT_protest": 19,
102
+ "I-EVENT_sportsevent": 20,
103
+ "I-LOC_GPE": 21,
104
+ "I-LOC_bodiesofwater": 22,
105
+ "I-LOC_island": 23,
106
+ "I-LOC_mountain": 24,
107
+ "I-LOC_other": 25,
108
+ "I-LOC_park": 26,
109
+ "I-LOC_road/railway/highway/transit": 27,
110
+ "I-MISC_astronomything": 38,
111
+ "I-MISC_award": 39,
112
+ "I-MISC_biologything": 40,
113
+ "I-MISC_chemicalthing": 41,
114
+ "I-MISC_currency": 42,
115
+ "I-MISC_disease": 43,
116
+ "I-MISC_educationaldegree": 44,
117
+ "I-MISC_god": 45,
118
+ "I-MISC_language": 46,
119
+ "I-MISC_law": 47,
120
+ "I-MISC_livingthing": 48,
121
+ "I-MISC_medical": 49,
122
+ "I-ORG_company": 28,
123
+ "I-ORG_education": 29,
124
+ "I-ORG_government/governmentagency": 30,
125
+ "I-ORG_media/newspaper": 31,
126
+ "I-ORG_other": 32,
127
+ "I-ORG_politicalparty": 33,
128
+ "I-ORG_religion": 34,
129
+ "I-ORG_showorganization": 35,
130
+ "I-ORG_sportsleague": 36,
131
+ "I-ORG_sportsteam": 37,
132
+ "I-PER_actor": 50,
133
+ "I-PER_artist/author": 51,
134
+ "I-PER_athlete": 52,
135
+ "I-PER_director": 53,
136
+ "I-PER_other": 54,
137
+ "I-PER_politician": 55,
138
+ "I-PER_scholar": 56,
139
+ "I-PER_soldier": 57,
140
+ "I-PRODUCT_airplane": 58,
141
+ "I-PRODUCT_car": 59,
142
+ "I-PRODUCT_food": 60,
143
+ "I-PRODUCT_game": 61,
144
+ "I-PRODUCT_other": 62,
145
+ "I-PRODUCT_ship": 63,
146
+ "I-PRODUCT_software": 64,
147
+ "I-PRODUCT_train": 65,
148
+ "I-PRODUCT_weapon": 66,
149
  "O": 0
150
  },
151
  "layer_norm_eps": 1e-12,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:43a614c0c6661455ee3d3c32b116229343fbd5cb0cbd2d4f5788a6911f9b26c5
3
  size 435856113
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7e1fb89e872f1b83b3ee55a8331886fba95e58028d77b577c5b2e35942ad9e6
3
  size 435856113
runs/Aug07_04-41-34_ip-172-31-23-147/1628311305.4245002/events.out.tfevents.1628311305.ip-172-31-23-147.28209.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a5572187280085fde2256726bab84b72ab30e0eb36d9fa0bc1ce50b3097f166
3
+ size 4215
runs/Aug07_04-41-34_ip-172-31-23-147/events.out.tfevents.1628311305.ip-172-31-23-147.28209.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c758b9db8abd525c3f1fc5dd1d4509e93c38208bfb03be70e297f97092402d3a
3
+ size 10429
runs/Aug07_04-41-34_ip-172-31-23-147/events.out.tfevents.1628315891.ip-172-31-23-147.28209.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3aec1f731a541ceeb9a802e47ffb91039f600ce294c0e834e2a91f6ac016210b
3
+ size 521
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2ac04fdef66105a39ad34870b24f4f33e177844b76833594869fd5afd1c02e96
3
- size 2607
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79a96e3eabd792bcaca29f3964fe0a8962e93e51606658cfd9c8181e9ea503b0
3
+ size 2671